bodewig 02/01/21 01:18:57
Modified: . build.xml
src/main/org/apache/tools/ant/taskdefs Manifest.java
Log:
Make sure we pass down ant.home to unit tests (needed to make execute
with a change of cwd work on JDK < 1.3).
Fix a copyright line.
Revision Changes Path
1.229 +3 -1 jakarta-ant/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-ant/build.xml,v
retrieving revision 1.228
retrieving revision 1.229
diff -u -r1.228 -r1.229
--- build.xml 18 Jan 2002 16:22:52 -0000 1.228
+++ build.xml 21 Jan 2002 09:18:56 -0000 1.229
@@ -868,8 +868,9 @@
<!-- <jvmarg value="-classic"/> -->
<classpath refid="tests-classpath"/>
+ <sysproperty key="ant.home" value="${ant.home}" />
<sysproperty key="build.tests" value="${build.tests}"/>
-
+
<formatter type="brief" usefile="false" />
<batchtest>
@@ -941,6 +942,7 @@
<junit printsummary="no" haltonfailure="yes" fork="${junit.fork}"
filtertrace="${junit.filtertrace}">
<!-- <jvmarg value="-classic"/> -->
+ <sysproperty key="ant.home" value="${ant.home}" />
<sysproperty key="build.tests" value="${build.tests}"/>
<classpath location="${java.home}/lib/classes.zip" />
<classpath refid="tests-classpath"/>
1.17 +1 -1
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Manifest.java
Index: Manifest.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Manifest.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- Manifest.java 20 Jan 2002 12:37:07 -0000 1.16
+++ Manifest.java 21 Jan 2002 09:18:56 -0000 1.17
@@ -1,7 +1,7 @@
/*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 2001 The Apache Software Foundation. All rights
+ * Copyright (c) 2001-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>