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

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