http://nagoya.apache.org/bugzilla/show_bug.cgi?id=843
*** shadow/843 Mon Mar 5 09:13:07 2001
--- shadow/843.tmp.3675 Mon Mar 5 09:13:07 2001
***************
*** 0 ****
--- 1,55 ----
+ +============================================================================+
+ | Ant task carries over property values from previous ant call |
+ +----------------------------------------------------------------------------+
+ | Bug #: 843 Product: Ant |
+ | Status: NEW Version: 1.3 |
+ | Resolution: Platform: PC |
+ | Severity: Normal OS/Version: Windows NT/2K |
+ | Priority: Component: Core tasks |
+ +----------------------------------------------------------------------------+
+ | Assigned To: [EMAIL PROTECTED] |
+ | Reported By: [EMAIL PROTECTED] |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ As a test I created two ant files, build1.xml and build2.xml. The source for
+ these files is:
+
+ build1.xml:
+
+ <project name="Build Test" default="build">
+ <target name="build">
+ <property name="antfile" value="build1.xml" />
+ <ant antfile="build2.xml" target="build" />
+ </target>
+ </project>
+
+ build2.xml:
+
+ <project name="Build Test" default="build">
+ <target name="build">
+ <property name="antfile" value="build2.xml" />
+ <echo message="antfile: ${antfile}" />
+ </target>
+ </project>
+
+ When I call ant via:
+
+ ant -f build1.xml
+
+ the output I receive is:
+
+ Buildfile: build1.xml
+
+ build:
+
+ build:
+ [echo] antfile: build1.xml
+
+ BUILD SUCCESSFUL
+
+ I would expect that it would display the following instead:
+
+ [echo] antfile: build2.xml