ASF Bugzilla – Attachment 27489 Details for
Bug 51792
Unable to override system properties with 1.8.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Simple test case demonstrating the problem
testing.log (text/x-log), 1.78 KB, created by
Andrew Stevens
on 2011-09-12 23:16:16 UTC
(
hide
)
Description:
Simple test case demonstrating the problem
Filename:
MIME Type:
Creator:
Andrew Stevens
Created:
2011-09-12 23:16:16 UTC
Size:
1.78 KB
patch
obsolete
>andy@netbook:/tmp$ cat testfile.xml ><project name="syspropstest" default="test" basedir="."> > <property name="notintarget.name" value="Mr. Tickle" /> > <target name="test"> > <property name="intarget.name" value="Little Miss Naughty" /> > <echo message="user.name=${user.name}" /> > <echo message="notintarget.name=${notintarget.name}" /> > <echo message="intarget.name=${intarget.name}" /> > </target> ></project> > >andy@netbook:/tmp$ apache-ant-1.7.1/bin/ant -f testfile.xml >Buildfile: testfile.xml > >test: > [echo] user.name=andy > [echo] notintarget.name=Mr. Tickle > [echo] intarget.name=Little Miss Naughty > >BUILD SUCCESSFUL >Total time: 0 seconds >andy@netbook:/tmp$ apache-ant-1.7.1/bin/ant -Dintarget.name=Bert -Dnotintarget.name=Ernie -Duser.name=Elmo -f testfile.xml >Buildfile: testfile.xml > >test: > [echo] user.name=Elmo > [echo] notintarget.name=Ernie > [echo] intarget.name=Bert > >BUILD SUCCESSFUL >Total time: 0 seconds >andy@netbook:/tmp$ apache-ant-1.8.0/bin/ant -Dintarget.name=Bert -Dnotintarget.name=Ernie -Duser.name=Elmo -f testfile.xml >Buildfile: /tmp/testfile.xml > >test: > [echo] user.name=Elmo > [echo] notintarget.name=Ernie > [echo] intarget.name=Bert > >BUILD SUCCESSFUL >Total time: 1 second >andy@netbook:/tmp$ apache-ant-1.8.1/bin/ant -Dintarget.name=Bert -Dnotintarget.name=Ernie -Duser.name=Elmo -f testfile.xml >Buildfile: /tmp/testfile.xml > >test: > [echo] user.name=Elmo > [echo] notintarget.name=Ernie > [echo] intarget.name=Bert > >BUILD SUCCESSFUL >Total time: 1 second >andy@netbook:/tmp$ apache-ant-1.8.2/bin/ant -Dintarget.name=Bert -Dnotintarget.name=Ernie -Duser.name=Elmo -f testfile.xml >Buildfile: /tmp/testfile.xml > >test: > [echo] user.name=andy > [echo] notintarget.name=Ernie > [echo] intarget.name=Bert > >BUILD SUCCESSFUL >Total time: 1 second
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 51792
: 27489