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

What this is

This file 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.

Other links

The source code

<!--
     General purpose build script for web applications and web services,
     including enhanced support for deploying directly to a Tomcat 4
     based server.

     This build script assumes that the source code of your web application
     is organized into the following subdirectories underneath the source
     code directory from which you execute the build script:

        docs                 Static documentation files to be copied to
                             the "docs" subdirectory of your distribution.

        src                  Java source code (and associated resource files)
                             to be compiled to the "WEB-INF/classes"
                             subdirectory of your web applicaiton.

        web                  Static HTML, JSP, and other content (such as
                             image files), including the WEB-INF subdirectory
                             and its configuration file contents.

     $Id: build.xml,v 1.56.2.1 2005/05/20 08:52:38 minhnn Exp $
-->
<project name="mvnForum" default="compile" basedir=".">
    <!-- ===================== Property Definitions =========================== -->
    <property file="build.properties"/>
    <property file="${user.home}/build.properties"/>

    <!-- ==================== File and Directory Names ======================== -->
    <property name="app.name" value="mvnforum"/>
    <property name="build.home" value="${basedir}/build"/>
    <property name="dist.home" value="${build.home}/dist"/>
    <property name="release.home" value="${build.home}/release"/>
    <property name="war.home" value="${build.home}/war"/>
    <property name="prepare-extension.home" value="${build.home}/prepare-extension"/>
    <property name="webapp.home" value="${build.home}/webapp"/>
    <property name="webapp" value="${webapp.home}/${app.name}"/>
    <property name="javadoc.home" value="${build.home}/javadoc"/>

    <property name="docs.home" value="${basedir}/docs"/>
    <property name="src.home" value="${basedir}/src"/>
    <property name="lib.home" value="${basedir}/lib"/>
    <property name="template.home" value="${basedir}/template"/>
    <property name="sql.home" value="${basedir}/sql"/>
    <property name="driver.home" value="${basedir}/driver"/>
    <property name="properties.home" value="${basedir}/properties"/>
    <property name="web.home" value="${basedir}/srcweb"/>
    <property name="extension.home" value="${basedir}/extension"/>
    <property name="i18n.home" value="${basedir}/i18n"/>
    <property name="docbook.home" value="${basedir}/docbook"/>

    <property name="myvietnam.home" value="${basedir}/../myvietnam"/>
    <property name="myvietnam.build.i18n" value="${myvietnam.home}/build/i18n"/>

    <!-- Required libs for the servlet container. These will be copied into the WEB-INF/lib directory -->
    <property name="myvietnam.jar" value="${myvietnam.home}/build/lib/myvietnam.jar"/>
    <property name="mvnforum.jar" value="${build.home}/lib/mvnforum.jar"/>

    <!--  ==================== Compilation Control Options ==================== -->
    <!--
    These properties control option settings on the Javac compiler when it
    is invoked using the <javac> task.

    compile.debug        Should compilation include the debug option?

    compile.deprecation  Should compilation include the deprecation option?

    compile.optimize     Should compilation include the optimize option?
    -->
    <property name="compile.debug" value="true"/>
    <property name="compile.deprecation" value="false"/>
    <property name="compile.optimize" value="true"/>

    <taskdef name="mvnforumfinder" classpath="${i18n.home}/tool/mvntools.jar" classname="LocalizingKeyFinder"/>
    <!-- ==================== Compilation Classpath =========================== -->
    <!--
    Rather than relying on the CLASSPATH environment variable, Ant includes
    features that makes it easy to dynamically construct the classpath you
    need for each compilation.  The example below constructs the compile
    classpath to include the servlet.jar file, as well as the other components
    that Tomcat makes available to web applications automatically, plus anything
    that you explicitly added.
    -->
    <path id="compile.classpath">
        <pathelement location="${myvietnam.jar}"/>
        <fileset dir="${lib.home}">
            <include name="*.jar"/>
        </fileset>
     </path>

    <!-- ==================== All Target ====================================== -->
    <!--
    The "all" target is a shortcut for running the "clean" target followed
    by the "compile" target, to force a complete recompile.
    -->
    <target name="all" depends="clean,compile" description="Clean build and dist directories, then compile"/>

    <!-- ==================== Clean Target ==================================== -->
    <!--
    The "clean" target deletes any previous "build" and "dist" directory,
    so that you can be ensured the application can be built from scratch.
    -->
    <target name="clean" description="Delete old build and dist directories">
        <delete dir="${build.home}"/>
        <delete dir="${dist.home}"/>
        <delete dir="${release.home}"/>
        <delete dir="${webapp.home}"/>
    </target>

    <!-- ==================== Build MyVietnam Target ========================== -->
    <!--
    Build the MyVietnam module
    -->
    <target name="build-myvietnam">
        <echo>Building the MyVietnam module
        <ant dir="${myvietnam.home}" inheritAll="false"/>
        <echo>MyVietnam module has been built.
    </target>

    <!-- ==================== Prepare Extension Target ======================== -->
    <!--
    -->
    <target name="prepare-extension" depends="build-myvietnam">
        <echo>Building the mvnForum module
        <!-- Create build directories as needed -->
        <mkdir dir="${build.home}"/>
        <mkdir dir="${prepare-extension.home}"/>
 
        <!-- Copy static content of this web application -->
        <copy todir="${prepare-extension.home}">
            <fileset dir="${web.home}"/>
        </copy>
        <!-- Copy application properties files -->
        <copy todir="${prepare-extension.home}/WEB-INF/classes">
            <fileset dir="${properties.home}"/>
            <fileset dir="${myvietnam.home}/properties"/>
            <fileset dir="${myvietnam.build.i18n}"/>
        </copy>
        
        <copy file="${i18n.home}/mvnForum_i18n.properties" tofile="${prepare-extension.home}/WEB-INF/classes/mvnForum_i18n_en.properties"/>
        <!--
        <native2ascii encoding="Cp1252" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n.properties"/>
        -->
        <native2ascii encoding="Cp1256" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_ar.properties"/>
        <native2ascii encoding="Cp1251" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_bg.properties"/>
        <native2ascii encoding="ISO8859_1" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_da.properties"/>
        <native2ascii encoding="ISO8859_1" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_de.properties"/>
        <native2ascii encoding="ISO8859_7" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_el.properties"/>
        <native2ascii encoding="Cp1252" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_es.properties"/>
        <native2ascii encoding="Cp1252" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_fr.properties"/>
        <native2ascii encoding="ISO8859_1" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_it.properties"/>
        <native2ascii encoding="MS932" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_ja.properties"/>
        <native2ascii encoding="utf-8" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_ko.properties"/>
        <native2ascii encoding="Cp1257" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_lv.properties"/>
        <native2ascii encoding="ISO8859_1" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_nl.properties"/>
        <native2ascii encoding="ISO8859_1" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_no.properties"/>
        <native2ascii encoding="ISO8859_1" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_pt_BR.properties"/>
        <native2ascii encoding="Cp1251" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_ru.properties"/>
        <native2ascii encoding="Cp1250" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_sh.properties"/>
        <native2ascii encoding="ISO8859_2" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_si.properties"/>
        <native2ascii encoding="Cp1251" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_sr.properties"/>
        <native2ascii encoding="Cp1254" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_tr.properties"/>
        <native2ascii encoding="utf-8" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_vi.properties"/>
        <native2ascii encoding="GB2312" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_zh_CN.properties"/>
        <native2ascii encoding="Big5" src="${i18n.home}" dest="${prepare-extension.home}/WEB-INF/classes" includes="mvnForum_i18n_zh_TW.properties"/>

        <!-- Copy template files -->
        <copy todir="${prepare-extension.home}/WEB-INF/mvnForumHome/template">
            <fileset dir="${template.home}/"/>
        </copy>
    </target>

    <!-- ==================== Extention Target ================================== -->
    <!--
    -->
    <target name="extension" depends="prepare-extension">
        <copy todir="${prepare-extension.home}" overwrite="true">
            <fileset dir="${extension.home}/" excludes="README.txt"/>
        </copy>
    </target>

    <!-- ==================== Prepare Target ================================== -->
    <!--
    The "prepare" target is used to create the "build" destination directory,
    and copy the static contents of your web application to it.  If you need
    to copy static files from external dependencies, you can customize the
    contents of this task.

    Normally, this task is executed indirectly when needed.
    -->
    <target name="prepare" depends="extension">
        <!-- Create build directories as needed -->
        <mkdir dir="${build.home}/classes"/>
 
        <!-- Copy static content of this web application -->
        <mkdir dir="${webapp}"/>
        <copy todir="${webapp}">
            <fileset dir="${prepare-extension.home}"/>
        </copy>
    </target>

    <!-- ==================== Compile Target ================================== -->
    <!--
    The "compile" target transforms source files (from your "src" directory)
    into object files in the appropriate location in the build directory.
    This example assumes that you will be including your classes in an
    unpacked directory hierarchy under "/WEB-INF/classes".
    -->
    <target name="compile" depends="prepare" description="Compile Java sources">
        <!-- Compile Java classes as necessary -->
        <javac srcdir="${src.home}" destdir="${build.home}/classes" debug="${compile.debug}" deprecation="${compile.deprecation}" optimize="${compile.optimize}">
            <classpath refid="compile.classpath"/>
        </javac>
        
        <mkdir dir="${build.home}/lib"/>
        <jar destfile="${build.home}/lib/mvnforum.jar" basedir="${build.home}/classes"/>

        <!-- Copy application libraries -->
        <copy todir="${webapp}/WEB-INF/lib">
           <fileset dir="${lib.home}" excludes="servlet.jar" />
        <!-- minhnn: I comment this because my Ant 1.5 does not support this, not sure the Ant requirement this
           <fileset file="${sqldriver}" />
           <fileset file="${myvietnam.jar}" />
           <fileset file="${mvnforum.jar}" />
        -->
        </copy>
        <copy file="${sqldriver}" todir="${webapp}/WEB-INF/lib" />
        <copy file="${myvietnam.jar}" todir="${webapp}/WEB-INF/lib" />
        <copy file="${mvnforum.jar}" todir="${webapp}/WEB-INF/lib" />
    </target>

    <!-- ==================== Javadoc Target ================================== -->
    <!--
    The "javadoc" target creates Javadoc API documentation for the Java
    classes included in your application.  Normally, this is only required
    when preparing a distribution release, but is available as a separate
    target in case the developer wants to create Javadocs independently.
    -->
    <target name="javadoc" depends="compile" description="Create Javadoc API documentation">
        <mkdir dir="${javadoc.home}"/>
        <javadoc sourcepath="${src.home}" destdir="${javadoc.home}" packagenames="*">
            <classpath refid="compile.classpath"/>
        </javadoc>
    </target>

    <!-- ==================== Deploy Localhost Target ================================== -->
    <target name="deploy-localhost" depends="compile" description="Deploy mvnForum to localhost">
        <copy todir="${deploy.localhost}">
            <fileset dir="${webapp.home}" excludes="*.war"/>
        </copy>
    </target>

    <!-- ==================== Deploy Localhost WAR Target ================================== -->
    <target name="deploy-war" depends="war" description="Deploy mvnForum to localhost using a war file">
        <copy todir="${deploy.localhost}" file="${war.home}/${app.name}.war"/>
    </target>

    <!-- ==================== Dist Target ===================================== -->
    <!--
    The "dist" target creates a binary distribution of your application
    in a directory structure ready to be archived in a tar.gz or zip file.
    Note that this target depends on two others:

    * "compile" so that the entire web application (including external
      dependencies) will have been assembled

    * "javadoc" so that the application Javadocs will have been created
    -->
    <target name="dist" depends="compile, find-java-wrong-keys, find-jsp-wrong-keys" description="Create binary distribution">
        <!-- Copy documentation subdirectories -->
        <mkdir dir="${dist.home}/docs"/>
        <copy todir="${dist.home}/docs">
            <fileset dir="${docs.home}"/>
        </copy>
        <mkdir dir="${dist.home}/sql"/>
        <copy todir="${dist.home}/sql">
            <fileset dir="${sql.home}"/>
        </copy>
        <mkdir dir="${dist.home}/driver"/>
        <copy todir="${dist.home}/driver">
            <fileset dir="${driver.home}"/>
        </copy>
        <mkdir dir="${dist.home}/webapp"/>
        <copy todir="${dist.home}/webapp">
            <fileset dir="${webapp.home}/${app.name}" excludes="WEB-INF/lib/${sqldriver.jar}"/>
        </copy>

        <!-- Create application JAR file -->
        <mkdir dir="${release.home}"/>
        <jar destfile="${release.home}/mvnforum-${mvnforum.version}-bin.zip" basedir="${dist.home}"/>
    </target>

    <!-- ==================== CVS Target ===================================== -->
    <target name="cvs">
        <echo>Updating module mvnforum
        <cvs command="update" dest="${basedir}"/>
    </target>

    <!-- ==================== WAR Target ===================================== -->
    <target name="war" depends="compile" description="Create a WAR file for deployment">
        <echo>Building mvnForum war file...
        <mkdir dir="${war.home}"/>
        <war warfile="${war.home}/${app.name}.war" webxml="${webapp}/WEB-INF/web.xml">
            <fileset dir="${webapp}" excludes="WEB-INF/web.xml"/>
        </war>
    </target>
    
    <target name="maketools" description="build mvntools.jar file">
        <!-- Compile Java classes as necessary -->
        <mkdir dir="${i18n.home}/tool/classes"/>
        <javac srcdir="${i18n.home}/tool" destdir="${i18n.home}/tool/classes" debug="${compile.debug}" deprecation="${compile.deprecation}" optimize="${compile.optimize}">
            <classpath refid="compile.classpath"/>
        </javac>
        
        <jar destfile="${i18n.home}/tool/mvntools.jar" basedir="${i18n.home}/tool/classes">
           <!--include name="*.class"/-->
        </jar>
        
        <delete dir="${i18n.home}/tool/classes"/>
    </target>

    <target name="find-java-wrong-keys" depends="prepare" description="Find wrong keys in JAVA source files">
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_ar">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_bg">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_da">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_de">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_el">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_es">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_fr">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_it">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_ja">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_ko">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_lv">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_nl">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_no">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_pt_BR">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_ru">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_sh">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_si">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_sr">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_tr">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_vi">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_zh_CN">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="MVNForumResourceBundle.getString" endtoken=");" bundle="${i18n.home}/mvnForum_i18n_zh_TW">
            <fileset dir="${src.home}">
                <include name="**/*.java"/>
            </fileset>
        </mvnforumfinder>
    </target>

    <target name="find-jsp-wrong-keys" depends="prepare" description="Find wrong keys in JSP source files">
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_ar">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_bg">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_da">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_de">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_el">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_es">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_fr">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_it">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_ja">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_ko">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_lv">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_nl">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_no">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_pt_BR">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_ru">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_sh">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_si">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_sr">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_tr">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_vi">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_zh_CN">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
        <mvnforumfinder starttoken="fmt:message key=" endtoken="/>" bundle="${i18n.home}/mvnForum_i18n_zh_TW" bundleEncoding="Big5">
            <fileset dir="${web.home}">
                <include name="**/*.jsp"/>
            </fileset>
        </mvnforumfinder>
    </target>

    <target name="docbook">
        <echo>Building the docbook
        <ant dir="${docbook.home}" inheritAll="false"/>
        <echo>docbook has been built.
    </target>
 </project>
... 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.