Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » unable to use secure storage with headless antRunner app
unable to use secure storage with headless antRunner app [message #901406] Sat, 11 August 2012 21:41
Vlad Gheorghe is currently offline Vlad GheorgheFriend
Messages: 127
Registered: May 2011
Senior Member
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 -----------------------------------------------
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



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.


Previous Topic:Configure default line separator through plugin customization
Next Topic:Tabbed Property Pages in a Dialog
Goto Forum:

Current Time: Sun Sep 20 09:06:39 GMT 2020

Powered by FUDForum. Page generated in 0.01365 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top