Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » B3 » b3 and p2 authentication
b3 and p2 authentication [message #714286] Wed, 10 August 2011 08:32 Go to next message
Johan Ekberg is currently offline Johan EkbergFriend
Messages: 4
Registered: June 2011
Junior Member
Hi,

I've just started using b3 in my project and it seems to fit perfect for my needs.

My problem, though, is when I run my aggregation in a headless build the authentication
against my p2 repos fail.

Therefore I wonder wheter there is any way to inject the authentication information
into a headless installation. Please give me a hint or a link where I can start to
find a solution.

BR
Johan
Re: b3 and p2 authentication [message #714290 is a reply to message #714286] Wed, 10 August 2011 08:44 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Johan,

What kind of authentication are you using and in what way is the aggregator failing? Do you see a stack trace?

- thomas

On 2011-08-10 10:32, Johan Ekberg wrote:
> Hi,
>
> I've just started using b3 in my project and it seems to fit perfect for my needs.
>
> My problem, though, is when I run my aggregation in a headless build the authentication
> against my p2 repos fail.
>
> Therefore I wonder wheter there is any way to inject the authentication information
> into a headless installation. Please give me a hint or a link where I can start to
> find a solution.
>
> BR
> Johan
Re: b3 and p2 authentication [message #714337 is a reply to message #714290] Wed, 10 August 2011 11:03 Go to previous messageGo to next message
Johan Ekberg is currently offline Johan EkbergFriend
Messages: 4
Registered: June 2011
Junior Member
Hi Thomas!

I have a p2 repository that I access with a https URL. This URL is password
protected and I think that this is the problem. The stack trace is as follow:

!ENTRY org.eclipse.b3.util 4 -364274674 2011-08-10 10:05:20.759
!MESSAGE Build failed! Exception was org.eclipse.core.runtime.CoreException: Not all repositories could be loaded (see log for details)
!STACK 1
org.eclipse.core.runtime.CoreException: Not all repositories could be loaded (see log for details)
at org.eclipse.b3.util.ExceptionUtils.fromMessage(ExceptionUtils.java:53)
at org.eclipse.b3.util.ExceptionUtils.fromMessage(ExceptionUtils.java:49)
at org.eclipse.b3.aggregator.engine.Builder.loadAllMappedRepositories(Builder.java:1153)
at org.eclipse.b3.aggregator.engine.Builder.run(Builder.java:1629)
at org.eclipse.b3.aggregator.engine.Builder.run(Builder.java:1683)
at org.eclipse.b3.cli.AbstractCommand.run(AbstractCommand.java:133)
at org.eclipse.b3.cli.Headless.run(Headless.java:161)
at org.eclipse.b3.cli.Headless.start(Headless.java:197)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
!SUBENTRY 1 org.eclipse.b3.util 4 0 2011-08-10 10:05:20.760

Johan
Re: b3 and p2 authentication [message #714480 is a reply to message #714337] Wed, 10 August 2011 15:52 Go to previous messageGo to next message
Johan Ekberg is currently offline Johan EkbergFriend
Messages: 4
Registered: June 2011
Junior Member
Hi again!

I ran some more test in debug mode and the problem is actually that
I have no login credentials for the URI to the p2 repository. This makes
sense.

So the question is really if there is a way to create these login credentials
for a headless build in somw way?

/Johan
Re: b3 and p2 authentication [message #735293 is a reply to message #714480] Tue, 11 October 2011 13:18 Go to previous message
Bernd Kolb is currently offline Bernd KolbFriend
Messages: 57
Registered: July 2009
Member
Hi,

we are having the same issue. Any solution yet?

Thx
Bernd
Previous Topic:Is it possible to use b3 engine in Indigo?
Next Topic:test, using opera nntp reader
Goto Forum:
  


Current Time: Tue Mar 19 10:08:17 GMT 2024

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

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

Back to the top