[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Error running Category publisher

Sorry, I just saw your e-mail now and it doesn't appear to be answered.

It looks like you are trying to add the category to the composite repository. You should add the category to a child repo, and add the child repo to the composite repository.

HTH.
Ian

On Mon, Jul 27, 2009 at 5:14 PM, Alain Picard <apicard@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

We have been trying to create a single category to unify the content of our composite repository. We have found some guidance at: http://relengofthenerds.blogspot.com/2009/05/categories-with-composite-repos.html

 

But we are getting the following error:

!ENTRY org.eclipse.equinox.app 4 0 2009-07-24 17:12:47.905

!MESSAGE Cannot add IUs to a composite repository

!STACK 0

java.lang.UnsupportedOperationException: Cannot add IUs to a composite repository

at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.addInstallableUnits(CompositeMetadataRepository.java:197)

      at org.eclipse.equinox.p2.publisher.Publisher.publish(Publisher.java:187)

      at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.run(AbstractPublisherApplication.java:291)

      at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.run(AbstractPublisherApplication.java:261)

      at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.start(AbstractPublisherApplication.java:322)

      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)

      at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)

at java.lang.Thread.run(Thread.java:619)

 

I’m not fully sure that we are using the publisher correctly, but can anyone see what we would be doing wrong or how to do it correctly?

 

TIA

Alain

 


_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev




--
R. Ian Bull | EclipseSource Victoria | +1 250 477 7484
http://eclipsesource.com | http://twitter.com/eclipsesource