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, microsystems, microsystems, nb, nb, sun, sun, utf-8, utf-8

The Java EE 6 build.xml source code

<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.-->
<project name="hello-webserviceref" default="all" basedir=".">
    <property name="is.war.module" value="true"/>
    <property name="javadoc.packagenames" value="endpoint"/>
    <import file="../../../bp-project/main.xml"/>

    <target name="all" depends="default,run"/>

    <!-- to get the test client to run when the user runs the project from inside NB -->
    <target name="-post-run-deploy">
        <subant target="run" verbose="true">
            <fileset dir="hello-webserviceref-appclient" includes="build.xml"/>
            <fileset dir="hello-webserviceref-webclient" includes="build.xml"/>
        </subant>
    </target>

    <!-- to get the test client to run when the user runs the project from ant -->
    <target name="launch">
        <subant target="run">
            <fileset dir="hello-webserviceref-appclient" includes="build.xml"/>
            <fileset dir="hello-webserviceref-webclient" includes="build.xml"/>
        </subant>
    </target>

    <!-- clean up subproject and undeploy from ant -->
    <target name="-pre-clean" depends="ant-undeploy">
        <subant target="clean">
            <fileset dir="hello-webserviceref-appclient" includes="build.xml"/>
            <fileset dir="hello-webserviceref-webclient" includes="build.xml"/>
        </subant>
    </target>

    <!-- clean up subproject from NB (undeploy is handled automatically) -->
    <target name="-post-clean">
        <subant target="clean">
            <fileset dir="hello-webserviceref-appclient" includes="build.xml"/>
            <fileset dir="hello-webserviceref-webclient" includes="build.xml"/>
        </subant>
    </target>

    <target name="ant-undeploy" unless="netbeans.home">
        <antcall target="undeploy"/>
        <subant target="undeploy">
            <fileset dir="hello-webserviceref-webclient" includes="build.xml"/>
        </subant>
    </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-2021 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.