Richard,

Thanks for the reply, I found the Felix Commons page:

http://felix.apache.org/site/apache-felix-commons.html

which then led to the commons codec 1.2 pom:

https://issues.apache.org/jira/secure/attachment/12350907/pom.xml

I followed the instructions on the page:

http://felix.apache.org/site/creating-bundles-using-bnd.html

to create a 1.3 osgi bundle for the commons codec and I just got it working. 
So using the exmple pom I should be able to convert some of my existing 3rd
party GUI jars from JIDE if they don't have OSGi versions already.

Regards,

Scott


Richard S. Hall wrote:
> 
> You cannot install arbitrary JAR files into OSGi, they must be bundles. 
> Is the codec JAR a bundle that exports the needed package? If not, you 
> need to convert it into a bundle, for starters.
> 
> -> richard
> 
> v2cg4ss wrote:
>> I am getting the following error when installing the codec 1.3 jar in a
>> Felix
>> environment: 
>>
>> org.osgi.framework.BundleException: Unresolved constraint in bundle 7:
>> package; (package=org.apache.commons.codec.binary) 
>>
>> My bundle depends on the codec jar and I was under the impression I just
>> had
>> to install any 3rd party jar to refernce the packages. 
>>
>> What do I need to do in order to reference the codec packages from my
>> bundle
>> at runtime?
>>
>>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Installing-Codec-with-Felix-tp22181083p22184982.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


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

Reply via email to