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, sun, sun, utf-8, utf-8, web-inf/lib, web-inf/lib

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="absolute-ordering-web-fragments-war" default="all" basedir=".">

    <property name="is.war.module" value="true"/>
    <property name="javadoc.packagenames" value="web.servlet.absolute_ordering_web_fragments_war"/>

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

    <target name="all" unless="netbeans.home">
        <antcall target="run"/>
    </target>

    <!-- clean up subproject and undeploy from ant -->
    <target name="-pre-clean" depends="ant-undeploy">
    </target>

    <target name="ant-undeploy" unless="netbeans.home">
        <antcall target="undeploy"/>
        <ant dir="webfragment1" target="clean" inheritAll="false"/>
        <ant dir="webfragment2" target="clean" inheritAll="false"/>
        <ant dir="webfragment3" target="clean" inheritAll="false"/>
    </target>

    <target name="-pre-compile" unless="netbeans.home">
        <ant dir="webfragment1" inheritAll="false"/>
        <ant dir="webfragment2" inheritAll="false"/>
        <ant dir="webfragment3" inheritAll="false"/>
        <mkdir dir="${build.web.dir}/WEB-INF/lib"/>
        <copy file="webfragment1/dist/webfragment1.jar"
            todir="${build.web.dir}/WEB-INF/lib"/>
        <copy file="webfragment2/dist/webfragment2.jar"
            todir="${build.web.dir}/WEB-INF/lib"/>
        <copy file="webfragment3/dist/webfragment3.jar"
            todir="${build.web.dir}/WEB-INF/lib"/>
    </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.