Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » unable to use secure storage with headless antRunner app
unable to use secure storage with headless antRunner app [message #902486] Fri, 17 August 2012 21:23 Go to next message
Vlad Gheorghe is currently offline Vlad GheorgheFriend
Messages: 127
Registered: May 2011
Senior Member
(re-post from Eclipse Platform Forum http://www.eclipse.org/forums/index.php/t/369343/)


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
Re: unable to use secure storage with headless antRunner app [message #902487 is a reply to message #902486] Fri, 17 August 2012 21:27 Go to previous messageGo to next message
Vlad Gheorghe is currently offline Vlad GheorgheFriend
Messages: 127
Registered: May 2011
Senior Member
In fact, the problem is : How to pass http proxy credentials to p2 for mirroring, when running as an ant task ?

Is there a known preferred way ?

Thanks,
Vlad
Re: unable to use secure storage with headless antRunner app [message #902498 is a reply to message #902486] Fri, 17 August 2012 23:48 Go to previous message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 333
Registered: July 2009
Location: Ottawa
Senior Member
This is a known limitation in the Ant tasks being provided.

Pascal
=-=-=-=-=
Consulting, training, bug fixing
Previous Topic:How to diagnose why a system bundle fragment is not getting attached?
Next Topic:How to launch Equinox 3.8 to console?
Goto Forum:
  


Current Time: Thu Apr 25 12:56:46 GMT 2024

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

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

Back to the top