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-2007 Sun Microsystems, Inc. All rights reserved.-->

<project name="ejb-embedded" default="all" basedir=".">

    <property name="is.ejb-jar.module" value="true"/>
    <property name="javadoc.packagenames" value="ejb.embedded"/>

    <import file="../../../bp-project/main.xml"/>

    <target name="deploy"/>
    <target name="undeploy"/>

    <!-- 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="ejb-embedded-client" 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="ejb-embedded-client" includes="build.xml"/>
        </subant>
    </target>

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

    <!-- clean up subproject and undeploy from ant -->
    <target name="-pre-clean">
        <subant target="clean">
            <fileset dir="ejb-embedded-client" includes="build.xml"/>
        </subant>
    </target>
    
    <!-- clean up subproject from NB (undeploy is not needed) -->
    <target name="-post-clean">
        <subant target="clean">
            <fileset dir="ejb-embedded-client" 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.