<project name="Build Retailers" default="all" basedir="../../projects/test"> <property name="src.dir" value="src"/> <property name="htdocs.dir" value="htdocs"/> <property name="dynamo_components.dir" value="dynamoComponents"/> <property name="rview.dir" value="rView"/> <property name="deploy.dir" value="../../atg/dynamo4.5.0" /> <property name="bmf.dir" value="${src.dir}/com/sundog/test/beans"/> <property name="build.classes" value="classes"/> <property name="build.javadocs" value="javadocs"/> <property name="build.compiler" value="classic"/> <property name="deploy.classes" value="${deploy.dir}/locallib"/> <property name="deploy.components" value="${deploy.dir}/localconfig"/> <property name="deploy.htdocs" value="${deploy.dir}/doc/test"/> <property name="deploy.rview" value="${deploy.dir}/locallib/RView"/> <property name="Name" value="Test Project"/> <property name="package" value="com.sundog.*"/> <property name="copyright" value="Copyright © 2001 Sundog Software Incorporated All Rights Reserved."/> <path id="project.class.path"> <fileset dir="${deploy.dir}/lib"> <include name="**/*.jar" /> </fileset> <fileset dir="${deploy.dir}/lib"> <include name="**/*.zip" /> </fileset> <pathelement path="${java.class.path}/" /> <pathelement path="${additional.path}" /> </path> <!-- =================================================================== --> <!-- Creates the source code from the BMF Files --> <!-- =================================================================== --> <taskdef name="buildbean" classname="BeanMaker"/> <target name="make_beans"> <delete> <fileset dir="${bmf.dir}" includes="**/*.java" /> </delete> <buildbean includes="*.bmf" dir="${bmf.dir}/"/> </target> <!-- =================================================================== --> <!-- Compiles the source code --> <!-- =================================================================== --> <target name="compile"> <mkdir dir="${build.classes}"/> <javac srcdir="${src.dir}" destdir="${build.classes}" debug="on" deprecation="off" optimize="on" > <classpath refid="project.class.path" /> </javac> </target> <!-- =================================================================== --> <!-- Create the Javadocs --> <!-- =================================================================== --> <target name="javadocs"> <javadoc packagenames="${package}" sourcepath="${src.dir}" destdir="${build.javadocs}" author="true" version="true" windowtitle="${Name} API" bottom="${copyright}"> </javadoc> </target> <!-- =================================================================== --> <!-- deploy to dynamo --> <!-- =================================================================== --> <target name="deploy"> <!-- CLASSES --> <copy todir="${deploy.classes}" overwrite="true"> <fileset dir="${build.classes}" includes="**/*.class"> </fileset> </copy> <!-- RELATIONAL VIEW FILES --> <copy todir="${deploy.rview}/RView" overwrite="true"> <fileset dir="${rview.dir}" includes="**/*.rvw"> </fileset> </copy> <!-- HTDOCS --> <copy todir="${deploy.htdocs}" overwrite="true"> <fileset dir="${htdocs.dir}" includes="**/*.jhtml,**/*.jpg,**/*.gif,**/*.css"> </fileset> </copy> <!-- DYNAMO COMPONENT PROPERTIES --> <copy todir="${deploy.components}" overwrite="true"> <fileset dir="${dynamo_components.dir}" includes="**/*.properties"> </fileset> </copy> </target> <target name="all" depends="make_beans,compile,javadocs,deploy"> </target> </project>