Thanks for the quick response, Stuart.

Unfortunately, moving it to the _exportcontents sections gives me the
same error.
I'm currently on version 2.0.0, but I also tried this with 1.4.3...

Cheers,

David

2009/3/25 Stuart McCulloch <[email protected]>:
> 2009/3/25 David Bosschaert <[email protected]>
>
>> Hi all,
>>
>> For the CXF-DOSGi single-bundle distribution I need to export-package
>> a directory that just contains resources. In my pom [1], the directory
>> with the resources is copied into my bundle from an embedded bundle
>> using the following directive first:
>>  <Include-Resource>
>>   �...@cxf-bundle-minimal-${cxf.version}.jar!/META-INF/cxf/*
>>  </Include-Resource>
>> Then I just want to export the package using the following:
>>  <Export-Package>
>>    META-INF.cxf
>>  </Export-Package>
>> Note, my pom also contains some _exportcontents directives...
>>
>> However, I'm getting the following error:
>> [ERROR] Error building bundle
>>
>> org.apache.cxf.dosgi:cxf-dosgi-ri-singlebundle-distribution:bundle:1.0-SNAPSHOT
>> : Exporting packages that are not on the Bundle-Classpath[Jar:dot,
>> Jar:lib/geronimo-annotation_1.0_spec-1.1.1.jar, ... lots more
>> jars...]: [META-INF.cxf]
>>
>> Anyone an idea on how I can get META-INF.cxf in my exported package list?
>>
>
> Hi David,
>
> which version of the bundleplugin are you using?
>
> also why not put the META-INF.cxf package in the _exportcontents section,
> because
> you're already copying it into the bundle using the Include-Resource
> instruction?
>
> Thanks!
>>
>> David
>>
>> [1]
>> http://svn.apache.org/repos/asf/cxf/dosgi/trunk/distribution/single-bundle/pom.xml
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
> --
> Cheers, Stuart
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to