| 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 "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

utf-8, utf-8

The Java EE 6 build.xml source code

<?xml version="1.0" encoding="UTF-8"?>
<project name="scrumtoys" default="default" basedir=".">
    <property name="is.war.module" value="true"/>
    <property name="javadoc.packagenames" value="jsf2"/>
    <property file="${user.home}/"/>
    <import file="../../../../bp-project/main.xml"/>

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

    <target name="-post-compile">

      <echo message="copying resources to ${basedir}/build/classes" />
      <copy todir="${basedir}/build/classes" overwrite="true">

        <fileset dir="src/resources">
          <include name="**/*.*" />


    <target name="-pre-run-deploy" if="netbeans.home">
      <echo message="copying resources to ${basedir}/build/classes" />
      <copy todir="${basedir}/build/web/WEB-INF/classes" overwrite="true">
        <fileset dir="src/resources">
          <include name="**/*.*" />

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

    <target name="ant-undeploy" unless="netbeans.home">
        <antcall target="undeploy"/>


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,
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.