alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java EE 6 example source code file (build.xml)

This example Java EE 6 source code file (build.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Java EE 6 tags/keywords

all, copyright, inc, inc, microsystems, microsystems, sun, sun, utf-8, utf-8

The Java EE 6 build.xml source code

<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.-->

<project name="glassfish-samples" default="all" basedir=".">
    <description>Builds, tests, and packages the project glassfish-samples.

    <path id="samples-list">
        <filelist dir="connectors/apps/mailconnector/mailconnector-ear" files="build.xml"/>
        <filelist dir="connectors/apps/mailconnector/mailconnector-ra" files="build.xml"/>
        <filelist dir="ejb/automatic-timer" files="build.xml"/>
        <filelist dir="ejb/ejb31-embedded" files="build.xml"/>
        <filelist dir="ejb/ejb31-war" files="build.xml"/>
        <filelist dir="ejb/hello-stateless-ejb" files="build.xml"/>
        <filelist dir="jpa/advancedMapping" files="build.xml"/>
        <filelist dir="jpa/locking" files="build.xml"/>
        <filelist dir="rest/message-board-war" files="build.xml"/>
        <filelist dir="security/http-method-omission" files="build.xml"/>
        <filelist dir="security/programmatic-login" files="build.xml"/>
        <filelist dir="security/web-security-annotation" files="build.xml"/>
        <filelist dir="web/jsf/basic-ajax" files="build.xml"/>
        <filelist dir="web/container/customvalve-war" files="build.xml"/>
        <filelist dir="web/jsf/basic-ezcomp" files="build.xml"/>
        <filelist dir="web/jsf/scrumtoys" files="build.xml"/>
        <filelist dir="web/servlet/absolute-ordering-web-fragments-war" files="build.xml"/>
        <filelist dir="web/servlet/annotation-war" files="build.xml"/>
        <filelist dir="web/servlet/async-request-war" files="build.xml"/>
        <filelist dir="web/servlet/dynamicregistration-war" files="build.xml"/>
        <filelist dir="web/servlet/jsp-resource-in-bundled-jar-war" files="build.xml"/>
        <filelist dir="web/servlet/multipart-war" files="build.xml"/>
        <filelist dir="web/servlet/servletcontainerinitializer-war" files="build.xml"/>
        <filelist dir="web/servlet/sessioncookieconfig-war" files="build.xml"/>
        <filelist dir="webbeans/webbeans-guess" files="build.xml"/>
        <filelist dir="webbeans/webbeans-servlet" files="build.xml"/>
        <filelist dir="webservices/hello-jaxws2.2" files="build.xml"/>
        <filelist dir="webservices/hello-singleton-ejb" files="build.xml"/>
        <filelist dir="webservices/hello-webserviceref" files="build.xml"/>
    </path>

    <macrodef name="iterate">
        <attribute name="target"/>
        <sequential>
            <subant target="@{target}" failonerror="false">
                <buildpath refid="samples-list"/>
            </subant>
        </sequential>
    </macrodef>

    <target name="all" depends="clean"
        description="iterates thru all the sample applications to compile, package and run">
        <iterate target="all"/>
    </target>

    <target name="clean"
        description="cleans workspace by removing temporary directories like dist">
        <iterate target="clean"/>
    </target>

    <target name="-pre-setup">
        <iterate target="-pre-setup"/>
    </target>

    <target name="-post-unsetup">
        <iterate target="-post-unsetup"/>
    </target>

</project>

Other Java EE 6 examples (source code examples)

Here is a short list of links related to this Java EE 6 build.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.