sanders 02/02/02 19:47:18
Modified: proposal/vindico/src/java/org/apache/alexandria/om Ant.java
Log:
First attempt at building the dependent classpath
Revision Changes Path
1.6 +8 -6
jakarta-alexandria/proposal/vindico/src/java/org/apache/alexandria/om/Ant.java
Index: Ant.java
===================================================================
RCS file:
/home/cvs/jakarta-alexandria/proposal/vindico/src/java/org/apache/alexandria/om/Ant.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Ant.java 3 Feb 2002 03:23:50 -0000 1.5
+++ Ant.java 3 Feb 2002 03:47:18 -0000 1.6
@@ -1,7 +1,7 @@
/*
- * $Header:
/home/cvs/jakarta-alexandria/proposal/vindico/src/java/org/apache/alexandria/om/Ant.java,v
1.5 2002/02/03 03:23:50 sanders Exp $
- * $Revision: 1.5 $
- * $Date: 2002/02/03 03:23:50 $
+ * $Header:
/home/cvs/jakarta-alexandria/proposal/vindico/src/java/org/apache/alexandria/om/Ant.java,v
1.6 2002/02/03 03:47:18 sanders Exp $
+ * $Revision: 1.6 $
+ * $Date: 2002/02/03 03:47:18 $
*
* ====================================================================
*
@@ -71,7 +71,7 @@
* Ant provides ...
*
* @author <a href="mailto:[EMAIL PROTECTED]">Scott Sanders</a>
- * @version $Revision: 1.5 $ $Date: 2002/02/03 03:23:50 $
+ * @version $Revision: 1.6 $ $Date: 2002/02/03 03:47:18 $
*/
public class Ant implements IScript {
@@ -153,11 +153,13 @@
if (target != null) {
commandLine += " " + target;
}
+ //FIXME - need to pass properties here
helper.attribute("line", commandLine);
helper.element("arg", true);
- //FIXME - need to pass properties here
- //FIXME - need to set the classpath here
+ helper.element("classpath");
+ getParentProject().addDependenciesToClasspath(helper);
+ helper.popElement();
helper.popElement();
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>