Hi all,
I'm trying to use the antRunner application in order to mirror some sites into my company's intranet. The setup requires to authenticate to a http proxy.
I'm using Eclipse Platform 3.7.2.
The command line is like :
$ eclipse -data ./ws -eclipse.password ./passwd -consoleLog -noSplash \
-application org.eclipse.ant.core.antRunner -f t.xml mirror
!SESSION 2012-08-12 00:11:43.141 -----------------------------------------------
eclipse.buildId=M20120208-0800
java.version=1.6.0_29
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -eclipse.password ./passwd -application org.eclipse.ant.core.antRunner -f t.xml mirror
Command-line arguments: -os linux -ws gtk -arch x86 -data ./ws -eclipse.password ./passwd -consoleLog -application org.eclipse.ant.core.antRunner -f t.xml mirror
!ENTRY org.eclipse.core.resources 2 10035 2012-08-12 00:11:44.604
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
Unknown argument: -eclipse.password
Unknown target: ./passwd
Buildfile: t.xml
mirror:
......
In the end there is a proxy authentication error, and the process stops.
Note that starting the UI with -eclipse.password ./passwd allows the eclipse instance to connect over the proxy.
Why is the parameter -eclipse.pasword reported as unknown ?
Also, the message "Unknown target: ./passwd" indicates that actually these parameters are interpreted by antRunner, and not eqinox.
Any suggestions would be greatly appreciated.
Vlad