Community
Participate
Working Groups
Similar to bug 13130 This bug is still not fixed!!! I use build 20020618. in preferences/external tools/ant i'v removed the ant.jar and optional.jar and replaced them by their counterparts from ant1.5beta2. But i don't know if this is relevant. I've a build.xml with a build.properties in the same directory build.propties contains -------------------------------------------------- someproperty = OKIDOKI -------------------------------------------------- build task contains -------------------------------------------------- <?xml version = '1.0' encoding = 'ISO- 8859-1' ?> <project name="test" default="ECHO"> <target name="ECHO"> <echo> someproperty=${someproperty} basedir=${basedir} ant.file=${ant.file} ant.version=${ant.version} ant.project.name=${ant.project.name} ant.java.version=${ant.java.version} </echo> </target> </project> -------------------------------------------------- If I than right click one the build.xml, select the echo task and enter following in arguments -propertyfile build.properties than i get this result ********** Arguments: -logfile build.log someproperty=${someproperty} basedir=D:\views\test\src ant.file=d:\views\test\src\build.xml ant.version=Ant version 1.5Beta2 compiled on May 31 2002 ant.project.name=test ant.java.version=1.3 ***************** If i so the same on the command line shell> ant -propertyfile build.properties i get ****************** Buildfile: build.xml ECHO: [echo] [echo] someproperty=OKIDOKI [echo] basedir=D:\views\test\src [echo] ant.file=D:\views\test\src\build.xml [echo] ant.version=Apache Ant version 1.5Beta2 compiled on May 31 2002 [echo] ant.project.name=test [echo] ant.java.version=1.3 [echo] BUILD SUCCESSFUL Total time: 1 second ********************* SO i guess the antrunner just doesn't use the arguments?
Could you try setting the value in the argumment to see if this is a regression of bug 13130? -Dsomeproperty=OKIDOKI
Is the argument -propertyfile new to 1.5? If so, that is the problem and will be addressed once we migrate to Ant 1.5 (after 2.0).
The setting propertyfile is indeed new to the 1.5 I'll try to do the - Dsomeproperty=OKIDOKI Back later
Defer after 2.0. Please reopen if you find it is a regression.
Reopening for investigation now that Ant 1.5 is released.
OK, i'm following the progress .. :)
This bug has been fixed through fixing of several others. See bug 23924 , bug 25133. *** This bug has been marked as a duplicate of 25133 ***