Well, the container is not a bundle and it should not be provisioned to the
osgi instance.
I guess you are using the maven plugin. make sure you put it into scope !=
provided so its not being picked up by exam.

There is already a jira task to make this configurable (which scope defindes
a osgi provisioning artifact and which is "just" something you want/need at
compiletime.

As of bleeding edge: you should use this 0.4-SNAPSHOT cause it contains many
new features and should be released once paxrunner gets out.
Although i experienced some "anomalies" yesterday with the new bnd version
in pax url. - never mind. But will have a look again at this.

On Mon, Mar 30, 2009 at 7:57 AM, Edward Yakop <[email protected]>wrote:

> On Mon, Mar 30, 2009 at 13:55, David Leangen <[email protected]> wrote:
> >
> > Any ideas?
> >
> > Caused by: org.ops4j.pax.runner.platform.PlatformException:
> > [file:/home/owner/.m2/repository/org/ops4j/pax/exam/pax-e
> >
> xam-container-default/0.4.0-SNAPSHOT/pax-exam-container-default-0.4.0-SNAPSHOT.jar]
> is not a valid bundle
> >        at
> >
> org.ops4j.pax.runner.platform.internal.PlatformImpl.validateBundleAndGetFilename(PlatformImpl.java:721)
> >        at
> >
> org.ops4j.pax.runner.platform.internal.PlatformImpl.download(PlatformImpl.java:602)
> >        at
> >
> org.ops4j.pax.runner.platform.internal.PlatformImpl.downloadBundles(PlatformImpl.java:375)
> >        at
> >
> org.ops4j.pax.runner.platform.internal.PlatformImpl.start(PlatformImpl.java:173)
> >        at org.ops4j.pax.runner.Run.startPlatform(Run.java:578)
> >        ... 26 more
>
> Bleeding edge.. I like it :)
>
> Regards,
> Edward Yakop
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>



-- 
Toni Menzel
Software Developer
Professional Profile: http://www.osgify.com
[email protected]
http://www.ops4j.org     - New Energy for OSS Communities - Open
Participation Software.
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to