Community
Participate
Working Groups
ant [options] [target [target2 [target3]...]] should be accepted. We currently do not recognize the designation of targets.
Please verify the changes to InternalAntRunner.
Reopening for verification for M2
Please verify Luc
Verified. Please update the build notes (darins)
This problem seems to to be manifesting in build I20021015 1. create Ant script in root of eclipse install containing: <project name="foo" default="run" basedir="."> <target name="run"> <echo message="in the run target" /> <mkdir dir="${basedir}/run" /> </target> <target name="run2"> <echo message="in the run2 target" /> <mkdir dir="${basedir}/run2" /> </target> </project> 2. from cmd window, run: java -cp startup.jar org.eclipse.core.launcher.Main -noupdate -ws win32 -os win32 -arch x86 -application org.eclipse.ant.core.antRunner -file foo.xml run2 Observe: -no console output -no directory for either default or specified target
Fixed in InternalAntRunner. Note: If you wish to see console output when running eclipse headless you will need to specify "-logger org.apache.tools.ant.DefaultLogger". Otherwise the output will only go to the LogConsoleView which you cannot see ;-)
Please verify (Luc)
My previous comment about specifying a logger is wrong...if you are headless there is no log console view. Logged bug 24824.
Verified. Please update the build notes (darinS)