You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rd...@apache.org on 2003/09/28 11:40:51 UTC
cvs commit: jakarta-commons/digester/src/examples/api build.properties.sample build.xml
rdonkin 2003/09/28 02:40:51
Added: digester/src/examples/api build.properties.sample build.xml
Log:
Added build for the examples. Submitted by Simon Kitching.
Revision Changes Path
1.1 jakarta-commons/digester/src/examples/api/build.properties.sample
Index: build.properties.sample
===================================================================
#
# Example build properties
#
# Copy this to build.properties and then edit the properties to
# provide local references.
#
myjars=/home/me/jakarta-commons-jars
commons-beanutils.jar=${myjars}/commons-beanutils.jar
commons-collections.jar=${myjars}/commons-collections.jar
commons-logging.jar=${myjars}/commons-logging.jar
commons-digester.jar=${myjars}/commons-digester.jar
1.1 jakarta-commons/digester/src/examples/api/build.xml
Index: build.xml
===================================================================
<!--
*******************************************************
API Examples Script
===================
Provides helpful services to get folks up and running
the examples quickly.
* Compile - compiles all the examples to the directories
in which the their source files reside.
* Run - runs each example in turn.
Note:
These examples will only build and run if the
rights jars are in the classpath. The classpath
can be set by copying the build.properties.sample file
in this directory to build.properties and then setting
the properties appropriately. Or by editing the
build.properties file (based on the build.properties.sample
file in CVS) so that it contains absolute paths.
Note:
build.xml files are provided in each subdirectory. This
provide similar fuctionality for each example individually.
Note:
The examples are graduated. It is best to look at them
in order. Please consult the documentation for more details.
*******************************************************
-->
<project name="Examples" default="about" basedir=".">
<target name='about'>
<echo>
*******************************************************
API Examples Script
===================
Provides helpful services to get folks up and running
the examples quickly.
* Compile - compiles all the examples to the directories
in which the their source files reside.
* Run - runs each example in turn.
Note:
These examples will only build and run if the
rights jars are in the classpath. The classpath
can be set by copying the build.properties.sample file
in this directory to build.properties and then setting
the properties appropriately. Or by editing the
build.properties file (based on the build.properties.sample
file in CVS) so that it contains absolute paths.
Note:
build.xml files are provided in each subdirectory. This
provide similar fuctionality for each example individually.
Note:
The examples are graduated. It is best to look at them
in order. Please consult the documentation for more details.
*******************************************************
</echo>
</target>
<target name="compile">
<ant dir="addressbook" target="compile"/>
<ant dir="catalog" target="compile"/>
</target>
<target name="run" depends="compile">
<ant dir="addressbook" target="compile"/>
<ant dir="catalog" target="compile"/>
</target>
<target name="clean">
<ant dir="addressbook" target="clean"/>
<ant dir="catalog" target="clean"/>
</target>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org