[Ejtools-cvs] CVS: build build.bat,1.2,1.3 build.sh,1.2,1.3 build.xml,1.4,1.5 build_application.xml,
Brought to you by:
letiemble
From: Laurent E. <let...@us...> - 2002-05-06 20:36:19
|
Update of /cvsroot/ejtools/build In directory usw-pr-cvs1:/tmp/cvs-serv23056 Modified Files: build.bat build.sh build.xml build_application.xml general.properties Log Message: Add JSP compilation task Index: build.bat =================================================================== RCS file: /cvsroot/ejtools/build/build.bat,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** build.bat 5 May 2002 19:49:41 -0000 1.2 --- build.bat 6 May 2002 20:36:15 -0000 1.3 *************** *** 1,36 **** ! @echo off ! @if not "%ECHO%" == "" echo %ECHO% ! ! REM **************************************** ! REM EJTools, the Enterprise Java Tools ! REM ! REM Distributable under LGPL license. ! REM See terms of license at gnu.org. ! REM ! REM $Revision$ ! REM **************************************** ! ! REM **************************************** ! REM Convenience bat file to build with ! REM **************************************** ! ! set THIRDPARTY=..\thirdparty ! set CP= ! ! set CP=%CP%;%THIRDPARTY%\apache\ant\ant.jar ! set CP=%CP%;%THIRDPARTY%\apache\ant\optional.jar.jar ! set CP=%CP%;%THIRDPARTY%\apache\crimson\crimson.jar ! set CP=%CP%;%THIRDPARTY%\apache\log4j\log4j.jar ! ! set CP=%CP%;%THIRDPARTY%\sun\jaxp\jaxp.jar ! set CP=%CP%;%THIRDPARTY%\sun\jaxp\xml.jar ! set CP=%CP%;%THIRDPARTY%\sun\tools\tools.jar ! ! set CP=%CP%;%THIRDPARTY%\dreambean\codegen\ ! set CP=%CP%;%THIRDPARTY%\dreambean\codegen\codegen.jar ! REM set CP=%CP%;%THIRDPARTY%\dreambean\xmlbeans\i18nbeans.jar ! set CP=%CP%;%THIRDPARTY%\dreambean\xmlbeans\xmlbeans.jar ! ! set CP=%CP%;%THIRDPARTY%\sourceforge\xdoclet\xdoclet.jar ! ! java -classpath "%CP%" org.apache.tools.ant.Main %1 %2 %3 %4 %5 --- 1,36 ---- ! @echo off ! @if not "%ECHO%" == "" echo %ECHO% ! ! REM **************************************** ! REM EJTools, the Enterprise Java Tools ! REM ! REM Distributable under LGPL license. ! REM See terms of license at gnu.org. ! REM ! REM $Revision$ ! REM **************************************** ! ! REM **************************************** ! REM Convenience bat file to build with ! REM **************************************** ! ! set THIRDPARTY=..\thirdparty ! set CP= ! ! set CP=%CP%;%THIRDPARTY%\apache\ant\ant.jar ! set CP=%CP%;%THIRDPARTY%\apache\ant\optional.jar.jar ! set CP=%CP%;%THIRDPARTY%\apache\crimson\crimson.jar ! set CP=%CP%;%THIRDPARTY%\apache\log4j\log4j.jar ! ! set CP=%CP%;%THIRDPARTY%\sun\jaxp\jaxp.jar ! set CP=%CP%;%THIRDPARTY%\sun\jaxp\xml.jar ! set CP=%CP%;%THIRDPARTY%\sun\tools\tools.jar ! ! set CP=%CP%;%THIRDPARTY%\dreambean\codegen\ ! set CP=%CP%;%THIRDPARTY%\dreambean\codegen\codegen.jar ! REM set CP=%CP%;%THIRDPARTY%\dreambean\xmlbeans\i18nbeans.jar ! set CP=%CP%;%THIRDPARTY%\dreambean\xmlbeans\xmlbeans.jar ! ! set CP=%CP%;%THIRDPARTY%\sourceforge\xdoclet\xdoclet.jar ! ! java -classpath "%CP%" org.apache.tools.ant.Main %1 %2 %3 %4 %5 Index: build.sh =================================================================== RCS file: /cvsroot/ejtools/build/build.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** build.sh 5 May 2002 19:49:41 -0000 1.2 --- build.sh 6 May 2002 20:36:15 -0000 1.3 *************** *** 1,34 **** ! #!/bin/sh ! ! # **************************************** ! # EJTools, the Enterprise Java Tools ! # ! # Distributable under LGPL license. ! # See terms of license at gnu.org. ! # ! # $Revision$ ! # **************************************** ! ! # **************************************** ! # Convenience bat file to build with ! # **************************************** ! ! THIRDPARTY=./thirdparty ! CP=. ! ! CP=$CP:$THIRDPARTY/apache/ant/ant.jar ! CP=$CP:$THIRDPARTY/apache/ant/optional.jar.jar ! CP=$CP:$THIRDPARTY/apache/crimson/crimson.jar ! CP=$CP:$THIRDPARTY/apache/log4j/log4j.jar ! ! CP=$CP:$THIRDPARTY/sun/jaxp/jaxp.jar ! CP=$CP:$THIRDPARTY/sun/jaxp/xml.jar ! CP=$CP:$THIRDPARTY/sun/tools/tools.jar ! ! CP=$CP:$THIRDPARTY/dreambean/codegen/ ! CP=$CP:$THIRDPARTY/dreambean/codegen/codegen.jar ! CP=$CP:$THIRDPARTY/dreambean/xmlbeans/xmlbeans.jar ! ! CP=$CP:$THIRDPARTY/sourceforge/xdoclet/xdoclet.jar ! ! java -classpath "$CP" org.apache.tools.ant.Main $1 $2 $3 $4 $5 --- 1,34 ---- ! #!/bin/sh ! ! # **************************************** ! # EJTools, the Enterprise Java Tools ! # ! # Distributable under LGPL license. ! # See terms of license at gnu.org. ! # ! # $Revision$ ! # **************************************** ! ! # **************************************** ! # Convenience bat file to build with ! # **************************************** ! ! THIRDPARTY=./thirdparty ! CP=. ! ! CP=$CP:$THIRDPARTY/apache/ant/ant.jar ! CP=$CP:$THIRDPARTY/apache/ant/optional.jar.jar ! CP=$CP:$THIRDPARTY/apache/crimson/crimson.jar ! CP=$CP:$THIRDPARTY/apache/log4j/log4j.jar ! ! CP=$CP:$THIRDPARTY/sun/jaxp/jaxp.jar ! CP=$CP:$THIRDPARTY/sun/jaxp/xml.jar ! CP=$CP:$THIRDPARTY/sun/tools/tools.jar ! ! CP=$CP:$THIRDPARTY/dreambean/codegen/ ! CP=$CP:$THIRDPARTY/dreambean/codegen/codegen.jar ! CP=$CP:$THIRDPARTY/dreambean/xmlbeans/xmlbeans.jar ! ! CP=$CP:$THIRDPARTY/sourceforge/xdoclet/xdoclet.jar ! ! java -classpath "$CP" org.apache.tools.ant.Main $1 $2 $3 $4 $5 Index: build.xml =================================================================== RCS file: /cvsroot/ejtools/build/build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** build.xml 5 May 2002 19:49:41 -0000 1.4 --- build.xml 6 May 2002 20:36:15 -0000 1.5 *************** *** 1,228 **** ! <?xml version="1.0"?> ! <!-- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at gnu.org. ! * ! * $Revision$ ! */ ! --> ! <project name="EJTools Build File" default="dist" basedir=".."> ! <!-- ======================================== --> ! <!-- Global Definitions --> ! <!-- ======================================== --> ! <property file="build/general.properties"/> ! <property file="build/location.properties"/> ! <property file="build/switch.properties"/> ! <!-- ==================== Everything Target ===================================== --> ! <target name="everything" depends="clean, build, logo, dist, webapp, javadoc, todo, package, website" description=""/> ! <!-- ==================== Rebuild Target ===================================== --> ! <target name="rebuild" depends="clean, build" description=""/> ! <!-- ======================================== --> ! <!-- Displayed on demand or on failure --> ! <!-- ======================================== --> ! <target name="help" description=""> ! <echo message="------------------------------------------------------------"/> ! <echo message="EJTools Build System Help :"/> ! <echo/> ! <echo message="build : Build every modules"/> ! <echo message="dist : Create the distribution of the modules"/> ! <echo message="clean : Clean everyting"/> ! <echo message="webapp : Create the Web Applications"/> ! <echo message="javadoc : Generate the JavaDoc for each module"/> ! <echo message="todo : Generate the ToDo list for each module"/> ! <echo message="logo : Create the application logo"/> ! <echo message="package : Package the applications"/> ! <echo message="website : Create the website"/> ! <echo message="tarball : Create a source tarball"/> ! <echo message="------------------------------------------------------------"/> ! </target> ! <!-- ======================================== --> ! <!-- Creates the output directory for the releases --> ! <!-- ======================================== --> ! <target name="prepare" description=""> ! <mkdir dir="${output.root}"/> ! </target> ! <!-- ======================================== --> ! <!-- Delete the output directory --> ! <!-- Executes the clean target on each modules --> ! <!-- ======================================== --> ! <target name="clean" description=""> ! <delete dir="${output.root}"/> ! <antcall target="sub"> ! <param name="target" value="clean"/> ! </antcall> ! </target> ! <!-- ======================================== --> ! <!-- Executes the build target on each modules --> ! <!-- ======================================== --> ! <target name="build" description=""> ! <antcall target="sub"> ! <param name="target" value="build"/> ! </antcall> ! </target> ! <!-- ======================================== --> ! <!-- Executes the dist target on each modules --> ! <!-- ======================================== --> ! <target name="dist" depends="prepare" description=""> ! <antcall target="sub"> ! <param name="target" value="dist"/> ! </antcall> ! </target> ! <!-- ======================================== --> ! <!-- Create the javadoc website on each modules --> ! <!-- ======================================== --> ! <target name="javadoc" description=""> ! <property name="generate.javadoc" value="true"/> ! <antcall target="sub"> ! <param name="target" value="javadoc"/> ! </antcall> ! </target> ! <!-- ======================================== --> ! <!-- Create the todo website on each modules --> ! <!-- ======================================== --> ! <target name="todo" description=""> ! <antcall target="sub"> ! <param name="target" value="todo"/> ! </antcall> ! </target> ! <!-- ======================================== --> ! <!-- Create the logo for each application --> ! <!-- ======================================== --> ! <target name="logo" description=""> ! <antcall target="sub.applications"> ! <param name="target" value="logo"/> ! </antcall> ! </target> ! <!-- ======================================== --> ! <!-- Create the webapp for each application --> ! <!-- ======================================== --> ! <target name="webapp" description=""> ! <antcall target="sub.applications"> ! <param name="target" value="webapp"/> ! </antcall> ! </target> ! <!-- ======================================== --> ! <!-- Create the distribution package for each application --> ! <!-- ======================================== --> ! <target name="package" description=""> ! <antcall target="sub.applications"> ! <param name="target" value="package"/> ! </antcall> ! </target> ! <!-- ======================================== --> ! <!-- Build the EJTools website --> ! <!-- ======================================== --> ! <target name="website" depends="javadoc, todo" description=""> ! <ant antfile="build/build_website.xml"/> ! </target> ! <!-- ======================================== --> ! <!-- Build the Source TarBall --> ! <!-- ======================================== --> ! <target name="tarball" depends="clean" description=""/> ! <!-- **************************************** --> ! <!-- Generic subtask which calls the subtask for thirdparty, libraries and applications --> ! <!-- **************************************** --> ! <target name="sub" description=""> ! <antcall target="sub.thirdparty"> ! <param name="target" value="${target}"/> ! </antcall> ! <antcall target="sub.libraries"> ! <param name="target" value="${target}"/> ! </antcall> ! <antcall target="sub.applications"> ! <param name="target" value="${target}"/> ! </antcall> ! </target> ! <!-- **************************************** --> ! <!-- Generic subtask which calls any target on thirdparty --> ! <!-- **************************************** --> ! <target name="sub.thirdparty" description=""> ! <antcall target="sub.call"> ! <param name="type" value="thirdparty"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${thirdparty.root}/sun"/> ! <param name="name" value="jsr77"/> ! </antcall> ! <antcall target="sub.call"> ! <param name="type" value="thirdparty"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${thirdparty.root}/sun"/> ! <param name="name" value="jsr88"/> ! </antcall> ! </target> ! <!-- **************************************** --> ! <!-- Generic subtask which calls any target on lirabries --> ! <!-- **************************************** --> ! <target name="sub.libraries" description=""> ! <antcall target="sub.call"> ! <param name="type" value="library"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${libraries.root}"/> ! <param name="name" value="common"/> ! </antcall> ! <antcall target="sub.call"> ! <param name="type" value="library"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${libraries.root}"/> ! <param name="name" value="adwt"/> ! </antcall> ! <antcall target="sub.call"> ! <param name="type" value="library"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${libraries.root}"/> ! <param name="name" value="j2ee.icons"/> ! </antcall> ! <antcall target="sub.call"> ! <param name="type" value="library"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${libraries.root}"/> ! <param name="name" value="jboss.provider"/> ! </antcall> ! <antcall target="sub.call"> ! <param name="type" value="library"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${libraries.root}"/> ! <param name="name" value="xmlweb"/> ! </antcall> ! </target> ! <!-- **************************************** --> ! <!-- Generic subtask which calls any target on applications --> ! <!-- **************************************** --> ! <target name="sub.applications" description=""> ! <antcall target="sub.call"> ! <param name="type" value="application"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${applications.root}"/> ! <param name="name" value="deployment"/> ! </antcall> ! <antcall target="sub.call"> ! <param name="type" value="application"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${applications.root}"/> ! <param name="name" value="jmx.browser"/> ! </antcall> ! <antcall target="sub.call"> ! <param name="type" value="application"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${applications.root}"/> ! <param name="name" value="jndi.browser"/> ! </antcall> ! <antcall target="sub.call"> ! <param name="type" value="application"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${applications.root}"/> ! <param name="name" value="management"/> ! </antcall> ! </target> ! <!-- **************************************** --> ! <!-- Generic subtask which calls any target on any modules --> ! <!-- **************************************** --> ! <target name="sub.call" description="" if="${target}.${type}.${name}"> ! <ant antfile="build/build_${type}.xml" target="${target}"> ! <property file="${root}/${name}/module.properties"/> ! </ant> ! </target> ! </project> --- 1,228 ---- ! <?xml version="1.0"?> ! <!-- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at gnu.org. ! * ! * $Revision$ ! */ ! --> ! <project name="EJTools Build File" default="dist" basedir=".."> ! <!-- ======================================== --> ! <!-- Global Definitions --> ! <!-- ======================================== --> ! <property file="build/general.properties"/> ! <property file="build/location.properties"/> ! <property file="build/switch.properties"/> ! <!-- ==================== Everything Target ===================================== --> ! <target name="everything" depends="clean, build, logo, dist, webapp, javadoc, todo, package, website" description=""/> ! <!-- ==================== Rebuild Target ===================================== --> ! <target name="rebuild" depends="clean, build" description=""/> ! <!-- ======================================== --> ! <!-- Displayed on demand or on failure --> ! <!-- ======================================== --> ! <target name="help" description=""> ! <echo message="------------------------------------------------------------"/> ! <echo message="EJTools Build System Help :"/> ! <echo/> ! <echo message="build : Build every modules"/> ! <echo message="dist : Create the distribution of the modules"/> ! <echo message="clean : Clean everyting"/> ! <echo message="webapp : Create the Web Applications"/> ! <echo message="javadoc : Generate the JavaDoc for each module"/> ! <echo message="todo : Generate the ToDo list for each module"/> ! <echo message="logo : Create the application logo"/> ! <echo message="package : Package the applications"/> ! <echo message="website : Create the website"/> ! <echo message="tarball : Create a source tarball"/> ! <echo message="------------------------------------------------------------"/> ! </target> ! <!-- ======================================== --> ! <!-- Creates the output directory for the releases --> ! <!-- ======================================== --> ! <target name="prepare" description=""> ! <mkdir dir="${output.root}"/> ! </target> ! <!-- ======================================== --> ! <!-- Delete the output directory --> ! <!-- Executes the clean target on each modules --> ! <!-- ======================================== --> ! <target name="clean" description=""> ! <delete dir="${output.root}"/> ! <antcall target="sub"> ! <param name="target" value="clean"/> ! </antcall> ! </target> ! <!-- ======================================== --> ! <!-- Executes the build target on each modules --> ! <!-- ======================================== --> ! <target name="build" description=""> ! <antcall target="sub"> ! <param name="target" value="build"/> ! </antcall> ! </target> ! <!-- ======================================== --> ! <!-- Executes the dist target on each modules --> ! <!-- ======================================== --> ! <target name="dist" depends="prepare" description=""> ! <antcall target="sub"> ! <param name="target" value="dist"/> ! </antcall> ! </target> ! <!-- ======================================== --> ! <!-- Create the javadoc website on each modules --> ! <!-- ======================================== --> ! <target name="javadoc" description=""> ! <property name="generate.javadoc" value="true"/> ! <antcall target="sub"> ! <param name="target" value="javadoc"/> ! </antcall> ! </target> ! <!-- ======================================== --> ! <!-- Create the todo website on each modules --> ! <!-- ======================================== --> ! <target name="todo" description=""> ! <antcall target="sub"> ! <param name="target" value="todo"/> ! </antcall> ! </target> ! <!-- ======================================== --> ! <!-- Create the logo for each application --> ! <!-- ======================================== --> ! <target name="logo" description=""> ! <antcall target="sub.applications"> ! <param name="target" value="logo"/> ! </antcall> ! </target> ! <!-- ======================================== --> ! <!-- Create the webapp for each application --> ! <!-- ======================================== --> ! <target name="webapp" description=""> ! <antcall target="sub.applications"> ! <param name="target" value="webapp"/> ! </antcall> ! </target> ! <!-- ======================================== --> ! <!-- Create the distribution package for each application --> ! <!-- ======================================== --> ! <target name="package" description=""> ! <antcall target="sub.applications"> ! <param name="target" value="package"/> ! </antcall> ! </target> ! <!-- ======================================== --> ! <!-- Build the EJTools website --> ! <!-- ======================================== --> ! <target name="website" depends="javadoc, todo" description=""> ! <ant antfile="build/build_website.xml"/> ! </target> ! <!-- ======================================== --> ! <!-- Build the Source TarBall --> ! <!-- ======================================== --> ! <target name="tarball" depends="clean" description=""/> ! <!-- **************************************** --> ! <!-- Generic subtask which calls the subtask for thirdparty, libraries and applications --> ! <!-- **************************************** --> ! <target name="sub" description=""> ! <antcall target="sub.thirdparty"> ! <param name="target" value="${target}"/> ! </antcall> ! <antcall target="sub.libraries"> ! <param name="target" value="${target}"/> ! </antcall> ! <antcall target="sub.applications"> ! <param name="target" value="${target}"/> ! </antcall> ! </target> ! <!-- **************************************** --> ! <!-- Generic subtask which calls any target on thirdparty --> ! <!-- **************************************** --> ! <target name="sub.thirdparty" description=""> ! <antcall target="sub.call"> ! <param name="type" value="thirdparty"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${thirdparty.root}/sun"/> ! <param name="name" value="jsr77"/> ! </antcall> ! <antcall target="sub.call"> ! <param name="type" value="thirdparty"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${thirdparty.root}/sun"/> ! <param name="name" value="jsr88"/> ! </antcall> ! </target> ! <!-- **************************************** --> ! <!-- Generic subtask which calls any target on lirabries --> ! <!-- **************************************** --> ! <target name="sub.libraries" description=""> ! <antcall target="sub.call"> ! <param name="type" value="library"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${libraries.root}"/> ! <param name="name" value="common"/> ! </antcall> ! <antcall target="sub.call"> ! <param name="type" value="library"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${libraries.root}"/> ! <param name="name" value="adwt"/> ! </antcall> ! <antcall target="sub.call"> ! <param name="type" value="library"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${libraries.root}"/> ! <param name="name" value="j2ee.icons"/> ! </antcall> ! <antcall target="sub.call"> ! <param name="type" value="library"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${libraries.root}"/> ! <param name="name" value="jboss.provider"/> ! </antcall> ! <antcall target="sub.call"> ! <param name="type" value="library"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${libraries.root}"/> ! <param name="name" value="xmlweb"/> ! </antcall> ! </target> ! <!-- **************************************** --> ! <!-- Generic subtask which calls any target on applications --> ! <!-- **************************************** --> ! <target name="sub.applications" description=""> ! <antcall target="sub.call"> ! <param name="type" value="application"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${applications.root}"/> ! <param name="name" value="deployment"/> ! </antcall> ! <antcall target="sub.call"> ! <param name="type" value="application"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${applications.root}"/> ! <param name="name" value="jmx.browser"/> ! </antcall> ! <antcall target="sub.call"> ! <param name="type" value="application"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${applications.root}"/> ! <param name="name" value="jndi.browser"/> ! </antcall> ! <antcall target="sub.call"> ! <param name="type" value="application"/> ! <param name="target" value="${target}"/> ! <param name="root" value="${applications.root}"/> ! <param name="name" value="management"/> ! </antcall> ! </target> ! <!-- **************************************** --> ! <!-- Generic subtask which calls any target on any modules --> ! <!-- **************************************** --> ! <target name="sub.call" description="" if="${target}.${type}.${name}"> ! <ant antfile="build/build_${type}.xml" target="${target}"> ! <property file="${root}/${name}/module.properties"/> ! </ant> ! </target> ! </project> Index: build_application.xml =================================================================== RCS file: /cvsroot/ejtools/build/build_application.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** build_application.xml 5 May 2002 19:49:41 -0000 1.5 --- build_application.xml 6 May 2002 20:36:15 -0000 1.6 *************** *** 1,257 **** ! <?xml version="1.0"?> ! <!-- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at gnu.org. ! * ! * $Revision$ ! */ ! --> ! <project name="Generic Build File for Applications" default="dist" basedir="."> ! <!-- ==================== Global Definitions ======================== --> ! <property file="build/general.properties"/> ! <property file="build/location.properties"/> ! <!-- ==================== Task Definitions ======================== --> ! <taskdef name="xmlbean" classname="com.dreambean.xmlbeans.ant.XMLBeans"/> ! <taskdef name="todo" classname="xdoclet.doc.DocumentDocletTask"/> ! <!-- ==================== Module Definition ======================== --> ! <property name="module.root" value="${applications.root}/${module.name}"/> ! <!-- ==================== File and Directory Names ======================== --> ! <property name="build.home" value="${module.root}/output"/> ! <property name="build.classes" value="${build.home}/classes"/> ! <property name="build.conf" value="${build.home}/conf"/> ! <property name="build.doc" value="${build.home}/doc"/> ! <property name="build.doc.api" value="${build.doc}/api"/> ! <property name="build.doc.todo" value="${build.doc}/todo"/> ! <property name="build.etc" value="${build.home}/etc"/> ! <property name="build.lib" value="${build.home}/lib"/> ! <property name="build.src" value="${build.home}/src"/> ! <property name="dist.home" value="${module.root}/dist"/> ! <property name="dist.bin" value="${dist.home}/bin"/> ! <property name="dist.conf" value="${dist.home}/conf"/> ! <property name="dist.doc" value="${dist.home}/doc"/> ! <property name="dist.lib" value="${dist.home}/lib"/> ! <property name="dist.lib.ext" value="${dist.lib}/ext"/> ! <property name="dist.logs" value="${dist.home}/logs"/> ! <property name="dist.webapp" value="${module.root}/webapp"/> ! <property name="dist.webapp.webinf" value="${dist.webapp}/WEB-INF"/> ! <property name="dist.webapp.webinf.classes" value="${dist.webapp.webinf}/classes"/> ! <property name="dist.webapp.webinf.lib" value="${dist.webapp.webinf}/lib"/> ! <property name="src.home" value="${module.root}/src"/> ! <property name="src.bin" value="${src.home}/bin"/> ! <property name="src.conf" value="${src.home}/conf"/> ! <property name="src.etc" value="${src.home}/etc"/> ! <property name="src.main" value="${src.home}/main"/> ! <property name="src.resources" value="${src.home}/resources"/> ! <property name="src.webapp" value="${src.home}/webapp"/> ! <property name="src.webapp.content" value="${src.webapp}/content"/> ! <property name="src.webapp.resources" value="${src.webapp}/resources"/> ! <!-- ==================== Compilation Classpath =========================== --> ! <path id="compile.classpath"> ! <fileset dir="${ejtools.common.root}" includes="*.jar"/> ! <fileset dir="${ejtools.adwt.root}" includes="*.jar"/> ! <fileset dir="${ejtools.xmlweb.root}" includes="*.jar"/> ! <fileset dir="${apache.ant.root}" includes="*.jar"/> ! <fileset dir="${apache.crimson.root}" includes="*.jar"/> ! <fileset dir="${apache.log4j.root}" includes="*.jar"/> ! <fileset dir="${apache.struts.root}" includes="*.jar"/> ! <fileset dir="${apache.xalan.root}" includes="*.jar"/> ! <fileset dir="${dreambean.awt.root}" includes="*.jar"/> ! <fileset dir="${jboss.client.root}" includes="*.jar"/> ! <fileset dir="${jboss.jmx.root}" includes="*.jar"/> ! <fileset dir="${sourceforge.xdoclet.root}" includes="*.jar"/> ! <fileset dir="${sun.j2ee.root}" includes="*.jar"/> ! <fileset dir="${sun.jaxp.root}" includes="*.jar"/> ! <fileset dir="${sun.jmx.root}" includes="*.jar"/> ! <fileset dir="${sun.jndi.root}" includes="*.jar"/> ! <fileset dir="${sun.jsr77.root}" includes="*.jar"/> ! <fileset dir="${sun.jsr88.root}" includes="*.jar"/> ! <fileset dir="${sun.swing.root}" includes="*.jar"/> ! </path> ! <!-- ==================== Info Target ================================== --> ! <target name="info"> ! <echo message="------------------------------------------------------------"/> ! <echo message="Module Application : ${module.name}"/> ! <echo message="------------------------------------------------------------"/> ! </target> ! <!-- ==================== Prepare Target ================================== --> ! <target name="prepare" depends="info"> ! <mkdir dir="${build.home}"/> ! <mkdir dir="${build.classes}"/> ! <mkdir dir="${build.doc}"/> ! <mkdir dir="${build.doc.api}"/> ! <mkdir dir="${build.doc.todo}"/> ! <mkdir dir="${build.etc}"/> ! <mkdir dir="${build.lib}"/> ! <mkdir dir="${build.src}"/> ! <mkdir dir="${dist.home}"/> ! <mkdir dir="${dist.bin}"/> ! <mkdir dir="${dist.conf}"/> ! <mkdir dir="${dist.lib}"/> ! <mkdir dir="${dist.lib.ext}"/> ! <mkdir dir="${dist.logs}"/> ! <mkdir dir="${dist.webapp}"/> ! <mkdir dir="${dist.webapp.webinf}"/> ! <mkdir dir="${dist.webapp.webinf.classes}"/> ! <mkdir dir="${dist.webapp.webinf.lib}"/> ! <available file="${module.root}/lib.properties" property="has.lib.file"/> ! <available file="${module.root}/lib.ext.properties" property="has.lib.ext.file"/> ! <available file="${src.etc}/beaninfo" property="has.dir.etc.beaninfo"/> ! <copy todir="${build.etc}"> ! <fileset dir="${src.etc}"> ! <include name="*.mf"/> ! </fileset> ! <filterset> ! <filter token="module.name" value="${module.display.name}"/> ! <filter token="version.major" value="${version.major}"/> ! <filter token="version.minor" value="${version.minor}"/> ! <filter token="version.revision" value="${version.revision}"/> ! <filter token="version.tag" value="${version.tag}"/> ! </filterset> ! </copy> ! </target> ! <!-- ==================== Compile Target ================================== --> ! <target name="compile" depends="prepare" description="Compile Java sources"> ! <!-- Compile Java classes as necessary --> ! <javac srcdir="${src.main}" destdir="${build.classes}" debug="${compile.debug}" deprecation="${compile.deprecation}" optimize="${compile.optimize}"> ! <classpath refid="compile.classpath"/> ! </javac> ! <copy todir="${build.classes}"> ! <fileset dir="${src.resources}"> ! <include name="**/*.properties"/> ! <include name="**/*.gif"/> ! <include name="**/*.png"/> ! </fileset> ! </copy> ! </target> ! <!-- ==================== XMLBeans Target ================================== --> ! <target name="xmlbeans" depends="compile" if="has.dir.etc.beaninfo"> ! <mkdir dir="${build.src}"/> ! <xmlbean destdir="${build.src}" srcdir="../${src.etc}/beaninfo" includes="**" excludes="**/CVS/**"/> ! <javac srcdir="${build.src}" destdir="${build.classes}" classpath="${classpath}" debug="${compile.debug}" deprecation="${compile.deprecation}" optimize="${compile.optimize}" includes="**/*BeanInfo.java" excludes="**/CVS/**"> ! <classpath refid="compile.classpath"/> ! </javac> ! </target> ! <!-- ==================== Build Target ===================================== --> ! <target name="build" depends="compile,xmlbeans" description="Create binary"> ! <!-- Create the Bootstrap JAR file --> ! <jar jarfile="${build.lib}/run.jar" basedir="${build.classes}" manifest="${build.etc}/run.mf" includes="${module.starter}*.*"/> ! <!-- Create the Module JAR file --> ! <jar jarfile="${build.lib}/${module.name}.jar" basedir="${build.classes}" manifest="${build.etc}/${module.name}.mf" excludes="${module.starter}*.*"/> ! </target> ! <!-- ==================== Dist Target ===================================== --> ! <target name="dist" depends="dist.copy.lib,dist.copy.lib.ext" description=""/> ! <!-- ==================== Dist Binaries Copy Target ===================================== --> ! <target name="dist.copy" depends="build" description=""> ! <copy todir="${dist.bin}"> ! <fileset dir="${src.bin}"/> ! </copy> ! <copy todir="${dist.conf}"> ! <fileset dir="${src.conf}"/> ! </copy> ! <copy todir="${dist.bin}"> ! <fileset dir="${build.lib}"> ! <include name="run.jar"/> ! </fileset> ! </copy> ! <copy todir="${dist.lib}"> ! <fileset dir="${build.lib}"> ! <include name="${module.name}.jar"/> ! </fileset> ! </copy> ! </target> ! <!-- ==================== Dist Libraries Copy Target ===================================== --> ! <target name="dist.copy.lib" depends="dist.copy" description="" if="has.lib.file"> ! <copy todir="${dist.lib}"> ! <mapper type="flatten"/> ! <fileset dir="." includesfile="${module.root}/lib.properties"/> ! </copy> ! </target> ! <!-- ==================== Dist External Libraires Target ===================================== --> ! <target name="dist.copy.lib.ext" depends="dist.copy" description="" if="has.lib.ext.file"> ! <copy todir="${dist.lib.ext}"> ! <mapper type="flatten"/> ! <fileset dir="." includesfile="${module.root}/lib.ext.properties"/> ! </copy> ! </target> ! <!-- ==================== WebApp Target ===================================== --> ! <target name="webapp" depends="build" description="" if="has.lib.ext.file"> ! <copy todir="${dist.webapp}"> ! <fileset dir="${src.webapp.content}"/> ! </copy> ! <copy todir="${dist.webapp.webinf.classes}"> ! <fileset dir="${build.classes}"/> ! </copy> ! <copy todir="${dist.webapp.webinf.lib}"> ! <mapper type="flatten"/> ! <fileset dir="." includesfile="${module.root}/webapp.properties"/> ! </copy> ! <jar jarfile="${dist.home}/${module.name}.war" basedir="${dist.webapp}"/> ! </target> ! <!-- ==================== Javadoc Target ================================== --> ! <target name="javadoc" depends="prepare" description="Create Javadoc API documentation" if="generate.javadoc"> ! <javadoc sourcepath="${src.main}" destdir="${build.doc.api}" packagenames="net.sourceforge.ejtools.*" windowtitle="${module.javadoc.title}" stylesheetfile="build/css/stylesheet.css"> ! <classpath refid="compile.classpath"/> ! </javadoc> ! </target> ! <!-- ==================== Todo Target =================================== --> ! <target name="todo" depends="prepare" description="Create To Do documentation"> ! <todo sourcepath="${src.main}" destdir="${build.doc.todo}" classpathref="compile.classpath"> ! <fileset dir="${src.main}"> ! <include name="**/*.java"/> ! </fileset> ! <info projectname="${module.display.name}"/> ! </todo> ! <copy file="build/css/info.css" todir="${build.doc.todo}" overwrite="yes"/> ! </target> ! <!-- ==================== Package Target =================================== --> ! <target name="package" depends="dist, webapp" description=""> ! <tar tarfile="${output.root}/${module.name}.tar"> ! <tarfileset dir="${dist.home}" mode="755"> ! <include name="${dist.bin}/run.sh"/> ! </tarfileset> ! <tarfileset dir="${dist.home}"> ! <include name="${dist.home}/**"/> ! <exclude name="${dist.bin}/run.sh"/> ! </tarfileset> ! </tar> ! <zip zipfile="${output.root}/${module.name}.zip"> ! <fileset dir="${dist.home}"/> ! </zip> ! </target> ! <!-- ==================== SVG Logo Target =================================== --> ! <target name="logo" depends="prepare"> ! <copy todir="${src.resources}/images"> ! <fileset dir="build/logo"> ! <include name="*.svg"/> ! </fileset> ! <filterset> ! <filter token="module.name" value="${module.display.name}"/> ! <filter token="version.major" value="${version.major}"/> ! <filter token="version.minor" value="${version.minor}"/> ! <filter token="version.revision" value="${version.revision}"/> ! <filter token="version.tag" value="${version.tag}"/> ! </filterset> ! </copy> ! <java jar="${apache.batik.root}/batik-rasterizer.jar" fork="true"> ! <arg value="-d"/> ! <arg value="${build.classes}/images"/> ! <arg value="-m"/> ! <arg value="image/png"/> ! <arg value="-w"/> ! <arg value="350"/> ! <arg value="-h"/> ! <arg value="100"/> ! <arg value="${src.resources}/images/logo.svg"/> ! </java> ! <delete file="${src.resources}/images/logo.svg"/> ! </target> ! <!-- ==================== Clean Target ==================================== --> ! <target name="clean" depends="info" description="Delete old build and dist directories"> ! <delete dir="${build.home}"/> ! <delete dir="${dist.home}"/> ! <delete dir="${dist.webapp}"/> ! </target> ! </project> --- 1,268 ---- ! <?xml version="1.0"?> ! <!-- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at gnu.org. ! * ! * $Revision$ ! */ ! --> ! <project name="Generic Build File for Applications" default="dist" basedir="."> ! <!-- ==================== Global Definitions ======================== --> ! <property file="build/general.properties"/> ! <property file="build/location.properties"/> ! <!-- ==================== Task Definitions ======================== --> ! <taskdef name="xmlbean" classname="com.dreambean.xmlbeans.ant.XMLBeans"/> ! <taskdef name="todo" classname="xdoclet.doc.DocumentDocletTask"/> ! <!-- ==================== Module Definition ======================== --> ! <property name="module.root" value="${applications.root}/${module.name}"/> ! <!-- ==================== File and Directory Names ======================== --> ! <property name="build.home" value="${module.root}/output"/> ! <property name="build.classes" value="${build.home}/classes"/> ! <property name="build.conf" value="${build.home}/conf"/> ! <property name="build.doc" value="${build.home}/doc"/> ! <property name="build.doc.api" value="${build.doc}/api"/> ! <property name="build.doc.todo" value="${build.doc}/todo"/> ! <property name="build.etc" value="${build.home}/etc"/> ! <property name="build.lib" value="${build.home}/lib"/> ! <property name="build.src" value="${build.home}/src"/> ! <property name="dist.home" value="${module.root}/dist"/> ! <property name="dist.bin" value="${dist.home}/bin"/> ! <property name="dist.conf" value="${dist.home}/conf"/> ! <property name="dist.doc" value="${dist.home}/doc"/> ! <property name="dist.lib" value="${dist.home}/lib"/> ! <property name="dist.lib.ext" value="${dist.lib}/ext"/> ! <property name="dist.logs" value="${dist.home}/logs"/> ! <property name="dist.webapp" value="${module.root}/webapp"/> ! <property name="dist.webapp.webinf" value="${dist.webapp}/WEB-INF"/> ! <property name="dist.webapp.webinf.classes" value="${dist.webapp.webinf}/classes"/> ! <property name="dist.webapp.webinf.lib" value="${dist.webapp.webinf}/lib"/> ! <property name="src.home" value="${module.root}/src"/> ! <property name="src.bin" value="${src.home}/bin"/> ! <property name="src.conf" value="${src.home}/conf"/> ! <property name="src.etc" value="${src.home}/etc"/> ! <property name="src.main" value="${src.home}/main"/> ! <property name="src.resources" value="${src.home}/resources"/> ! <property name="src.webapp" value="${src.home}/webapp"/> ! <property name="src.webapp.content" value="${src.webapp}/content"/> ! <property name="src.webapp.resources" value="${src.webapp}/resources"/> ! <!-- ==================== Compilation Classpath =========================== --> ! <path id="compile.classpath"> ! <fileset dir="${ejtools.common.root}" includes="*.jar"/> ! <fileset dir="${ejtools.adwt.root}" includes="*.jar"/> ! <fileset dir="${ejtools.xmlweb.root}" includes="*.jar"/> ! <fileset dir="${apache.ant.root}" includes="*.jar"/> ! <fileset dir="${apache.crimson.root}" includes="*.jar"/> ! <fileset dir="${apache.log4j.root}" includes="*.jar"/> ! <fileset dir="${apache.struts.root}" includes="*.jar"/> ! <fileset dir="${apache.tomcat.root}" includes="*.jar"/> ! <fileset dir="${apache.xalan.root}" includes="*.jar"/> ! <fileset dir="${dreambean.awt.root}" includes="*.jar"/> ! <fileset dir="${jboss.client.root}" includes="*.jar"/> ! <fileset dir="${jboss.jmx.root}" includes="*.jar"/> ! <fileset dir="${sourceforge.xdoclet.root}" includes="*.jar"/> ! <fileset dir="${sun.j2ee.root}" includes="*.jar"/> ! <fileset dir="${sun.jaxp.root}" includes="*.jar"/> ! <fileset dir="${sun.jmx.root}" includes="*.jar"/> ! <fileset dir="${sun.jndi.root}" includes="*.jar"/> ! <fileset dir="${sun.jsr77.root}" includes="*.jar"/> ! <fileset dir="${sun.jsr88.root}" includes="*.jar"/> ! <fileset dir="${sun.swing.root}" includes="*.jar"/> ! </path> ! <!-- ==================== Info Target ================================== --> ! <target name="info"> ! <echo message="------------------------------------------------------------"/> ! <echo message="Module Application : ${module.name}"/> ! <echo message="------------------------------------------------------------"/> ! </target> ! <!-- ==================== Prepare Target ================================== --> ! <target name="prepare" depends="info"> ! <mkdir dir="${build.home}"/> ! <mkdir dir="${build.classes}"/> ! <mkdir dir="${build.doc}"/> ! <mkdir dir="${build.doc.api}"/> ! <mkdir dir="${build.doc.todo}"/> ! <mkdir dir="${build.etc}"/> ! <mkdir dir="${build.lib}"/> ! <mkdir dir="${build.src}"/> ! <mkdir dir="${dist.home}"/> ! <mkdir dir="${dist.bin}"/> ! <mkdir dir="${dist.conf}"/> ! <mkdir dir="${dist.lib}"/> ! <mkdir dir="${dist.lib.ext}"/> ! <mkdir dir="${dist.logs}"/> ! <mkdir dir="${dist.webapp}"/> ! <mkdir dir="${dist.webapp.webinf}"/> ! <mkdir dir="${dist.webapp.webinf.classes}"/> ! <mkdir dir="${dist.webapp.webinf.lib}"/> ! <available file="${module.root}/lib.properties" property="has.lib.file"/> ! <available file="${module.root}/lib.ext.properties" property="has.lib.ext.file"/> ! <available file="${src.etc}/beaninfo" property="has.dir.etc.beaninfo"/> ! <copy todir="${build.etc}"> ! <fileset dir="${src.etc}"> ! <include name="*.mf"/> ! </fileset> ! <filterset> ! <filter token="module.name" value="${module.display.name}"/> ! <filter token="version.major" value="${version.major}"/> ! <filter token="version.minor" value="${version.minor}"/> ! <filter token="version.revision" value="${version.revision}"/> ! <filter token="version.tag" value="${version.tag}"/> ! </filterset> ! </copy> ! </target> ! <!-- ==================== Compile Target ================================== --> ! <target name="compile" depends="prepare" description="Compile Java sources"> ! <!-- Compile Java classes as necessary --> ! <javac srcdir="${src.main}" destdir="${build.classes}" debug="${compile.debug}" deprecation="${compile.deprecation}" optimize="${compile.optimize}"> ! <classpath refid="compile.classpath"/> ! </javac> ! <copy todir="${build.classes}"> ! <fileset dir="${src.resources}"> ! <include name="**/*.properties"/> ! <include name="**/*.gif"/> ! <include name="**/*.png"/> ! </fileset> ! </copy> ! </target> ! <!-- ==================== XMLBeans Target ================================== --> ! <target name="xmlbeans" depends="compile" if="has.dir.etc.beaninfo"> ! <mkdir dir="${build.src}"/> ! <xmlbean destdir="${build.src}" srcdir="../${src.etc}/beaninfo" includes="**" excludes="**/CVS/**"/> ! <javac srcdir="${build.src}" destdir="${build.classes}" classpath="${classpath}" debug="${compile.debug}" deprecation="${compile.deprecation}" optimize="${compile.optimize}" includes="**/*BeanInfo.java" excludes="**/CVS/**"> ! <classpath refid="compile.classpath"/> ! </javac> ! </target> ! <!-- ==================== Build Target ===================================== --> ! <target name="build" depends="compile,xmlbeans" description="Create binary"> ! <!-- Create the Bootstrap JAR file --> ! <jar jarfile="${build.lib}/run.jar" basedir="${build.classes}" manifest="${build.etc}/run.mf" includes="${module.starter}*.*"/> ! <!-- Create the Module JAR file --> ! <jar jarfile="${build.lib}/${module.name}.jar" basedir="${build.classes}" manifest="${build.etc}/${module.name}.mf" excludes="${module.starter}*.*"/> ! </target> ! <!-- ==================== Dist Target ===================================== --> ! <target name="dist" depends="dist.copy.lib,dist.copy.lib.ext" description=""/> ! <!-- ==================== Dist Binaries Copy Target ===================================== --> ! <target name="dist.copy" depends="build" description=""> ! <copy todir="${dist.bin}"> ! <fileset dir="${src.bin}"/> ! </copy> ! <copy todir="${dist.conf}"> ! <fileset dir="${src.conf}"/> ! </copy> ! <copy todir="${dist.bin}"> ! <fileset dir="${build.lib}"> ! <include name="run.jar"/> ! </fileset> ! </copy> ! <copy todir="${dist.lib}"> ! <fileset dir="${build.lib}"> ! <include name="${module.name}.jar"/> ! </fileset> ! </copy> ! </target> ! <!-- ==================== Dist Libraries Copy Target ===================================== --> ! <target name="dist.copy.lib" depends="dist.copy" description="" if="has.lib.file"> ! <copy todir="${dist.lib}"> ! <mapper type="flatten"/> ! <fileset dir="." includesfile="${module.root}/lib.properties"/> ! </copy> ! </target> ! <!-- ==================== Dist External Libraires Target ===================================== --> ! <target name="dist.copy.lib.ext" depends="dist.copy" description="" if="has.lib.ext.file"> ! <copy todir="${dist.lib.ext}"> ! <mapper type="flatten"/> ! <fileset dir="." includesfile="${module.root}/lib.ext.properties"/> ! </copy> ! </target> ! <!-- ==================== WebApp Target ===================================== --> ! <target name="webapp" depends="build" description=""> ! <copy todir="${dist.webapp}"> ! <fileset dir="${src.webapp.content}"/> ! </copy> ! <copy todir="${dist.webapp.webinf.classes}"> ! <fileset dir="${build.classes}"/> ! </copy> ! <copy todir="${dist.webapp.webinf.lib}"> ! <mapper type="flatten"/> ! <fileset dir="." includesfile="${module.root}/webapp.properties"/> ! </copy> ! <java classname="org.apache.jasper.JspC" fork="true"> ! <classpath refid="compile.classpath"/> ! <arg value="-d"/> ! <arg value="${build.src}"/> ! <arg value="-uriroot"/> ! <arg value="${dist.webapp}"/> ! <arg value="-p"/> ! <arg value="${module.package}.servlet"/> ! <arg value="${dist.webapp}/index.jsp"/> ! </java> ! <jar jarfile="${dist.home}/${module.name}.war" basedir="${dist.webapp}"/> ! </target> ! <!-- ==================== Javadoc Target ================================== --> ! <target name="javadoc" depends="prepare" description="Create Javadoc API documentation" if="generate.javadoc"> ! <javadoc sourcepath="${src.main}" destdir="${build.doc.api}" packagenames="${module.package}.*" windowtitle="${module.javadoc.title}" stylesheetfile="build/css/stylesheet.css"> ! <classpath refid="compile.classpath"/> ! </javadoc> ! </target> ! <!-- ==================== Todo Target =================================== --> ! <target name="todo" depends="prepare" description="Create To Do documentation"> ! <todo sourcepath="${src.main}" destdir="${build.doc.todo}" classpathref="compile.classpath"> ! <fileset dir="${src.main}"> ! <include name="**/*.java"/> ! </fileset> ! <info projectname="${module.display.name}"/> ! </todo> ! <copy file="build/css/info.css" todir="${build.doc.todo}" overwrite="yes"/> ! </target> ! <!-- ==================== Package Target =================================== --> ! <target name="package" depends="dist, webapp" description=""> ! <tar tarfile="${output.root}/${module.name}.tar"> ! <tarfileset dir="${dist.home}" mode="755"> ! <include name="${dist.bin}/run.sh"/> ! </tarfileset> ! <tarfileset dir="${dist.home}"> ! <include name="${dist.home}/**"/> ! <exclude name="${dist.bin}/run.sh"/> ! </tarfileset> ! </tar> ! <zip zipfile="${output.root}/${module.name}.zip"> ! <fileset dir="${dist.home}"/> ! </zip> ! </target> ! <!-- ==================== SVG Logo Target =================================== --> ! <target name="logo" depends="prepare"> ! <copy todir="${src.resources}/images"> ! <fileset dir="build/logo"> ! <include name="*.svg"/> ! </fileset> ! <filterset> ! <filter token="module.name" value="${module.display.name}"/> ! <filter token="version.major" value="${version.major}"/> ! <filter token="version.minor" value="${version.minor}"/> ! <filter token="version.revision" value="${version.revision}"/> ! <filter token="version.tag" value="${version.tag}"/> ! </filterset> ! </copy> ! <java jar="${apache.batik.root}/batik-rasterizer.jar" fork="true"> ! <arg value="-d"/> ! <arg value="${build.classes}/images"/> ! <arg value="-m"/> ! <arg value="image/png"/> ! <arg value="-w"/> ! <arg value="350"/> ! <arg value="-h"/> ! <arg value="100"/> ! <arg value="${src.resources}/images/logo.svg"/> ! </java> ! <delete file="${src.resources}/images/logo.svg"/> ! </target> ! <!-- ==================== Clean Target ==================================== --> ! <target name="clean" depends="info" description="Delete old build and dist directories"> ! <delete dir="${build.home}"/> ! <delete dir="${dist.home}"/> ! <delete dir="${dist.webapp}"/> ! </target> ! </project> Index: general.properties =================================================================== RCS file: /cvsroot/ejtools/build/general.properties,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** general.properties 5 May 2002 19:49:41 -0000 1.4 --- general.properties 6 May 2002 20:36:15 -0000 1.5 *************** *** 1,34 **** ! # ================================================================================ ! # EJTools, the Enterprise Java Tools ! # ! # Distributable under LGPL license. ! # See terms of license at gnu.org. ! # ! # $Revision$ ! # ================================================================================ ! ! # ================================================================================ ! # Properties File for the EJTools Project ! # General Purpose Properties ! # ================================================================================ ! ! # EJTools Version ! # -------------------------------------------------------------------------------- ! ejtools.version.major=1 ! ejtools.version.minor=0 ! ejtools.version.revision=0 ! ejtools.version.tag=alpha ! ! # Compilation options ! # -------------------------------------------------------------------------------- ! compile.debug=true ! compile.deprecation=true ! compile.optimize=true ! ! # Folders options ! # -------------------------------------------------------------------------------- ! applications.root=applications ! libraries.root=libraries ! thirdparty.root=thirdparty ! website.root=website ! output.root=output --- 1,34 ---- ! # ================================================================================ ! # EJTools, the Enterprise Java Tools ! # ! # Distributable under LGPL license. ! # See terms of license at gnu.org. ! # ! # $Revision$ ! # ================================================================================ ! ! # ================================================================================ ! # Properties File for the EJTools Project ! # General Purpose Properties ! # ================================================================================ ! ! # EJTools Version ! # -------------------------------------------------------------------------------- ! ejtools.version.major=1 ! ejtools.version.minor=0 ! ejtools.version.revision=0 ! ejtools.version.tag=alpha ! ! # Compilation options ! # -------------------------------------------------------------------------------- ! compile.debug=true ! compile.deprecation=true ! compile.optimize=true ! ! # Folders options ! # -------------------------------------------------------------------------------- ! applications.root=applications ! libraries.root=libraries ! thirdparty.root=thirdparty ! website.root=website ! output.root=output |