You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by vm...@apache.org on 2003/10/20 22:55:40 UTC
cvs commit: jakarta-cactus/integration/ant build.xml
vmassol 2003/10/20 13:55:40
Modified: framework build.xml
integration/ant build.xml
Log:
Make the build work even if you're not using the clover.jar property (you should then have the clover jar in Ant's lib/ directory).
Revision Changes Path
1.74 +5 -1 jakarta-cactus/framework/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-cactus/framework/build.xml,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- build.xml 19 Oct 2003 20:00:55 -0000 1.73
+++ build.xml 20 Oct 2003 20:55:40 -0000 1.74
@@ -384,6 +384,10 @@
<pathelement location="${clover.jar}"/>
<pathelement location="${log4j.jar}"/>
<path refid="project.classpath"/>
+ <!-- Also add the Ant classpath so that if some jars (such as clover)
+ are located in Ant's lib/ directory, it will still work. Note that
+ this is because the clover.jar property is optional -->
+ <pathelement path="${java.class.path}"/>
</path>
</target>
1.45 +5 -1 jakarta-cactus/integration/ant/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-cactus/integration/ant/build.xml,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- build.xml 13 Jul 2003 22:57:30 -0000 1.44
+++ build.xml 20 Oct 2003 20:55:40 -0000 1.45
@@ -265,6 +265,10 @@
<pathelement location="${junit.jar}"/>
<pathelement path="${target.classes.clover.dir}"/>
<pathelement path="${target.classes.test.dir}"/>
+ <!-- Also add the Ant classpath so that if some jars (such as clover)
+ are located in Ant's lib/ directory, it will still work. Note that
+ this is because the clover.jar property is optional -->
+ <pathelement path="${java.class.path}"/>
</path>
</target>
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org