krysalis-sandbox/workflow build.xml,NONE,1.1
| Newsgroups | gmane.comp.krysalis.sandbox |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/metamorphosis/krysalis-sandbox/workflow
In directory sc8-pr-cvs1:/tmp/cvs-serv19495
Added Files:
build.xml
Log Message:
Made class names more consistent.
Installed ant build system.
Using the proposal of the Lenya project for the first
implementation.
--- NEW FILE: build.xml ---
<project name="workflow" default="compile" basedir=".">
<!-- set global properties for this build -->
<property name="source.java" value="src"/>
<property name="source.libaries" value="lib"/>
<property name="source.docs" value="docs"/>
<property name="build" value="build"/>
<property name="build.java" value="${build}/classes"/>
<property name="build.jar" value="${build}/jar"/>
<property name="build.javadoc" value="${build}/javadoc"/>
<path id="class.path">
<pathelement location="."/>
<fileset dir="${source.libaries}">
<include name="*.jar"/>
</fileset>
</path>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build.java}"/>
<mkdir dir="${build.jar}"/>
<mkdir dir="${build.javadoc}"/>
</target>
<target name="compile" depends="init">
<!-- Compile the java code -->
<javac srcdir="${source.java}"
destdir="${build.java}"
debug="on"
optimize="off"
fork="true"
memoryInitialSize="80m"
memoryMaximumSize="80m">
<classpath refid="class.path"/>
</javac>
</target>
<target name="javadoc" depends ="compile">
<javadoc packagenames="org.krysalis.*"
sourcepath="${source.java}"
destdir="${build.javadoc}"
author="true"
version="true"
maxmemory="80m"
use="true"
access="protected"
windowtitle="WorkFlow"
doctitle="WorkFlow">
<classpath refid="class.path"/>
</javadoc>
</target>
<target name="package" depends="compile">
<mkdir dir="${build.jar}"/>
</target>
<target name="all" depends="compile, package, javadoc" >
</target>
<target name="clean">
<delete dir="${build.java}"/>
<delete dir="${build.jars}"/>
<delete dir="${build.javadocs}"/>
<delete dir="${build}"/>
</target>
</project>
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en