antscript examples?
Tennis Smith <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm trying to turn on various options for my ant invocation, but they aren't
working. Specifically, I'm trying to turn on -debug and -verbose.
Here is my script:
#!/usr/bin/env sh
ANT_HOME="/opt/cruisecontrol/apache-ant-1.7.0"
ANT_CMD=${ANT_HOME}/bin/ant
ANT_OPT="-verbose -debug -emacs -diagnostics"
"$ANT_CMD $ANT_OPT" "$@"
and here is the error resulting from it:
[cc]Jul-23 20:02:24 ScriptRunner - projects/itinerator/build.sh: 1:
/opt/cruisecontrol/apache-ant-1.7.0/bin/ant -verbose -debug -emacs
-diagnostics: not found
What am I doing wrong?
TIA,
-T
------------------------------------------------------------------------------
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user