CVS: TapestryBook build.xml,NONE,1.1 .classpath,1.10,1.11
Howard Lewis Ship <[email protected]> Sat, 12 Jul 2003 08:49:01 -0700
| Newsgroups | gmane.comp.java.tapestry.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tapestry/TapestryBook
In directory sc8-pr-cvs1:/tmp/cvs-serv24020
Modified Files:
.classpath
Added Files:
build.xml
Log Message:
Reorganize more examples for common build file.
--- NEW FILE: build.xml ---
<?xml version="1.0"?>
<!-- $Id: build.xml,v 1.1 2003/07/12 15:48:59 hship Exp $ -->
<project name="Tapestry Book Examples" default="deploy">
<target name="clean" description="Deletes all derived files.">
<ant dir="examples" target="clean"/>
<ant dir="hangman1" target="clean"/>
<ant dir="hangman2" target="clean"/>
<ant dir="bannerads" target="clean"/>
</target>
<target name="deploy"
depends="check-properties"
description="Build and deploy all WARs.">
<ant dir="examples" target="deploy"/>
<ant dir="hangman1" target="deploy"/>
<ant dir="hangman2" target="deploy"/>
<ant dir="bannerads" target="deploy"/>
</target>
<target name="check-properties">
<property name="props.file" value="common/build.properties"/>
<available property="exists.build.properties" type="file" file="${props.file}"/>
<fail unless="exists.build.properties"
message="${props.file} does not exist. See ${props.file}.template for instructions."/>
<property file="${props.file}"/>
<fail unless="tapestry.dist.dir"
message="Property tapestry.dist.dir not specified in ${props.file}."
/>
<available property="exists.tapestry.dist.dir" type="dir" file="${tapestry.dist.dir}"/>
<fail unless="exists.tapestry.dist.dir"
message="Directory ${tapestry.dist.dir} (tapestry.dist.dir from ${props.file}) does not exist."
/>
</target>
</project>
Index: .classpath
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/.classpath,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** .classpath 12 Jul 2003 04:16:46 -0000 1.10
--- .classpath 12 Jul 2003 15:48:59 -0000 1.11
***************
*** 1,10 ****
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" path="hangman1/src"/>
- <classpathentry kind="src" path="hangman2/src"/>
<classpathentry kind="var" path="JRE_LIB" sourcepath="JRE_SRC"/>
<classpathentry kind="src" path="/jakarta-tapestry"/>
- <classpathentry kind="src" path="bannerads/src"/>
<classpathentry kind="src" path="examples/src/java"/>
<classpathentry kind="output" path="bin"/>
</classpath>
--- 1,10 ----
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="var" path="JRE_LIB" sourcepath="JRE_SRC"/>
<classpathentry kind="src" path="/jakarta-tapestry"/>
<classpathentry kind="src" path="examples/src/java"/>
+ <classpathentry kind="src" path="hangman1/src/java"/>
+ <classpathentry kind="src" path="hangman2/src/java"/>
+ <classpathentry kind="src" path="bannerads/src/java"/>
<classpathentry kind="output" path="bin"/>
</classpath>
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1