So this behavior is the one reached by the bundleSymbolicName() function ?

I thought that this function would have entirely replaced the bundle
symbolic name with the one pass to the function.

2012/2/27 Achim Nierbeck <bcanh...@googlemail.com>

> Hi,
>
> right now I don't see the failure, though you might check how the
> unit/itests for the pax-url-wrap bundle look a like :)
> Besides that, you might consider using the already wrapped asm library
> provided by apache Servicemix.
> A lot of non OSGi bundles already exist there properly working in an
> OSGi environment.
>
> regards, Achim
>
> 2012/2/27 Bastien Cramillet <bastien.cramil...@gmail.com>
>
>> Hi !
>>
>> I'm trying to use the wrappedBundle() function when adding some
>> provisions to the pax exam configuration. As I need a specific bundle
>> symbolic name, I use the bundleSymbolicName() function like this :
>>
>> CoreOptions.provision(CoreOptions.wrappedBundle(CoreOptions.maven("asm",
>> "asm",
>> "3.3.1").getURL()).bundleSymbolicName("org.objectweb.asm").bundleVersion("3.3.1")),
>>
>> Unfortunatly, in the MANIFEST file generated, here is what I get :
>>
>> Bundle-SymbolicName:
>> wrap_mvn_asm_asm_3.3.1_Bundle-SymboliName_org.objectweb.asm
>> Bundle-SymboliName: org.objectweb.asm
>>
>> So, of course, I don't succeed to use this bundle with the symbolic name
>> "org.objectweb.asm"
>>
>> I'm wondering if I do something wrong or if there is a little bug in the
>> wrapp protocole.
>>
>> Regards,
>>
>> Bigz
>>
>> _______________________________________________
>> general mailing list
>> general@lists.ops4j.org
>> http://lists.ops4j.org/mailman/listinfo/general
>>
>>
>
>
> --
>
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
> Project Lead
> blog <http://notizblog.nierbeck.de/>
>
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general
>
>


-- 
Bastien CRAMILLET
Computer Science Engineering Student in 5th year
University of Technology of Belfort-Montbéliard
---------------------------
Tel: (+33)6 32 78 05 33
2 Impasse des Epicéas
25220 Roche-lez-Beaupré
E-mail: bastien.cramil...@gmail.com
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to