Use ${project.root} where you reference ../build for better adaptability when things change.
Should probably also use a FileSet to find the file under ${project.root}/output/**/deploy/jetty-ejb.jar and so on so that you don't have to change your build file when the project version changes. --jason On Sat, 2002-02-16 at 06:17, Jules Gosnell wrote: > User: jules_gosnell > Date: 02/02/16 06:17:53 > > Modified: jetty build.xml > Log: > our position in the tree has changed > > Revision Changes Path > 1.34 +7 -7 contrib/jetty/build.xml > > Index: build.xml > =================================================================== > RCS file: /cvsroot/jboss/contrib/jetty/build.xml,v > retrieving revision 1.33 > retrieving revision 1.34 > diff -u -r1.33 -r1.34 > --- build.xml 15 Feb 2002 06:32:11 -0000 1.33 > +++ build.xml 16 Feb 2002 14:17:53 -0000 1.34 > @@ -515,13 +515,13 @@ > description="Deploy and Test the Jetty plugin"> > > <!-- > - <delete file="../../build/output/jboss-3.0.0DR1/deploy/jbosstest-web.ear"/> > + <delete file="../build/output/jboss-3.0.0DR1/deploy/jbosstest-web.ear"/> > --> > > <echo>Undeploying old Jetty plugin...</echo> > - <delete file="../../build/output/jboss-3.0.0DR1/deploy/${module.name}.sar"/> > + <delete file="../build/output/jboss-3.0.0DR1/deploy/${module.name}.sar"/> > <!-- > - <delete file="../../build/output/jboss-3.0.0DR1/deploy/jetty-ejb.jar"/> > + <delete file="../build/output/jboss-3.0.0DR1/deploy/jetty-ejb.jar"/> > --> > <sleep seconds="5"/> > > @@ -529,17 +529,17 @@ > <!-- > <copy file="${build.lib}/jetty-ejb.jar" > filtering="no" > - todir="../../build/output/jboss-3.0.0DR1/deploy" > + todir="../build/output/jboss-3.0.0DR1/deploy" > /> > --> > <copy file="${build.lib}/${module.name}.sar" > filtering="no" > - todir="../../build/output/jboss-3.0.0DR1/deploy" > + todir="../build/output/jboss-3.0.0DR1/deploy" > /> > > <sleep seconds="5"/> > > - <exec dir="../../testsuite/" > + <exec dir="../testsuite/" > executable="/bin/sh" > > > <arg value="./build.sh"/> > @@ -553,7 +553,7 @@ > > <!-- > <copy file="../../testsuite/output/lib/jbosstest-web.ear" > - todir="../../build/output/jboss-3.0.0DR1/deploy/" > + todir="../build/output/jboss-3.0.0DR1/deploy/" > filtering="no"/> > --> > > > > > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development