You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/07/24 19:18:35 UTC
DO NOT REPLY [Bug 21860] New: -
-D command line option not working
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21860>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21860
-D command line option not working
Summary: -D command line option not working
Product: Ant
Version: 1.5.3
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Major
Priority: Other
Component: Build Process
AssignedTo: dev@ant.apache.org
ReportedBy: justin_luzier@neimanmarcus.com
I'm attempting to use the -D option to override a property called "package" in
my build.xml file. I'm running the script using the following command:
ant deploy_visual_sat -Dpackage=visual
I receive the following error:
BUILD FAILED
Target `�Dpackage' does not exist in this project.
at org.apache.tools.ant.Project.tsort(Project.java:1681)
at org.apache.tools.ant.Project.topoSort(Project.java:1603)
at org.apache.tools.ant.Project.executeTarget(Project.java:1205)
at org.apache.tools.ant.Project.executeTargets(Project.java:1085
at org.apache.tools.ant.Main.runBuild(Main.java:661)
at org.apache.tools.ant.Main.startAnt(Main.java:220)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:162)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:85)
Not sure what the � character is. Seems to not recoginize the -. The script
runs, throws this error and doesn't override the package param which is
currently set to:
<property name="package" value="ecare"/>
I'm running Ant via a Win2k "cmd" window.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org