You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by "Edelson, Justin" <Ju...@mtvstaff.com> on 2009/05/13 00:49:08 UTC
Using SpringSource BR as an OBR in Felix
This seems like a really basic question, but I've searched the archives
and can't find an answer. Is it possible to use the SpringSource bundle
repository as an OBR? It's quite a pain to have to run mvn
bundle:deploy-file into my own OBR for each bundle I need from them.
Thanks,
Justin
Re: Using SpringSource BR as an OBR in Felix
Posted by Derek Baum <de...@paremus.com>.
3rd attempt to send OBR fragment:
<capability name='fragment'>
<p n='host' v='com.springsource.org.richfaces'/>
<p n='version' t='version' v='[3.1.4.GA <http://3.1.4.ga/>,4.0.0)'/>
</capability>
Derek
2009/5/14 Derek Baum <de...@paremus.com>
> The error appears due a Fragment-Host with a version range:
>
> Fragment-Host: com.springsource.org.
> richfaces;version="[3.1.4.GA <http://3.1.4.ga/>, 4.0.0)"
>
> bindex generates this in the OBR:
>
> <p n='version' t='version' v='[3.1.4.GA <http://3.1.4.ga/>,4.0.0)'/>
>
> which the Felix OBR parser is trying to convert into a Version (not a
> range).
>
>
> I tried to include the appropriate section from the OBR, but the felix
> mailing list rejected it as spam.
>
> Derek
>
>
> 2009/5/14 Richard S. Hall <he...@ungoverned.org>
>
>> Which version of OBR are you using?
>>
>>
>> -> richard
>>
>>
>> On 5/14/09 10:31 AM, David Savage wrote:
>>
>>> Hmmm ok I admit I've not tried it with obr explicitly. I have my own
>>> obr parser in sigil which may be making some assumptions. That said
>>> this index is generated via bindex so it /should/ be the correct
>>> format. Possibly a bug in obr, bindex or sigil or all or some ;)
>>>
>>> Would be useful if obr gave you line numbers though...you may want to
>>> raise a bug on the felix issue system so it can be patched so we can
>>> get some more diagnostics.
>>>
>>> Regards,
>>>
>>> Dave
>>>
>>> On Thu, May 14, 2009 at 2:52 PM, Edelson, Justin
>>> <Ju...@mtvstaff.com> wrote:
>>>
>>>
>>>> Ah, except that these don't work.
>>>>
>>>> I can add http://sigil.codecauldron.org/spring-release.obr (using obr
>>>> add-url), but then attempts to run obr list fail with a NPE:
>>>> -> obr list -v
>>>> Unable to execute command: java.lang.NullPointerException
>>>> java.lang.NullPointerException
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
>>>> at java.util.TreeMap.compare(TreeMap.java:1093)
>>>> at java.util.TreeMap.getEntry(TreeMap.java:347)
>>>> at java.util.TreeMap.get(TreeMap.java:265)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
>>>> at
>>>>
>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>>> at
>>>>
>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>>> at java.lang.Thread.run(Thread.java:595)
>>>> The external index fails to even add:
>>>> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
>>>> java.lang.reflect.InvocationTargetException
>>>> at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
>>>> at
>>>>
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>> at java.lang.reflect.Method.invoke(Method.java:585)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>>>> at
>>>>
>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>>> at
>>>>
>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>>> at java.lang.Thread.run(Thread.java:595)
>>>> Caused by: java.lang.NumberFormatException: For input string: "[3"
>>>> at
>>>>
>>>> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>>>> at java.lang.Integer.parseInt(Integer.java:447)
>>>> at java.lang.Integer.parseInt(Integer.java:497)
>>>> at org.osgi.framework.Version.<init>(Version.java:128)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
>>>> ... 17 more
>>>>
>>>> This second error looks like some bad metadata. Any clue on how to track
>>>> down specifically where in the XML file this error is found?
>>>>
>>>> Thanks,
>>>> Justin
>>>> ________________________________
>>>> From: Edelson, Justin
>>>> Sent: Wed 5/13/2009 10:50 AM
>>>> To: users@felix.apache.org; david.savage@paremus.com
>>>> Subject: RE: Using SpringSource BR as an OBR in Felix
>>>>
>>>> Thanks. Exactly what I was looking for.
>>>>
>>>> -----Original Message-----
>>>> From: David Savage [mailto:dave.savage@paremus.com]
>>>> Sent: Wednesday, May 13, 2009 2:52 AM
>>>> To: users@felix.apache.org
>>>> Subject: Re: Using SpringSource BR as an OBR in Felix
>>>>
>>>> There is an obr index hosted on the sigil site:
>>>>
>>>> http://sigil.codecauldron.org/OBR+Repository
>>>>
>>>> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
>>>> <Ju...@mtvstaff.com> wrote:
>>>>
>>>>
>>>>> This seems like a really basic question, but I've searched the
>>>>> archives and can't find an answer. Is it possible to use the
>>>>> SpringSource bundle repository as an OBR? It's quite a pain to have to
>>>>> run mvn bundle:deploy-file into my own OBR for each bundle I need
>>>>> from
>>>>>
>>>>>
>>>> them.
>>>>
>>>>
>>>>> Thanks,
>>>>> Justin
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> ------------------------------------------------------------------------
>>>> -------------
>>>>
>>>> Paremus Limited. Registered in England. Registration No. 4181472
>>>>
>>>> Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
>>>>
>>>> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>>>>
>>>> The information transmitted is intended only for the person(s) or entity
>>>> to which it is addressed and may contain confidential and/or privileged
>>>> material. Any review, retransmission, dissemination or other use of, or
>>>> taking of any action in reliance upon, this information by persons or
>>>> entities other than the intended recipient is prohibited.
>>>>
>>>> If you received this in error, please contact the sender and delete the
>>>> material from any computer.
>>>>
>>>> ------------------------------------------------------------------------
>>>> -------------
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>
>
Re: Using SpringSource BR as an OBR in Felix
Posted by Derek Baum <de...@paremus.com>.
There is already a bug logged against bindex:
https://www.osgi.org/bugzilla/show_bug.cgi?id=39
Derek
2009/5/14 Richard S. Hall <he...@ungoverned.org>
> Looking at this more closely, this appears to be a bug in bindex. This XML
> doesn't make sense to me:
>
> <capability name='fragment'>
> <p n='host' v='com.springsource.org.richfaces'/>
> <p n='version' t='version' v='[3.1.4.GA,4.0.0)'/>
> </capability>
>
> I don't believe a capability would have a version range. Version ranges are
> specified in requirements for matching against capabilities. I am not really
> sure what is happening here. I think I will need to talk with Peter about
> it.
>
> -> richard
>
>
> On 5/14/09 2:34 PM, Richard S. Hall wrote:
>
>> On 5/14/09 11:43 AM, Derek Baum wrote:
>>
>>> The error appears due a Fragment-Host with a version range:
>>>
>>> Fragment-Host: com.springsource.org.richfaces;version="[3.1.4.GA<
>>> http://3.1.4.ga/>,
>>> 4.0.0)"
>>>
>>> bindex generates this in the OBR:
>>>
>>> <p n='version' t='version' v='[3.1.4.GA<http://3.1.4.ga/>,4.0.0)'/>
>>>
>>> which the Felix OBR parser is trying to convert into a Version (not a
>>> range).
>>>
>>
>> IC. Well, the type does say it is a version (t='version'). :-)
>>
>> We could potentially hack it so that if we see a "," in the value of the
>> version, then we assume it is a version range. I think that would work.
>>
>> I opened a JIRA issue for this:
>>
>> https://issues.apache.org/jira/browse/FELIX-1155
>>
>> -> richard
>>
>>>
>>> I tried to include the appropriate section from the OBR, but the felix
>>> mailing list rejected it as spam.
>>>
>>> Derek
>>>
>>>
>>> 2009/5/14 Richard S. Hall<he...@ungoverned.org>
>>>
>>> Which version of OBR are you using?
>>>>
>>>> -> richard
>>>>
>>>>
>>>> On 5/14/09 10:31 AM, David Savage wrote:
>>>>
>>>> Hmmm ok I admit I've not tried it with obr explicitly. I have my own
>>>>> obr parser in sigil which may be making some assumptions. That said
>>>>> this index is generated via bindex so it /should/ be the correct
>>>>> format. Possibly a bug in obr, bindex or sigil or all or some ;)
>>>>>
>>>>> Would be useful if obr gave you line numbers though...you may want to
>>>>> raise a bug on the felix issue system so it can be patched so we can
>>>>> get some more diagnostics.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Dave
>>>>>
>>>>> On Thu, May 14, 2009 at 2:52 PM, Edelson, Justin
>>>>> <Ju...@mtvstaff.com> wrote:
>>>>>
>>>>>
>>>>> Ah, except that these don't work.
>>>>>>
>>>>>> I can add http://sigil.codecauldron.org/spring-release.obr (using obr
>>>>>> add-url), but then attempts to run obr list fail with a NPE:
>>>>>> -> obr list -v
>>>>>> Unable to execute command: java.lang.NullPointerException
>>>>>> java.lang.NullPointerException
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
>>>>>>
>>>>>> at java.util.TreeMap.compare(TreeMap.java:1093)
>>>>>> at java.util.TreeMap.getEntry(TreeMap.java:347)
>>>>>> at java.util.TreeMap.get(TreeMap.java:265)
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>>>>>
>>>>>> at java.lang.Thread.run(Thread.java:595)
>>>>>> The external index fails to even add:
>>>>>> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
>>>>>> java.lang.reflect.InvocationTargetException
>>>>>> at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown
>>>>>> Source)
>>>>>> at
>>>>>>
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>>
>>>>>> at java.lang.reflect.Method.invoke(Method.java:585)
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>>>>>>
>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>>>>>
>>>>>> at java.lang.Thread.run(Thread.java:595)
>>>>>> Caused by: java.lang.NumberFormatException: For input string: "[3"
>>>>>> at
>>>>>>
>>>>>> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>>>>>>
>>>>>> at java.lang.Integer.parseInt(Integer.java:447)
>>>>>> at java.lang.Integer.parseInt(Integer.java:497)
>>>>>> at org.osgi.framework.Version.<init>(Version.java:128)
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
>>>>>>
>>>>>> at
>>>>>> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
>>>>>>
>>>>>> ... 17 more
>>>>>>
>>>>>> This second error looks like some bad metadata. Any clue on how to
>>>>>> track
>>>>>> down specifically where in the XML file this error is found?
>>>>>>
>>>>>> Thanks,
>>>>>> Justin
>>>>>> ________________________________
>>>>>> From: Edelson, Justin
>>>>>> Sent: Wed 5/13/2009 10:50 AM
>>>>>> To: users@felix.apache.org; david.savage@paremus.com
>>>>>> Subject: RE: Using SpringSource BR as an OBR in Felix
>>>>>>
>>>>>> Thanks. Exactly what I was looking for.
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: David Savage [mailto:dave.savage@paremus.com]
>>>>>> Sent: Wednesday, May 13, 2009 2:52 AM
>>>>>> To: users@felix.apache.org
>>>>>> Subject: Re: Using SpringSource BR as an OBR in Felix
>>>>>>
>>>>>> There is an obr index hosted on the sigil site:
>>>>>>
>>>>>> http://sigil.codecauldron.org/OBR+Repository
>>>>>>
>>>>>> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
>>>>>> <Ju...@mtvstaff.com> wrote:
>>>>>>
>>>>>>
>>>>>> This seems like a really basic question, but I've searched the
>>>>>>> archives and can't find an answer. Is it possible to use the
>>>>>>> SpringSource bundle repository as an OBR? It's quite a pain to have
>>>>>>> to
>>>>>>> run mvn bundle:deploy-file into my own OBR for each bundle I
>>>>>>> need
>>>>>>> from
>>>>>>>
>>>>>>>
>>>>>>> them.
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>>> Justin
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>> -------------
>>>>>>
>>>>>> Paremus Limited. Registered in England. Registration No. 4181472
>>>>>>
>>>>>> Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
>>>>>>
>>>>>> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>>>>>>
>>>>>> The information transmitted is intended only for the person(s) or
>>>>>> entity
>>>>>> to which it is addressed and may contain confidential and/or
>>>>>> privileged
>>>>>> material. Any review, retransmission, dissemination or other use of,
>>>>>> or
>>>>>> taking of any action in reliance upon, this information by persons or
>>>>>> entities other than the intended recipient is prohibited.
>>>>>>
>>>>>> If you received this in error, please contact the sender and delete
>>>>>> the
>>>>>> material from any computer.
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>> -------------
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
Re: Using SpringSource BR as an OBR in Felix
Posted by Derek Baum <de...@paremus.com>.
Sorry, I subscribed using a .co.uk address, but mailed from a .com address.
This should now be fixed.
Derek
2009/5/14 Richard S. Hall <he...@ungoverned.org>
> Derek,
>
> Are you subscribed to this list (with this email address)? I have to
> moderate your messages.
>
> -> richard
>
> On 5/14/09 4:14 PM, Derek Baum wrote:
>
>> The felix mailing list has been rejecting all my attempts to send a
>> fragment of the offending OBR as spam.
>>
>> I now include this as a .zip attachment.
>>
>> Derek
>>
>> 2009/5/14 Richard S. Hall <heavy@ungoverned.org <mailto:
>> heavy@ungoverned.org>>
>>
>> Looking at this more closely, this appears to be a bug in bindex.
>> This XML doesn't make sense to me:
>>
>>
>> <capability name='fragment'>
>> <p n='host' v='com.springsource.org.richfaces'/>
>> <p n='version' t='version' v='[3.1.4.GA <http://3.1.4.GA>,4.0.0)'/>
>> </capability>
>>
>> I don't believe a capability would have a version range. Version
>> ranges are specified in requirements for matching against
>> capabilities. I am not really sure what is happening here. I think
>> I will need to talk with Peter about it.
>>
>> -> richard
>>
>>
>> On 5/14/09 2:34 PM, Richard S. Hall wrote:
>>
>> On 5/14/09 11:43 AM, Derek Baum wrote:
>>
>> The error appears due a Fragment-Host with a version range:
>>
>> Fragment-Host:
>> com.springsource.org.richfaces;version="[3.1.4.GA
>> <http://3.1.4.GA><http://3.1.4.ga/>,
>> 4.0.0)"
>>
>> bindex generates this in the OBR:
>>
>> <p n='version' t='version' v='[3.1.4.GA
>> <http://3.1.4.GA><http://3.1.4.ga/>,4.0.0)'/>
>>
>> which the Felix OBR parser is trying to convert into a
>> Version (not a
>> range).
>>
>>
>> IC. Well, the type does say it is a version (t='version'). :-)
>>
>> We could potentially hack it so that if we see a "," in the
>> value of the version, then we assume it is a version range. I
>> think that would work.
>>
>> I opened a JIRA issue for this:
>>
>> https://issues.apache.org/jira/browse/FELIX-1155
>>
>> -> richard
>>
>>
>> I tried to include the appropriate section from the OBR,
>> but the felix
>> mailing list rejected it as spam.
>>
>> Derek
>>
>>
>> 2009/5/14 Richard S. Hall<heavy@ungoverned.org
>> <ma...@ungoverned.org>>
>>
>> Which version of OBR are you using?
>>
>> -> richard
>>
>>
>> On 5/14/09 10:31 AM, David Savage wrote:
>>
>> Hmmm ok I admit I've not tried it with obr
>> explicitly. I have my own
>> obr parser in sigil which may be making some
>> assumptions. That said
>> this index is generated via bindex so it /should/
>> be the correct
>> format. Possibly a bug in obr, bindex or sigil or
>> all or some ;)
>>
>> Would be useful if obr gave you line numbers
>> though...you may want to
>> raise a bug on the felix issue system so it can be
>> patched so we can
>> get some more diagnostics.
>>
>> Regards,
>>
>> Dave
>>
>> On Thu, May 14, 2009 at 2:52 PM, Edelson, Justin
>> <Justin.Edelson@mtvstaff.com
>> <ma...@mtvstaff.com>> wrote:
>>
>>
>> Ah, except that these don't work.
>>
>> I can add
>> http://sigil.codecauldron.org/spring-release.obr
>> (using obr
>> add-url), but then attempts to run obr list
>> fail with a NPE:
>> -> obr list -v
>> Unable to execute command:
>> java.lang.NullPointerException
>> java.lang.NullPointerException
>> at
>>
>>
>> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
>>
>> at
>> java.util.TreeMap.compare(TreeMap.java:1093)
>> at
>> java.util.TreeMap.getEntry(TreeMap.java:347)
>> at java.util.TreeMap.get(TreeMap.java:265)
>> at
>>
>>
>> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
>>
>> at
>>
>>
>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
>>
>> at
>>
>>
>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>
>> at
>>
>>
>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>
>> at java.lang.Thread.run(Thread.java:595)
>> The external index fails to even add:
>> -> obr add-url
>> http://sigil.codecauldron.org/spring-external.obr
>> java.lang.reflect.InvocationTargetException
>> at
>>
>> sun.reflect.GeneratedMethodAccessor33.invoke(Unknown
>> Source)
>> at
>>
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> at
>> java.lang.reflect.Method.invoke(Method.java:585)
>> at
>>
>>
>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>>
>> at
>>
>>
>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>>
>> at
>>
>>
>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>
>> at
>>
>>
>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>>
>> at
>>
>>
>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>>
>> at
>> java.security.AccessController.doPrivileged(Native
>> Method)
>> at
>>
>>
>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>
>> at
>>
>>
>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>
>> at
>>
>>
>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>
>> at
>>
>>
>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>
>> at
>>
>>
>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>>
>> at
>>
>>
>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>
>> at
>>
>>
>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>
>> at java.lang.Thread.run(Thread.java:595)
>> Caused by: java.lang.NumberFormatException:
>> For input string: "[3"
>> at
>>
>>
>> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>>
>> at
>> java.lang.Integer.parseInt(Integer.java:447)
>> at
>> java.lang.Integer.parseInt(Integer.java:497)
>> at
>> org.osgi.framework.Version.<init>(Version.java:128)
>> at
>>
>>
>> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
>>
>> at
>>
>> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
>>
>> ... 17 more
>>
>> This second error looks like some bad
>> metadata. Any clue on how to track
>> down specifically where in the XML file this
>> error is found?
>>
>> Thanks,
>> Justin
>> ________________________________
>> From: Edelson, Justin
>> Sent: Wed 5/13/2009 10:50 AM
>> To: users@felix.apache.org
>> <ma...@felix.apache.org>;
>> david.savage@paremus.com
>> <ma...@paremus.com>
>> Subject: RE: Using SpringSource BR as an OBR
>> in Felix
>>
>> Thanks. Exactly what I was looking for.
>>
>> -----Original Message-----
>> From: David Savage
>> [mailto:dave.savage@paremus.com
>> <ma...@paremus.com>]
>> Sent: Wednesday, May 13, 2009 2:52 AM
>> To: users@felix.apache.org
>> <ma...@felix.apache.org>
>> Subject: Re: Using SpringSource BR as an OBR
>> in Felix
>>
>> There is an obr index hosted on the sigil site:
>>
>> http://sigil.codecauldron.org/OBR+Repository
>>
>> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
>> <Justin.Edelson@mtvstaff.com
>> <ma...@mtvstaff.com>> wrote:
>>
>>
>> This seems like a really basic question,
>> but I've searched the
>> archives and can't find an answer. Is it
>> possible to use the
>> SpringSource bundle repository as an OBR?
>> It's quite a pain to have to
>> run mvn bundle:deploy-file into my
>> own OBR for each bundle I need
>> from
>>
>>
>> them.
>>
>>
>> Thanks,
>> Justin
>>
>>
>>
>> --
>> ------------------------------------------------------------------------
>>
>> -------------
>>
>> Paremus Limited. Registered in England.
>> Registration No. 4181472
>>
>> Registered Office: 22-24 Broad Street,
>> Wokingham, Berks RG40 1BA
>>
>> Postal Address: 107-111 Fleet Street, London,
>> EC4A 2AB
>>
>> The information transmitted is intended only
>> for the person(s) or entity
>> to which it is addressed and may contain
>> confidential and/or privileged
>> material. Any review, retransmission,
>> dissemination or other use of, or
>> taking of any action in reliance upon, this
>> information by persons or
>> entities other than the intended recipient is
>> prohibited.
>>
>> If you received this in error, please contact
>> the sender and delete the
>> material from any computer.
>>
>>
>> ------------------------------------------------------------------------
>>
>> -------------
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> users-unsubscribe@felix.apache.org
>> <ma...@felix.apache.org>
>> For additional commands, e-mail:
>> users-help@felix.apache.org
>> <ma...@felix.apache.org>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> users-unsubscribe@felix.apache.org
>> <ma...@felix.apache.org>
>> For additional commands, e-mail:
>> users-help@felix.apache.org
>> <ma...@felix.apache.org>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> <ma...@felix.apache.org>
>> For additional commands, e-mail: users-help@felix.apache.org
>> <ma...@felix.apache.org>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>
Re: Using SpringSource BR as an OBR in Felix
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Derek,
Are you subscribed to this list (with this email address)? I have to
moderate your messages.
-> richard
On 5/14/09 4:14 PM, Derek Baum wrote:
> The felix mailing list has been rejecting all my attempts to send a
> fragment of the offending OBR as spam.
>
> I now include this as a .zip attachment.
>
> Derek
>
> 2009/5/14 Richard S. Hall <heavy@ungoverned.org
> <ma...@ungoverned.org>>
>
> Looking at this more closely, this appears to be a bug in bindex.
> This XML doesn't make sense to me:
>
>
> <capability name='fragment'>
> <p n='host' v='com.springsource.org.richfaces'/>
> <p n='version' t='version' v='[3.1.4.GA <http://3.1.4.GA>,4.0.0)'/>
> </capability>
>
> I don't believe a capability would have a version range. Version
> ranges are specified in requirements for matching against
> capabilities. I am not really sure what is happening here. I think
> I will need to talk with Peter about it.
>
> -> richard
>
>
> On 5/14/09 2:34 PM, Richard S. Hall wrote:
>
> On 5/14/09 11:43 AM, Derek Baum wrote:
>
> The error appears due a Fragment-Host with a version range:
>
> Fragment-Host:
> com.springsource.org.richfaces;version="[3.1.4.GA
> <http://3.1.4.GA><http://3.1.4.ga/>,
> 4.0.0)"
>
> bindex generates this in the OBR:
>
> <p n='version' t='version' v='[3.1.4.GA
> <http://3.1.4.GA><http://3.1.4.ga/>,4.0.0)'/>
>
> which the Felix OBR parser is trying to convert into a
> Version (not a
> range).
>
>
> IC. Well, the type does say it is a version (t='version'). :-)
>
> We could potentially hack it so that if we see a "," in the
> value of the version, then we assume it is a version range. I
> think that would work.
>
> I opened a JIRA issue for this:
>
> https://issues.apache.org/jira/browse/FELIX-1155
>
> -> richard
>
>
> I tried to include the appropriate section from the OBR,
> but the felix
> mailing list rejected it as spam.
>
> Derek
>
>
> 2009/5/14 Richard S. Hall<heavy@ungoverned.org
> <ma...@ungoverned.org>>
>
> Which version of OBR are you using?
>
> -> richard
>
>
> On 5/14/09 10:31 AM, David Savage wrote:
>
> Hmmm ok I admit I've not tried it with obr
> explicitly. I have my own
> obr parser in sigil which may be making some
> assumptions. That said
> this index is generated via bindex so it /should/
> be the correct
> format. Possibly a bug in obr, bindex or sigil or
> all or some ;)
>
> Would be useful if obr gave you line numbers
> though...you may want to
> raise a bug on the felix issue system so it can be
> patched so we can
> get some more diagnostics.
>
> Regards,
>
> Dave
>
> On Thu, May 14, 2009 at 2:52 PM, Edelson, Justin
> <Justin.Edelson@mtvstaff.com
> <ma...@mtvstaff.com>> wrote:
>
>
> Ah, except that these don't work.
>
> I can add
> http://sigil.codecauldron.org/spring-release.obr
> (using obr
> add-url), but then attempts to run obr list
> fail with a NPE:
> -> obr list -v
> Unable to execute command:
> java.lang.NullPointerException
> java.lang.NullPointerException
> at
>
> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
>
> at
> java.util.TreeMap.compare(TreeMap.java:1093)
> at
> java.util.TreeMap.getEntry(TreeMap.java:347)
> at java.util.TreeMap.get(TreeMap.java:265)
> at
>
> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
>
> at
>
> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
>
> at
>
> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>
> at
>
> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>
> at java.lang.Thread.run(Thread.java:595)
> The external index fails to even add:
> -> obr add-url
> http://sigil.codecauldron.org/spring-external.obr
> java.lang.reflect.InvocationTargetException
> at
> sun.reflect.GeneratedMethodAccessor33.invoke(Unknown
> Source)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at
> java.lang.reflect.Method.invoke(Method.java:585)
> at
>
> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>
> at
>
> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>
> at
>
> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>
> at
>
> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>
> at
>
> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>
> at
> java.security.AccessController.doPrivileged(Native
> Method)
> at
>
> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>
> at
>
> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>
> at
>
> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>
> at
>
> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>
> at
>
> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>
> at
>
> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>
> at
>
> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>
> at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NumberFormatException:
> For input string: "[3"
> at
>
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>
> at
> java.lang.Integer.parseInt(Integer.java:447)
> at
> java.lang.Integer.parseInt(Integer.java:497)
> at
> org.osgi.framework.Version.<init>(Version.java:128)
> at
>
> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
>
> at
> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
>
> ... 17 more
>
> This second error looks like some bad
> metadata. Any clue on how to track
> down specifically where in the XML file this
> error is found?
>
> Thanks,
> Justin
> ________________________________
> From: Edelson, Justin
> Sent: Wed 5/13/2009 10:50 AM
> To: users@felix.apache.org
> <ma...@felix.apache.org>;
> david.savage@paremus.com
> <ma...@paremus.com>
> Subject: RE: Using SpringSource BR as an OBR
> in Felix
>
> Thanks. Exactly what I was looking for.
>
> -----Original Message-----
> From: David Savage
> [mailto:dave.savage@paremus.com
> <ma...@paremus.com>]
> Sent: Wednesday, May 13, 2009 2:52 AM
> To: users@felix.apache.org
> <ma...@felix.apache.org>
> Subject: Re: Using SpringSource BR as an OBR
> in Felix
>
> There is an obr index hosted on the sigil site:
>
> http://sigil.codecauldron.org/OBR+Repository
>
> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
> <Justin.Edelson@mtvstaff.com
> <ma...@mtvstaff.com>> wrote:
>
>
> This seems like a really basic question,
> but I've searched the
> archives and can't find an answer. Is it
> possible to use the
> SpringSource bundle repository as an OBR?
> It's quite a pain to have to
> run mvn bundle:deploy-file into my
> own OBR for each bundle I need
> from
>
>
> them.
>
>
> Thanks,
> Justin
>
>
>
> --
> ------------------------------------------------------------------------
>
> -------------
>
> Paremus Limited. Registered in England.
> Registration No. 4181472
>
> Registered Office: 22-24 Broad Street,
> Wokingham, Berks RG40 1BA
>
> Postal Address: 107-111 Fleet Street, London,
> EC4A 2AB
>
> The information transmitted is intended only
> for the person(s) or entity
> to which it is addressed and may contain
> confidential and/or privileged
> material. Any review, retransmission,
> dissemination or other use of, or
> taking of any action in reliance upon, this
> information by persons or
> entities other than the intended recipient is
> prohibited.
>
> If you received this in error, please contact
> the sender and delete the
> material from any computer.
>
> ------------------------------------------------------------------------
>
> -------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@felix.apache.org
> <ma...@felix.apache.org>
> For additional commands, e-mail:
> users-help@felix.apache.org
> <ma...@felix.apache.org>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@felix.apache.org
> <ma...@felix.apache.org>
> For additional commands, e-mail:
> users-help@felix.apache.org
> <ma...@felix.apache.org>
>
>
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> <ma...@felix.apache.org>
> For additional commands, e-mail: users-help@felix.apache.org
> <ma...@felix.apache.org>
>
>
> ------------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
Re: Using SpringSource BR as an OBR in Felix
Posted by Derek Baum <de...@paremus.com>.
The felix mailing list has been rejecting all my attempts to send a fragment
of the offending OBR as spam.
I now include this as a .zip attachment.
Derek
2009/5/14 Richard S. Hall <he...@ungoverned.org>
> Looking at this more closely, this appears to be a bug in bindex. This XML
> doesn't make sense to me:
>
> <capability name='fragment'>
> <p n='host' v='com.springsource.org.richfaces'/>
> <p n='version' t='version' v='[3.1.4.GA,4.0.0)'/>
> </capability>
>
> I don't believe a capability would have a version range. Version ranges are
> specified in requirements for matching against capabilities. I am not really
> sure what is happening here. I think I will need to talk with Peter about
> it.
>
> -> richard
>
>
> On 5/14/09 2:34 PM, Richard S. Hall wrote:
>
>> On 5/14/09 11:43 AM, Derek Baum wrote:
>>
>>> The error appears due a Fragment-Host with a version range:
>>>
>>> Fragment-Host: com.springsource.org.richfaces;version="[3.1.4.GA<
>>> http://3.1.4.ga/>,
>>> 4.0.0)"
>>>
>>> bindex generates this in the OBR:
>>>
>>> <p n='version' t='version' v='[3.1.4.GA<http://3.1.4.ga/>,4.0.0)'/>
>>>
>>> which the Felix OBR parser is trying to convert into a Version (not a
>>> range).
>>>
>>
>> IC. Well, the type does say it is a version (t='version'). :-)
>>
>> We could potentially hack it so that if we see a "," in the value of the
>> version, then we assume it is a version range. I think that would work.
>>
>> I opened a JIRA issue for this:
>>
>> https://issues.apache.org/jira/browse/FELIX-1155
>>
>> -> richard
>>
>>>
>>> I tried to include the appropriate section from the OBR, but the felix
>>> mailing list rejected it as spam.
>>>
>>> Derek
>>>
>>>
>>> 2009/5/14 Richard S. Hall<he...@ungoverned.org>
>>>
>>> Which version of OBR are you using?
>>>>
>>>> -> richard
>>>>
>>>>
>>>> On 5/14/09 10:31 AM, David Savage wrote:
>>>>
>>>> Hmmm ok I admit I've not tried it with obr explicitly. I have my own
>>>>> obr parser in sigil which may be making some assumptions. That said
>>>>> this index is generated via bindex so it /should/ be the correct
>>>>> format. Possibly a bug in obr, bindex or sigil or all or some ;)
>>>>>
>>>>> Would be useful if obr gave you line numbers though...you may want to
>>>>> raise a bug on the felix issue system so it can be patched so we can
>>>>> get some more diagnostics.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Dave
>>>>>
>>>>> On Thu, May 14, 2009 at 2:52 PM, Edelson, Justin
>>>>> <Ju...@mtvstaff.com> wrote:
>>>>>
>>>>>
>>>>> Ah, except that these don't work.
>>>>>>
>>>>>> I can add http://sigil.codecauldron.org/spring-release.obr (using obr
>>>>>> add-url), but then attempts to run obr list fail with a NPE:
>>>>>> -> obr list -v
>>>>>> Unable to execute command: java.lang.NullPointerException
>>>>>> java.lang.NullPointerException
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
>>>>>>
>>>>>> at java.util.TreeMap.compare(TreeMap.java:1093)
>>>>>> at java.util.TreeMap.getEntry(TreeMap.java:347)
>>>>>> at java.util.TreeMap.get(TreeMap.java:265)
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>>>>>
>>>>>> at java.lang.Thread.run(Thread.java:595)
>>>>>> The external index fails to even add:
>>>>>> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
>>>>>> java.lang.reflect.InvocationTargetException
>>>>>> at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown
>>>>>> Source)
>>>>>> at
>>>>>>
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>>
>>>>>> at java.lang.reflect.Method.invoke(Method.java:585)
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>>>>>>
>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>>>>>
>>>>>> at java.lang.Thread.run(Thread.java:595)
>>>>>> Caused by: java.lang.NumberFormatException: For input string: "[3"
>>>>>> at
>>>>>>
>>>>>> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>>>>>>
>>>>>> at java.lang.Integer.parseInt(Integer.java:447)
>>>>>> at java.lang.Integer.parseInt(Integer.java:497)
>>>>>> at org.osgi.framework.Version.<init>(Version.java:128)
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
>>>>>>
>>>>>> at
>>>>>> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
>>>>>>
>>>>>> ... 17 more
>>>>>>
>>>>>> This second error looks like some bad metadata. Any clue on how to
>>>>>> track
>>>>>> down specifically where in the XML file this error is found?
>>>>>>
>>>>>> Thanks,
>>>>>> Justin
>>>>>> ________________________________
>>>>>> From: Edelson, Justin
>>>>>> Sent: Wed 5/13/2009 10:50 AM
>>>>>> To: users@felix.apache.org; david.savage@paremus.com
>>>>>> Subject: RE: Using SpringSource BR as an OBR in Felix
>>>>>>
>>>>>> Thanks. Exactly what I was looking for.
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: David Savage [mailto:dave.savage@paremus.com]
>>>>>> Sent: Wednesday, May 13, 2009 2:52 AM
>>>>>> To: users@felix.apache.org
>>>>>> Subject: Re: Using SpringSource BR as an OBR in Felix
>>>>>>
>>>>>> There is an obr index hosted on the sigil site:
>>>>>>
>>>>>> http://sigil.codecauldron.org/OBR+Repository
>>>>>>
>>>>>> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
>>>>>> <Ju...@mtvstaff.com> wrote:
>>>>>>
>>>>>>
>>>>>> This seems like a really basic question, but I've searched the
>>>>>>> archives and can't find an answer. Is it possible to use the
>>>>>>> SpringSource bundle repository as an OBR? It's quite a pain to have
>>>>>>> to
>>>>>>> run mvn bundle:deploy-file into my own OBR for each bundle I
>>>>>>> need
>>>>>>> from
>>>>>>>
>>>>>>>
>>>>>>> them.
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>>> Justin
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>> -------------
>>>>>>
>>>>>> Paremus Limited. Registered in England. Registration No. 4181472
>>>>>>
>>>>>> Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
>>>>>>
>>>>>> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>>>>>>
>>>>>> The information transmitted is intended only for the person(s) or
>>>>>> entity
>>>>>> to which it is addressed and may contain confidential and/or
>>>>>> privileged
>>>>>> material. Any review, retransmission, dissemination or other use of,
>>>>>> or
>>>>>> taking of any action in reliance upon, this information by persons or
>>>>>> entities other than the intended recipient is prohibited.
>>>>>>
>>>>>> If you received this in error, please contact the sender and delete
>>>>>> the
>>>>>> material from any computer.
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>> -------------
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
Re: Using SpringSource BR as an OBR in Felix
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Even though the version issue is not clearly a bug, the first exception
below is the result of a bug. The issue is here:
https://issues.apache.org/jira/browse/FELIX-1157
I will commit a fix shortly.
-> richard
On 5/14/09 3:11 PM, Richard S. Hall wrote:
> Looking at this more closely, this appears to be a bug in bindex. This
> XML doesn't make sense to me:
>
> <capability name='fragment'>
> <p n='host' v='com.springsource.org.richfaces'/>
> <p n='version' t='version' v='[3.1.4.GA,4.0.0)'/>
> </capability>
>
> I don't believe a capability would have a version range. Version
> ranges are specified in requirements for matching against
> capabilities. I am not really sure what is happening here. I think I
> will need to talk with Peter about it.
>
> -> richard
>
> On 5/14/09 2:34 PM, Richard S. Hall wrote:
>> On 5/14/09 11:43 AM, Derek Baum wrote:
>>> The error appears due a Fragment-Host with a version range:
>>>
>>> Fragment-Host:
>>> com.springsource.org.richfaces;version="[3.1.4.GA<http://3.1.4.ga/>,
>>> 4.0.0)"
>>>
>>> bindex generates this in the OBR:
>>>
>>> <p n='version' t='version' v='[3.1.4.GA<http://3.1.4.ga/>,4.0.0)'/>
>>>
>>> which the Felix OBR parser is trying to convert into a Version (not a
>>> range).
>>
>> IC. Well, the type does say it is a version (t='version'). :-)
>>
>> We could potentially hack it so that if we see a "," in the value of
>> the version, then we assume it is a version range. I think that would
>> work.
>>
>> I opened a JIRA issue for this:
>>
>> https://issues.apache.org/jira/browse/FELIX-1155
>>
>> -> richard
>>>
>>> I tried to include the appropriate section from the OBR, but the felix
>>> mailing list rejected it as spam.
>>>
>>> Derek
>>>
>>>
>>> 2009/5/14 Richard S. Hall<he...@ungoverned.org>
>>>
>>>> Which version of OBR are you using?
>>>>
>>>> -> richard
>>>>
>>>>
>>>> On 5/14/09 10:31 AM, David Savage wrote:
>>>>
>>>>> Hmmm ok I admit I've not tried it with obr explicitly. I have my own
>>>>> obr parser in sigil which may be making some assumptions. That said
>>>>> this index is generated via bindex so it /should/ be the correct
>>>>> format. Possibly a bug in obr, bindex or sigil or all or some ;)
>>>>>
>>>>> Would be useful if obr gave you line numbers though...you may want to
>>>>> raise a bug on the felix issue system so it can be patched so we can
>>>>> get some more diagnostics.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Dave
>>>>>
>>>>> On Thu, May 14, 2009 at 2:52 PM, Edelson, Justin
>>>>> <Ju...@mtvstaff.com> wrote:
>>>>>
>>>>>
>>>>>> Ah, except that these don't work.
>>>>>>
>>>>>> I can add http://sigil.codecauldron.org/spring-release.obr (using
>>>>>> obr
>>>>>> add-url), but then attempts to run obr list fail with a NPE:
>>>>>> -> obr list -v
>>>>>> Unable to execute command: java.lang.NullPointerException
>>>>>> java.lang.NullPointerException
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
>>>>>>
>>>>>> at java.util.TreeMap.compare(TreeMap.java:1093)
>>>>>> at java.util.TreeMap.getEntry(TreeMap.java:347)
>>>>>> at java.util.TreeMap.get(TreeMap.java:265)
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>>>>>
>>>>>> at java.lang.Thread.run(Thread.java:595)
>>>>>> The external index fails to even add:
>>>>>> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
>>>>>> java.lang.reflect.InvocationTargetException
>>>>>> at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown
>>>>>> Source)
>>>>>> at
>>>>>>
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>>
>>>>>> at java.lang.reflect.Method.invoke(Method.java:585)
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>>>>>>
>>>>>> at java.security.AccessController.doPrivileged(Native
>>>>>> Method)
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>>>>>
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>>>>>
>>>>>> at java.lang.Thread.run(Thread.java:595)
>>>>>> Caused by: java.lang.NumberFormatException: For input string: "[3"
>>>>>> at
>>>>>>
>>>>>> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>>>>>>
>>>>>> at java.lang.Integer.parseInt(Integer.java:447)
>>>>>> at java.lang.Integer.parseInt(Integer.java:497)
>>>>>> at org.osgi.framework.Version.<init>(Version.java:128)
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
>>>>>>
>>>>>> at
>>>>>> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
>>>>>>
>>>>>> ... 17 more
>>>>>>
>>>>>> This second error looks like some bad metadata. Any clue on how
>>>>>> to track
>>>>>> down specifically where in the XML file this error is found?
>>>>>>
>>>>>> Thanks,
>>>>>> Justin
>>>>>> ________________________________
>>>>>> From: Edelson, Justin
>>>>>> Sent: Wed 5/13/2009 10:50 AM
>>>>>> To: users@felix.apache.org; david.savage@paremus.com
>>>>>> Subject: RE: Using SpringSource BR as an OBR in Felix
>>>>>>
>>>>>> Thanks. Exactly what I was looking for.
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: David Savage [mailto:dave.savage@paremus.com]
>>>>>> Sent: Wednesday, May 13, 2009 2:52 AM
>>>>>> To: users@felix.apache.org
>>>>>> Subject: Re: Using SpringSource BR as an OBR in Felix
>>>>>>
>>>>>> There is an obr index hosted on the sigil site:
>>>>>>
>>>>>> http://sigil.codecauldron.org/OBR+Repository
>>>>>>
>>>>>> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
>>>>>> <Ju...@mtvstaff.com> wrote:
>>>>>>
>>>>>>
>>>>>>> This seems like a really basic question, but I've searched the
>>>>>>> archives and can't find an answer. Is it possible to use the
>>>>>>> SpringSource bundle repository as an OBR? It's quite a pain to
>>>>>>> have to
>>>>>>> run mvn bundle:deploy-file into my own OBR for each
>>>>>>> bundle I need
>>>>>>> from
>>>>>>>
>>>>>>>
>>>>>> them.
>>>>>>
>>>>>>
>>>>>>> Thanks,
>>>>>>> Justin
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> --
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>> -------------
>>>>>>
>>>>>> Paremus Limited. Registered in England. Registration No. 4181472
>>>>>>
>>>>>> Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
>>>>>>
>>>>>> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>>>>>>
>>>>>> The information transmitted is intended only for the person(s) or
>>>>>> entity
>>>>>> to which it is addressed and may contain confidential and/or
>>>>>> privileged
>>>>>> material. Any review, retransmission, dissemination or other use
>>>>>> of, or
>>>>>> taking of any action in reliance upon, this information by
>>>>>> persons or
>>>>>> entities other than the intended recipient is prohibited.
>>>>>>
>>>>>> If you received this in error, please contact the sender and
>>>>>> delete the
>>>>>> material from any computer.
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>> -------------
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>
>>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>
>>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Using SpringSource BR as an OBR in Felix
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Looking at this more closely, this appears to be a bug in bindex. This
XML doesn't make sense to me:
<capability name='fragment'>
<p n='host' v='com.springsource.org.richfaces'/>
<p n='version' t='version' v='[3.1.4.GA,4.0.0)'/>
</capability>
I don't believe a capability would have a version range. Version ranges
are specified in requirements for matching against capabilities. I am
not really sure what is happening here. I think I will need to talk with
Peter about it.
-> richard
On 5/14/09 2:34 PM, Richard S. Hall wrote:
> On 5/14/09 11:43 AM, Derek Baum wrote:
>> The error appears due a Fragment-Host with a version range:
>>
>> Fragment-Host:
>> com.springsource.org.richfaces;version="[3.1.4.GA<http://3.1.4.ga/>,
>> 4.0.0)"
>>
>> bindex generates this in the OBR:
>>
>> <p n='version' t='version' v='[3.1.4.GA<http://3.1.4.ga/>,4.0.0)'/>
>>
>> which the Felix OBR parser is trying to convert into a Version (not a
>> range).
>
> IC. Well, the type does say it is a version (t='version'). :-)
>
> We could potentially hack it so that if we see a "," in the value of
> the version, then we assume it is a version range. I think that would
> work.
>
> I opened a JIRA issue for this:
>
> https://issues.apache.org/jira/browse/FELIX-1155
>
> -> richard
>>
>> I tried to include the appropriate section from the OBR, but the felix
>> mailing list rejected it as spam.
>>
>> Derek
>>
>>
>> 2009/5/14 Richard S. Hall<he...@ungoverned.org>
>>
>>> Which version of OBR are you using?
>>>
>>> -> richard
>>>
>>>
>>> On 5/14/09 10:31 AM, David Savage wrote:
>>>
>>>> Hmmm ok I admit I've not tried it with obr explicitly. I have my own
>>>> obr parser in sigil which may be making some assumptions. That said
>>>> this index is generated via bindex so it /should/ be the correct
>>>> format. Possibly a bug in obr, bindex or sigil or all or some ;)
>>>>
>>>> Would be useful if obr gave you line numbers though...you may want to
>>>> raise a bug on the felix issue system so it can be patched so we can
>>>> get some more diagnostics.
>>>>
>>>> Regards,
>>>>
>>>> Dave
>>>>
>>>> On Thu, May 14, 2009 at 2:52 PM, Edelson, Justin
>>>> <Ju...@mtvstaff.com> wrote:
>>>>
>>>>
>>>>> Ah, except that these don't work.
>>>>>
>>>>> I can add http://sigil.codecauldron.org/spring-release.obr (using obr
>>>>> add-url), but then attempts to run obr list fail with a NPE:
>>>>> -> obr list -v
>>>>> Unable to execute command: java.lang.NullPointerException
>>>>> java.lang.NullPointerException
>>>>> at
>>>>>
>>>>> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
>>>>>
>>>>> at java.util.TreeMap.compare(TreeMap.java:1093)
>>>>> at java.util.TreeMap.getEntry(TreeMap.java:347)
>>>>> at java.util.TreeMap.get(TreeMap.java:265)
>>>>> at
>>>>>
>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
>>>>>
>>>>> at
>>>>>
>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
>>>>>
>>>>> at
>>>>>
>>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>>>>
>>>>> at
>>>>>
>>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>>>>
>>>>> at java.lang.Thread.run(Thread.java:595)
>>>>> The external index fails to even add:
>>>>> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
>>>>> java.lang.reflect.InvocationTargetException
>>>>> at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown
>>>>> Source)
>>>>> at
>>>>>
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>
>>>>> at java.lang.reflect.Method.invoke(Method.java:585)
>>>>> at
>>>>>
>>>>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>>>>>
>>>>> at
>>>>>
>>>>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>>>>>
>>>>> at
>>>>>
>>>>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>>>
>>>>> at
>>>>>
>>>>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>>>>>
>>>>> at
>>>>>
>>>>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>>>>>
>>>>> at java.security.AccessController.doPrivileged(Native
>>>>> Method)
>>>>> at
>>>>>
>>>>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>>>
>>>>> at
>>>>>
>>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>>>
>>>>> at
>>>>>
>>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>>>
>>>>> at
>>>>>
>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>>>>
>>>>> at
>>>>>
>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>>>>>
>>>>> at
>>>>>
>>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>>>>
>>>>> at
>>>>>
>>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>>>>
>>>>> at java.lang.Thread.run(Thread.java:595)
>>>>> Caused by: java.lang.NumberFormatException: For input string: "[3"
>>>>> at
>>>>>
>>>>> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>>>>>
>>>>> at java.lang.Integer.parseInt(Integer.java:447)
>>>>> at java.lang.Integer.parseInt(Integer.java:497)
>>>>> at org.osgi.framework.Version.<init>(Version.java:128)
>>>>> at
>>>>>
>>>>> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
>>>>>
>>>>> at
>>>>> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
>>>>>
>>>>> ... 17 more
>>>>>
>>>>> This second error looks like some bad metadata. Any clue on how to
>>>>> track
>>>>> down specifically where in the XML file this error is found?
>>>>>
>>>>> Thanks,
>>>>> Justin
>>>>> ________________________________
>>>>> From: Edelson, Justin
>>>>> Sent: Wed 5/13/2009 10:50 AM
>>>>> To: users@felix.apache.org; david.savage@paremus.com
>>>>> Subject: RE: Using SpringSource BR as an OBR in Felix
>>>>>
>>>>> Thanks. Exactly what I was looking for.
>>>>>
>>>>> -----Original Message-----
>>>>> From: David Savage [mailto:dave.savage@paremus.com]
>>>>> Sent: Wednesday, May 13, 2009 2:52 AM
>>>>> To: users@felix.apache.org
>>>>> Subject: Re: Using SpringSource BR as an OBR in Felix
>>>>>
>>>>> There is an obr index hosted on the sigil site:
>>>>>
>>>>> http://sigil.codecauldron.org/OBR+Repository
>>>>>
>>>>> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
>>>>> <Ju...@mtvstaff.com> wrote:
>>>>>
>>>>>
>>>>>> This seems like a really basic question, but I've searched the
>>>>>> archives and can't find an answer. Is it possible to use the
>>>>>> SpringSource bundle repository as an OBR? It's quite a pain to
>>>>>> have to
>>>>>> run mvn bundle:deploy-file into my own OBR for each bundle
>>>>>> I need
>>>>>> from
>>>>>>
>>>>>>
>>>>> them.
>>>>>
>>>>>
>>>>>> Thanks,
>>>>>> Justin
>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> -------------
>>>>>
>>>>> Paremus Limited. Registered in England. Registration No. 4181472
>>>>>
>>>>> Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
>>>>>
>>>>> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>>>>>
>>>>> The information transmitted is intended only for the person(s) or
>>>>> entity
>>>>> to which it is addressed and may contain confidential and/or
>>>>> privileged
>>>>> material. Any review, retransmission, dissemination or other use
>>>>> of, or
>>>>> taking of any action in reliance upon, this information by persons or
>>>>> entities other than the intended recipient is prohibited.
>>>>>
>>>>> If you received this in error, please contact the sender and
>>>>> delete the
>>>>> material from any computer.
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> -------------
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Using SpringSource BR as an OBR in Felix
Posted by "Richard S. Hall" <he...@ungoverned.org>.
On 5/14/09 2:54 PM, David Savage wrote:
> Out of interest are those< ://> characters legal in OSGi version? I
> would have assumed not. But also this shouldn't cause a runtime
> exception...
>
I assumed those were the result of some weird email client
auto-formatting or something.
-> richard
> On Thu, May 14, 2009 at 7:34 PM, Richard S. Hall<he...@ungoverned.org> wrote:
>
>> On 5/14/09 11:43 AM, Derek Baum wrote:
>>
>>> The error appears due a Fragment-Host with a version range:
>>>
>>> Fragment-Host:
>>> com.springsource.org.richfaces;version="[3.1.4.GA<http://3.1.4.ga/>,
>>> 4.0.0)"
>>>
>>> bindex generates this in the OBR:
>>>
>>> <p n='version' t='version' v='[3.1.4.GA<http://3.1.4.ga/>,4.0.0)'/>
>>>
>>> which the Felix OBR parser is trying to convert into a Version (not a
>>> range).
>>>
>>>
>> IC. Well, the type does say it is a version (t='version'). :-)
>>
>> We could potentially hack it so that if we see a "," in the value of the
>> version, then we assume it is a version range. I think that would work.
>>
>> I opened a JIRA issue for this:
>>
>> https://issues.apache.org/jira/browse/FELIX-1155
>>
>> -> richard
>>
>>> I tried to include the appropriate section from the OBR, but the felix
>>> mailing list rejected it as spam.
>>>
>>> Derek
>>>
>>>
>>> 2009/5/14 Richard S. Hall<he...@ungoverned.org>
>>>
>>>
>>>
>>>> Which version of OBR are you using?
>>>>
>>>> -> richard
>>>>
>>>>
>>>> On 5/14/09 10:31 AM, David Savage wrote:
>>>>
>>>>
>>>>
>>>>> Hmmm ok I admit I've not tried it with obr explicitly. I have my own
>>>>> obr parser in sigil which may be making some assumptions. That said
>>>>> this index is generated via bindex so it /should/ be the correct
>>>>> format. Possibly a bug in obr, bindex or sigil or all or some ;)
>>>>>
>>>>> Would be useful if obr gave you line numbers though...you may want to
>>>>> raise a bug on the felix issue system so it can be patched so we can
>>>>> get some more diagnostics.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Dave
>>>>>
>>>>> On Thu, May 14, 2009 at 2:52 PM, Edelson, Justin
>>>>> <Ju...@mtvstaff.com> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> Ah, except that these don't work.
>>>>>>
>>>>>> I can add http://sigil.codecauldron.org/spring-release.obr (using obr
>>>>>> add-url), but then attempts to run obr list fail with a NPE:
>>>>>> -> obr list -v
>>>>>> Unable to execute command: java.lang.NullPointerException
>>>>>> java.lang.NullPointerException
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
>>>>>> at java.util.TreeMap.compare(TreeMap.java:1093)
>>>>>> at java.util.TreeMap.getEntry(TreeMap.java:347)
>>>>>> at java.util.TreeMap.get(TreeMap.java:265)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>>>>> at java.lang.Thread.run(Thread.java:595)
>>>>>> The external index fails to even add:
>>>>>> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
>>>>>> java.lang.reflect.InvocationTargetException
>>>>>> at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>> at java.lang.reflect.Method.invoke(Method.java:585)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>>>>> at java.lang.Thread.run(Thread.java:595)
>>>>>> Caused by: java.lang.NumberFormatException: For input string: "[3"
>>>>>> at
>>>>>>
>>>>>>
>>>>>> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>>>>>> at java.lang.Integer.parseInt(Integer.java:447)
>>>>>> at java.lang.Integer.parseInt(Integer.java:497)
>>>>>> at org.osgi.framework.Version.<init>(Version.java:128)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
>>>>>> at
>>>>>>
>>>>>> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
>>>>>> ... 17 more
>>>>>>
>>>>>> This second error looks like some bad metadata. Any clue on how to
>>>>>> track
>>>>>> down specifically where in the XML file this error is found?
>>>>>>
>>>>>> Thanks,
>>>>>> Justin
>>>>>> ________________________________
>>>>>> From: Edelson, Justin
>>>>>> Sent: Wed 5/13/2009 10:50 AM
>>>>>> To: users@felix.apache.org; david.savage@paremus.com
>>>>>> Subject: RE: Using SpringSource BR as an OBR in Felix
>>>>>>
>>>>>> Thanks. Exactly what I was looking for.
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: David Savage [mailto:dave.savage@paremus.com]
>>>>>> Sent: Wednesday, May 13, 2009 2:52 AM
>>>>>> To: users@felix.apache.org
>>>>>> Subject: Re: Using SpringSource BR as an OBR in Felix
>>>>>>
>>>>>> There is an obr index hosted on the sigil site:
>>>>>>
>>>>>> http://sigil.codecauldron.org/OBR+Repository
>>>>>>
>>>>>> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
>>>>>> <Ju...@mtvstaff.com> wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> This seems like a really basic question, but I've searched the
>>>>>>> archives and can't find an answer. Is it possible to use the
>>>>>>> SpringSource bundle repository as an OBR? It's quite a pain to have to
>>>>>>> run mvn bundle:deploy-file into my own OBR for each bundle I
>>>>>>> need
>>>>>>> from
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> them.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Thanks,
>>>>>>> Justin
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> --
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> -------------
>>>>>>
>>>>>> Paremus Limited. Registered in England. Registration No. 4181472
>>>>>>
>>>>>> Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
>>>>>>
>>>>>> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>>>>>>
>>>>>> The information transmitted is intended only for the person(s) or
>>>>>> entity
>>>>>> to which it is addressed and may contain confidential and/or privileged
>>>>>> material. Any review, retransmission, dissemination or other use of, or
>>>>>> taking of any action in reliance upon, this information by persons or
>>>>>> entities other than the intended recipient is prohibited.
>>>>>>
>>>>>> If you received this in error, please contact the sender and delete the
>>>>>> material from any computer.
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> -------------
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>
>
>
>
>
Re: Using SpringSource BR as an OBR in Felix
Posted by David Savage <da...@paremus.com>.
Out of interest are those < :// > characters legal in OSGi version? I
would have assumed not. But also this shouldn't cause a runtime
exception...
On Thu, May 14, 2009 at 7:34 PM, Richard S. Hall <he...@ungoverned.org> wrote:
> On 5/14/09 11:43 AM, Derek Baum wrote:
>>
>> The error appears due a Fragment-Host with a version range:
>>
>> Fragment-Host:
>> com.springsource.org.richfaces;version="[3.1.4.GA<http://3.1.4.ga/>,
>> 4.0.0)"
>>
>> bindex generates this in the OBR:
>>
>> <p n='version' t='version' v='[3.1.4.GA<http://3.1.4.ga/>,4.0.0)'/>
>>
>> which the Felix OBR parser is trying to convert into a Version (not a
>> range).
>>
>
> IC. Well, the type does say it is a version (t='version'). :-)
>
> We could potentially hack it so that if we see a "," in the value of the
> version, then we assume it is a version range. I think that would work.
>
> I opened a JIRA issue for this:
>
> Â Â https://issues.apache.org/jira/browse/FELIX-1155
>
> -> richard
>>
>> I tried to include the appropriate section from the OBR, but the felix
>> mailing list rejected it as spam.
>>
>> Derek
>>
>>
>> 2009/5/14 Richard S. Hall<he...@ungoverned.org>
>>
>>
>>>
>>> Which version of OBR are you using?
>>>
>>> -> Â richard
>>>
>>>
>>> On 5/14/09 10:31 AM, David Savage wrote:
>>>
>>>
>>>>
>>>> Hmmm ok I admit I've not tried it with obr explicitly. I have my own
>>>> obr parser in sigil which may be making some assumptions. That said
>>>> this index is generated via bindex so it /should/ be the correct
>>>> format. Possibly a bug in obr, bindex or sigil or all or some ;)
>>>>
>>>> Would be useful if obr gave you line numbers though...you may want to
>>>> raise a bug on the felix issue system so it can be patched so we can
>>>> get some more diagnostics.
>>>>
>>>> Regards,
>>>>
>>>> Dave
>>>>
>>>> On Thu, May 14, 2009 at 2:52 PM, Edelson, Justin
>>>> <Ju...@mtvstaff.com> Â wrote:
>>>>
>>>>
>>>>
>>>>>
>>>>> Ah, except that these don't work.
>>>>>
>>>>> I can add http://sigil.codecauldron.org/spring-release.obr (using obr
>>>>> add-url), but then attempts to run obr list fail with a NPE:
>>>>> -> Â obr list -v
>>>>> Unable to execute command: java.lang.NullPointerException
>>>>> java.lang.NullPointerException
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
>>>>> Â Â Â Â at java.util.TreeMap.compare(TreeMap.java:1093)
>>>>> Â Â Â Â at java.util.TreeMap.getEntry(TreeMap.java:347)
>>>>> Â Â Â Â at java.util.TreeMap.get(TreeMap.java:265)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>>>> Â Â Â Â at java.lang.Thread.run(Thread.java:595)
>>>>> The external index fails to even add:
>>>>> -> Â obr add-url http://sigil.codecauldron.org/spring-external.obr
>>>>> java.lang.reflect.InvocationTargetException
>>>>> Â Â Â Â at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>> Â Â Â Â at java.lang.reflect.Method.invoke(Method.java:585)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>>>>> Â Â Â Â at java.security.AccessController.doPrivileged(Native Method)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>>>> Â Â Â Â at java.lang.Thread.run(Thread.java:595)
>>>>> Caused by: java.lang.NumberFormatException: For input string: "[3"
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>>>>> Â Â Â Â at java.lang.Integer.parseInt(Integer.java:447)
>>>>> Â Â Â Â at java.lang.Integer.parseInt(Integer.java:497)
>>>>> Â Â Â Â at org.osgi.framework.Version.<init>(Version.java:128)
>>>>> Â Â Â Â at
>>>>>
>>>>>
>>>>> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
>>>>> Â Â Â Â at
>>>>>
>>>>> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
>>>>> Â Â Â Â ... 17 more
>>>>>
>>>>> This second error looks like some bad metadata. Any clue on how to
>>>>> track
>>>>> down specifically where in the XML file this error is found?
>>>>>
>>>>> Thanks,
>>>>> Justin
>>>>> ________________________________
>>>>> From: Edelson, Justin
>>>>> Sent: Wed 5/13/2009 10:50 AM
>>>>> To: users@felix.apache.org; david.savage@paremus.com
>>>>> Subject: RE: Using SpringSource BR as an OBR in Felix
>>>>>
>>>>> Thanks. Exactly what I was looking for.
>>>>>
>>>>> -----Original Message-----
>>>>> From: David Savage [mailto:dave.savage@paremus.com]
>>>>> Sent: Wednesday, May 13, 2009 2:52 AM
>>>>> To: users@felix.apache.org
>>>>> Subject: Re: Using SpringSource BR as an OBR in Felix
>>>>>
>>>>> There is an obr index hosted on the sigil site:
>>>>>
>>>>> http://sigil.codecauldron.org/OBR+Repository
>>>>>
>>>>> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
>>>>> <Ju...@mtvstaff.com> Â wrote:
>>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> This seems like a really basic question, but I've searched the
>>>>>> archives and can't find an answer. Is it possible to use the
>>>>>> SpringSource bundle repository as an OBR? It's quite a pain to have to
>>>>>> Â Â Â run mvn bundle:deploy-file into my own OBR for each bundle I
>>>>>> need
>>>>>> from
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> them.
>>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>> Justin
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> -------------
>>>>>
>>>>> Paremus Limited. Registered in England. Registration No. 4181472
>>>>>
>>>>> Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
>>>>>
>>>>> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>>>>>
>>>>> The information transmitted is intended only for the person(s) or
>>>>> entity
>>>>> to which it is addressed and may contain confidential and/or privileged
>>>>> material. Any review, retransmission, dissemination or other use of, or
>>>>> taking of any action in reliance upon, this information by persons or
>>>>> entities other than the intended recipient is prohibited.
>>>>>
>>>>> If you received this in error, please contact the sender and delete the
>>>>> material from any computer.
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> -------------
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>
>>
>
--
-------------------------------------------------------------------------------------
Paremus Limited. Registered in England. Registration No. 4181472
Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
Postal Address: 107-111 Fleet Street, London, EC4A 2AB
The information transmitted is intended only for the person(s) or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or
other use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient
is prohibited.
If you received this in error, please contact the sender and delete
the material from any computer.
-------------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Using SpringSource BR as an OBR in Felix
Posted by "Richard S. Hall" <he...@ungoverned.org>.
On 5/14/09 11:43 AM, Derek Baum wrote:
> The error appears due a Fragment-Host with a version range:
>
> Fragment-Host: com.springsource.org.richfaces;version="[3.1.4.GA<http://3.1.4.ga/>,
> 4.0.0)"
>
> bindex generates this in the OBR:
>
> <p n='version' t='version' v='[3.1.4.GA<http://3.1.4.ga/>,4.0.0)'/>
>
> which the Felix OBR parser is trying to convert into a Version (not a
> range).
>
IC. Well, the type does say it is a version (t='version'). :-)
We could potentially hack it so that if we see a "," in the value of the
version, then we assume it is a version range. I think that would work.
I opened a JIRA issue for this:
https://issues.apache.org/jira/browse/FELIX-1155
-> richard
>
> I tried to include the appropriate section from the OBR, but the felix
> mailing list rejected it as spam.
>
> Derek
>
>
> 2009/5/14 Richard S. Hall<he...@ungoverned.org>
>
>
>> Which version of OBR are you using?
>>
>> -> richard
>>
>>
>> On 5/14/09 10:31 AM, David Savage wrote:
>>
>>
>>> Hmmm ok I admit I've not tried it with obr explicitly. I have my own
>>> obr parser in sigil which may be making some assumptions. That said
>>> this index is generated via bindex so it /should/ be the correct
>>> format. Possibly a bug in obr, bindex or sigil or all or some ;)
>>>
>>> Would be useful if obr gave you line numbers though...you may want to
>>> raise a bug on the felix issue system so it can be patched so we can
>>> get some more diagnostics.
>>>
>>> Regards,
>>>
>>> Dave
>>>
>>> On Thu, May 14, 2009 at 2:52 PM, Edelson, Justin
>>> <Ju...@mtvstaff.com> wrote:
>>>
>>>
>>>
>>>> Ah, except that these don't work.
>>>>
>>>> I can add http://sigil.codecauldron.org/spring-release.obr (using obr
>>>> add-url), but then attempts to run obr list fail with a NPE:
>>>> -> obr list -v
>>>> Unable to execute command: java.lang.NullPointerException
>>>> java.lang.NullPointerException
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
>>>> at java.util.TreeMap.compare(TreeMap.java:1093)
>>>> at java.util.TreeMap.getEntry(TreeMap.java:347)
>>>> at java.util.TreeMap.get(TreeMap.java:265)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
>>>> at
>>>>
>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>>> at
>>>>
>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>>> at java.lang.Thread.run(Thread.java:595)
>>>> The external index fails to even add:
>>>> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
>>>> java.lang.reflect.InvocationTargetException
>>>> at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
>>>> at
>>>>
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>> at java.lang.reflect.Method.invoke(Method.java:585)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>>>> at
>>>>
>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>>> at
>>>>
>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>>> at java.lang.Thread.run(Thread.java:595)
>>>> Caused by: java.lang.NumberFormatException: For input string: "[3"
>>>> at
>>>>
>>>> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>>>> at java.lang.Integer.parseInt(Integer.java:447)
>>>> at java.lang.Integer.parseInt(Integer.java:497)
>>>> at org.osgi.framework.Version.<init>(Version.java:128)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
>>>> at
>>>> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
>>>> ... 17 more
>>>>
>>>> This second error looks like some bad metadata. Any clue on how to track
>>>> down specifically where in the XML file this error is found?
>>>>
>>>> Thanks,
>>>> Justin
>>>> ________________________________
>>>> From: Edelson, Justin
>>>> Sent: Wed 5/13/2009 10:50 AM
>>>> To: users@felix.apache.org; david.savage@paremus.com
>>>> Subject: RE: Using SpringSource BR as an OBR in Felix
>>>>
>>>> Thanks. Exactly what I was looking for.
>>>>
>>>> -----Original Message-----
>>>> From: David Savage [mailto:dave.savage@paremus.com]
>>>> Sent: Wednesday, May 13, 2009 2:52 AM
>>>> To: users@felix.apache.org
>>>> Subject: Re: Using SpringSource BR as an OBR in Felix
>>>>
>>>> There is an obr index hosted on the sigil site:
>>>>
>>>> http://sigil.codecauldron.org/OBR+Repository
>>>>
>>>> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
>>>> <Ju...@mtvstaff.com> wrote:
>>>>
>>>>
>>>>
>>>>> This seems like a really basic question, but I've searched the
>>>>> archives and can't find an answer. Is it possible to use the
>>>>> SpringSource bundle repository as an OBR? It's quite a pain to have to
>>>>> run mvn bundle:deploy-file into my own OBR for each bundle I need
>>>>> from
>>>>>
>>>>>
>>>>>
>>>> them.
>>>>
>>>>
>>>>
>>>>> Thanks,
>>>>> Justin
>>>>>
>>>>>
>>>>>
>>>>>
>>>> --
>>>> ------------------------------------------------------------------------
>>>> -------------
>>>>
>>>> Paremus Limited. Registered in England. Registration No. 4181472
>>>>
>>>> Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
>>>>
>>>> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>>>>
>>>> The information transmitted is intended only for the person(s) or entity
>>>> to which it is addressed and may contain confidential and/or privileged
>>>> material. Any review, retransmission, dissemination or other use of, or
>>>> taking of any action in reliance upon, this information by persons or
>>>> entities other than the intended recipient is prohibited.
>>>>
>>>> If you received this in error, please contact the sender and delete the
>>>> material from any computer.
>>>>
>>>> ------------------------------------------------------------------------
>>>> -------------
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>
>
Re: Using SpringSource BR as an OBR in Felix
Posted by Derek Baum <de...@paremus.com>.
The error appears due a Fragment-Host with a version range:
Fragment-Host: com.springsource.org.richfaces;version="[3.1.4.GA<http://3.1.4.ga/>,
4.0.0)"
bindex generates this in the OBR:
<p n='version' t='version' v='[3.1.4.GA <http://3.1.4.ga/>,4.0.0)'/>
which the Felix OBR parser is trying to convert into a Version (not a
range).
I tried to include the appropriate section from the OBR, but the felix
mailing list rejected it as spam.
Derek
2009/5/14 Richard S. Hall <he...@ungoverned.org>
> Which version of OBR are you using?
>
> -> richard
>
>
> On 5/14/09 10:31 AM, David Savage wrote:
>
>> Hmmm ok I admit I've not tried it with obr explicitly. I have my own
>> obr parser in sigil which may be making some assumptions. That said
>> this index is generated via bindex so it /should/ be the correct
>> format. Possibly a bug in obr, bindex or sigil or all or some ;)
>>
>> Would be useful if obr gave you line numbers though...you may want to
>> raise a bug on the felix issue system so it can be patched so we can
>> get some more diagnostics.
>>
>> Regards,
>>
>> Dave
>>
>> On Thu, May 14, 2009 at 2:52 PM, Edelson, Justin
>> <Ju...@mtvstaff.com> wrote:
>>
>>
>>> Ah, except that these don't work.
>>>
>>> I can add http://sigil.codecauldron.org/spring-release.obr (using obr
>>> add-url), but then attempts to run obr list fail with a NPE:
>>> -> obr list -v
>>> Unable to execute command: java.lang.NullPointerException
>>> java.lang.NullPointerException
>>> at
>>>
>>> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
>>> at java.util.TreeMap.compare(TreeMap.java:1093)
>>> at java.util.TreeMap.getEntry(TreeMap.java:347)
>>> at java.util.TreeMap.get(TreeMap.java:265)
>>> at
>>>
>>> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
>>> at
>>>
>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
>>> at
>>>
>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>> at
>>>
>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>> at java.lang.Thread.run(Thread.java:595)
>>> The external index fails to even add:
>>> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
>>> java.lang.reflect.InvocationTargetException
>>> at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
>>> at
>>>
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:585)
>>> at
>>>
>>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>>> at
>>>
>>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>>> at
>>>
>>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>> at
>>>
>>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>>> at
>>>
>>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at
>>>
>>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>> at
>>>
>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>> at
>>>
>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>> at
>>>
>>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>> at
>>>
>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>>> at
>>>
>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>> at
>>>
>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>> at java.lang.Thread.run(Thread.java:595)
>>> Caused by: java.lang.NumberFormatException: For input string: "[3"
>>> at
>>>
>>> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>>> at java.lang.Integer.parseInt(Integer.java:447)
>>> at java.lang.Integer.parseInt(Integer.java:497)
>>> at org.osgi.framework.Version.<init>(Version.java:128)
>>> at
>>>
>>> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
>>> at
>>> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
>>> ... 17 more
>>>
>>> This second error looks like some bad metadata. Any clue on how to track
>>> down specifically where in the XML file this error is found?
>>>
>>> Thanks,
>>> Justin
>>> ________________________________
>>> From: Edelson, Justin
>>> Sent: Wed 5/13/2009 10:50 AM
>>> To: users@felix.apache.org; david.savage@paremus.com
>>> Subject: RE: Using SpringSource BR as an OBR in Felix
>>>
>>> Thanks. Exactly what I was looking for.
>>>
>>> -----Original Message-----
>>> From: David Savage [mailto:dave.savage@paremus.com]
>>> Sent: Wednesday, May 13, 2009 2:52 AM
>>> To: users@felix.apache.org
>>> Subject: Re: Using SpringSource BR as an OBR in Felix
>>>
>>> There is an obr index hosted on the sigil site:
>>>
>>> http://sigil.codecauldron.org/OBR+Repository
>>>
>>> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
>>> <Ju...@mtvstaff.com> wrote:
>>>
>>>
>>>> This seems like a really basic question, but I've searched the
>>>> archives and can't find an answer. Is it possible to use the
>>>> SpringSource bundle repository as an OBR? It's quite a pain to have to
>>>> run mvn bundle:deploy-file into my own OBR for each bundle I need
>>>> from
>>>>
>>>>
>>> them.
>>>
>>>
>>>> Thanks,
>>>> Justin
>>>>
>>>>
>>>>
>>>
>>> --
>>> ------------------------------------------------------------------------
>>> -------------
>>>
>>> Paremus Limited. Registered in England. Registration No. 4181472
>>>
>>> Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
>>>
>>> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>>>
>>> The information transmitted is intended only for the person(s) or entity
>>> to which it is addressed and may contain confidential and/or privileged
>>> material. Any review, retransmission, dissemination or other use of, or
>>> taking of any action in reliance upon, this information by persons or
>>> entities other than the intended recipient is prohibited.
>>>
>>> If you received this in error, please contact the sender and delete the
>>> material from any computer.
>>>
>>> ------------------------------------------------------------------------
>>> -------------
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>
RE: Using SpringSource BR as an OBR in Felix
Posted by "Edelson, Justin" <Ju...@mtvstaff.com>.
1.4.0
________________________________
From: Richard S. Hall [mailto:heavy@ungoverned.org]
Sent: Thu 5/14/2009 10:43 AM
To: users@felix.apache.org
Subject: Re: Using SpringSource BR as an OBR in Felix
Which version of OBR are you using?
-> richard
On 5/14/09 10:31 AM, David Savage wrote:
> Hmmm ok I admit I've not tried it with obr explicitly. I have my own
> obr parser in sigil which may be making some assumptions. That said
> this index is generated via bindex so it /should/ be the correct
> format. Possibly a bug in obr, bindex or sigil or all or some ;)
>
> Would be useful if obr gave you line numbers though...you may want to
> raise a bug on the felix issue system so it can be patched so we can
> get some more diagnostics.
>
> Regards,
>
> Dave
>
> On Thu, May 14, 2009 at 2:52 PM, Edelson, Justin
> <Ju...@mtvstaff.com> wrote:
>
>> Ah, except that these don't work.
>>
>> I can add http://sigil.codecauldron.org/spring-release.obr (using obr
>> add-url), but then attempts to run obr list fail with a NPE:
>> -> obr list -v
>> Unable to execute command: java.lang.NullPointerException
>> java.lang.NullPointerException
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
>> at java.util.TreeMap.compare(TreeMap.java:1093)
>> at java.util.TreeMap.getEntry(TreeMap.java:347)
>> at java.util.TreeMap.get(TreeMap.java:265)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
>> at
>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>> at
>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>> at java.lang.Thread.run(Thread.java:595)
>> The external index fails to even add:
>> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
>> java.lang.reflect.InvocationTargetException
>> at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at
>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>> at
>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>> at
>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>> at
>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>> at
>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>> at
>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>> at java.lang.Thread.run(Thread.java:595)
>> Caused by: java.lang.NumberFormatException: For input string: "[3"
>> at
>> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>> at java.lang.Integer.parseInt(Integer.java:447)
>> at java.lang.Integer.parseInt(Integer.java:497)
>> at org.osgi.framework.Version.<init>(Version.java:128)
>> at
>> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
>> at
>> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
>> ... 17 more
>>
>> This second error looks like some bad metadata. Any clue on how to track
>> down specifically where in the XML file this error is found?
>>
>> Thanks,
>> Justin
>> ________________________________
>> From: Edelson, Justin
>> Sent: Wed 5/13/2009 10:50 AM
>> To: users@felix.apache.org; david.savage@paremus.com
>> Subject: RE: Using SpringSource BR as an OBR in Felix
>>
>> Thanks. Exactly what I was looking for.
>>
>> -----Original Message-----
>> From: David Savage [mailto:dave.savage@paremus.com]
>> Sent: Wednesday, May 13, 2009 2:52 AM
>> To: users@felix.apache.org
>> Subject: Re: Using SpringSource BR as an OBR in Felix
>>
>> There is an obr index hosted on the sigil site:
>>
>> http://sigil.codecauldron.org/OBR+Repository
>>
>> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
>> <Ju...@mtvstaff.com> wrote:
>>
>>> This seems like a really basic question, but I've searched the
>>> archives and can't find an answer. Is it possible to use the
>>> SpringSource bundle repository as an OBR? It's quite a pain to have to
>>>
>>> run mvn bundle:deploy-file into my own OBR for each bundle I need from
>>>
>> them.
>>
>>> Thanks,
>>> Justin
>>>
>>>
>>
>> --
>> ------------------------------------------------------------------------
>> -------------
>>
>> Paremus Limited. Registered in England. Registration No. 4181472
>>
>> Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
>>
>> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>>
>> The information transmitted is intended only for the person(s) or entity
>> to which it is addressed and may contain confidential and/or privileged
>> material. Any review, retransmission, dissemination or other use of, or
>> taking of any action in reliance upon, this information by persons or
>> entities other than the intended recipient is prohibited.
>>
>> If you received this in error, please contact the sender and delete the
>> material from any computer.
>>
>> ------------------------------------------------------------------------
>> -------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>>
>
>
>
>
Re: Using SpringSource BR as an OBR in Felix
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Which version of OBR are you using?
-> richard
On 5/14/09 10:31 AM, David Savage wrote:
> Hmmm ok I admit I've not tried it with obr explicitly. I have my own
> obr parser in sigil which may be making some assumptions. That said
> this index is generated via bindex so it /should/ be the correct
> format. Possibly a bug in obr, bindex or sigil or all or some ;)
>
> Would be useful if obr gave you line numbers though...you may want to
> raise a bug on the felix issue system so it can be patched so we can
> get some more diagnostics.
>
> Regards,
>
> Dave
>
> On Thu, May 14, 2009 at 2:52 PM, Edelson, Justin
> <Ju...@mtvstaff.com> wrote:
>
>> Ah, except that these don't work.
>>
>> I can add http://sigil.codecauldron.org/spring-release.obr (using obr
>> add-url), but then attempts to run obr list fail with a NPE:
>> -> obr list -v
>> Unable to execute command: java.lang.NullPointerException
>> java.lang.NullPointerException
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
>> at java.util.TreeMap.compare(TreeMap.java:1093)
>> at java.util.TreeMap.getEntry(TreeMap.java:347)
>> at java.util.TreeMap.get(TreeMap.java:265)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
>> at
>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>> at
>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>> at java.lang.Thread.run(Thread.java:595)
>> The external index fails to even add:
>> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
>> java.lang.reflect.InvocationTargetException
>> at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at
>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>> at
>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>> at
>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>> at
>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>> at
>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>> at
>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>> at java.lang.Thread.run(Thread.java:595)
>> Caused by: java.lang.NumberFormatException: For input string: "[3"
>> at
>> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>> at java.lang.Integer.parseInt(Integer.java:447)
>> at java.lang.Integer.parseInt(Integer.java:497)
>> at org.osgi.framework.Version.<init>(Version.java:128)
>> at
>> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
>> at
>> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
>> ... 17 more
>>
>> This second error looks like some bad metadata. Any clue on how to track
>> down specifically where in the XML file this error is found?
>>
>> Thanks,
>> Justin
>> ________________________________
>> From: Edelson, Justin
>> Sent: Wed 5/13/2009 10:50 AM
>> To: users@felix.apache.org; david.savage@paremus.com
>> Subject: RE: Using SpringSource BR as an OBR in Felix
>>
>> Thanks. Exactly what I was looking for.
>>
>> -----Original Message-----
>> From: David Savage [mailto:dave.savage@paremus.com]
>> Sent: Wednesday, May 13, 2009 2:52 AM
>> To: users@felix.apache.org
>> Subject: Re: Using SpringSource BR as an OBR in Felix
>>
>> There is an obr index hosted on the sigil site:
>>
>> http://sigil.codecauldron.org/OBR+Repository
>>
>> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
>> <Ju...@mtvstaff.com> wrote:
>>
>>> This seems like a really basic question, but I've searched the
>>> archives and can't find an answer. Is it possible to use the
>>> SpringSource bundle repository as an OBR? It's quite a pain to have to
>>>
>>> run mvn bundle:deploy-file into my own OBR for each bundle I need from
>>>
>> them.
>>
>>> Thanks,
>>> Justin
>>>
>>>
>>
>> --
>> ------------------------------------------------------------------------
>> -------------
>>
>> Paremus Limited. Registered in England. Registration No. 4181472
>>
>> Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
>>
>> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>>
>> The information transmitted is intended only for the person(s) or entity
>> to which it is addressed and may contain confidential and/or privileged
>> material. Any review, retransmission, dissemination or other use of, or
>> taking of any action in reliance upon, this information by persons or
>> entities other than the intended recipient is prohibited.
>>
>> If you received this in error, please contact the sender and delete the
>> material from any computer.
>>
>> ------------------------------------------------------------------------
>> -------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>>
>
>
>
>
Re: Using SpringSource BR as an OBR in Felix
Posted by David Savage <da...@paremus.com>.
Hmmm ok I admit I've not tried it with obr explicitly. I have my own
obr parser in sigil which may be making some assumptions. That said
this index is generated via bindex so it /should/ be the correct
format. Possibly a bug in obr, bindex or sigil or all or some ;)
Would be useful if obr gave you line numbers though...you may want to
raise a bug on the felix issue system so it can be patched so we can
get some more diagnostics.
Regards,
Dave
On Thu, May 14, 2009 at 2:52 PM, Edelson, Justin
<Ju...@mtvstaff.com> wrote:
> Ah, except that these don't work.
>
> I can add http://sigil.codecauldron.org/spring-release.obr (using obr
> add-url), but then attempts to run obr list fail with a NPE:
> -> obr list -v
> Unable to execute command: java.lang.NullPointerException
> java.lang.NullPointerException
> Â Â Â Â Â Â Â at
> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
> Â Â Â Â Â Â Â at java.util.TreeMap.compare(TreeMap.java:1093)
> Â Â Â Â Â Â Â at java.util.TreeMap.getEntry(TreeMap.java:347)
> Â Â Â Â Â Â Â at java.util.TreeMap.get(TreeMap.java:265)
> Â Â Â Â Â Â Â at
> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
> Â Â Â Â Â Â Â at
> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
> Â Â Â Â Â Â Â at
> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
> Â Â Â Â Â Â Â at
> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
> Â Â Â Â Â Â Â at java.lang.Thread.run(Thread.java:595)
> The external index fails to even add:
> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
> java.lang.reflect.InvocationTargetException
> Â Â Â Â Â Â Â at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
> Â Â Â Â Â Â Â at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> Â Â Â Â Â Â Â at java.lang.reflect.Method.invoke(Method.java:585)
> Â Â Â Â Â Â Â at
> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
> Â Â Â Â Â Â Â at
> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
> Â Â Â Â Â Â Â at
> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
> Â Â Â Â Â Â Â at
> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
> Â Â Â Â Â Â Â at
> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
> Â Â Â Â Â Â Â at java.security.AccessController.doPrivileged(Native Method)
> Â Â Â Â Â Â Â at
> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
> Â Â Â Â Â Â Â at
> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
> Â Â Â Â Â Â Â at
> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
> Â Â Â Â Â Â Â at
> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
> Â Â Â Â Â Â Â at
> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
> Â Â Â Â Â Â Â at
> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
> Â Â Â Â Â Â Â at
> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
> Â Â Â Â Â Â Â at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NumberFormatException: For input string: "[3"
> Â Â Â Â Â Â Â at
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
> Â Â Â Â Â Â Â at java.lang.Integer.parseInt(Integer.java:447)
> Â Â Â Â Â Â Â at java.lang.Integer.parseInt(Integer.java:497)
> Â Â Â Â Â Â Â at org.osgi.framework.Version.<init>(Version.java:128)
> Â Â Â Â Â Â Â at
> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
> Â Â Â Â Â Â Â at
> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
> Â Â Â Â Â Â Â ... 17 more
>
> This second error looks like some bad metadata. Any clue on how to track
> down specifically where in the XML file this error is found?
>
> Thanks,
> Justin
> ________________________________
> From: Edelson, Justin
> Sent: Wed 5/13/2009 10:50 AM
> To: users@felix.apache.org; david.savage@paremus.com
> Subject: RE: Using SpringSource BR as an OBR in Felix
>
> Thanks. Exactly what I was looking for.
>
> -----Original Message-----
> From: David Savage [mailto:dave.savage@paremus.com]
> Sent: Wednesday, May 13, 2009 2:52 AM
> To: users@felix.apache.org
> Subject: Re: Using SpringSource BR as an OBR in Felix
>
> There is an obr index hosted on the sigil site:
>
> http://sigil.codecauldron.org/OBR+Repository
>
> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
> <Ju...@mtvstaff.com> wrote:
>> This seems like a really basic question, but I've searched the
>> archives and can't find an answer. Is it possible to use the
>> SpringSource bundle repository as an OBR? It's quite a pain to have to
>
>> run mvn bundle:deploy-file into my own OBR for each bundle I need from
> them.
>>
>> Thanks,
>> Justin
>>
>
>
>
> --
> ------------------------------------------------------------------------
> -------------
>
> Paremus Limited. Registered in England. Registration No. 4181472
>
> Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
>
> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>
> The information transmitted is intended only for the person(s) or entity
> to which it is addressed and may contain confidential and/or privileged
> material. Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited.
>
> If you received this in error, please contact the sender and delete the
> material from any computer.
>
> ------------------------------------------------------------------------
> -------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
--
-------------------------------------------------------------------------------------
Paremus Limited. Registered in England. Registration No. 4181472
Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
Postal Address: 107-111 Fleet Street, London, EC4A 2AB
The information transmitted is intended only for the person(s) or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or
other use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient
is prohibited.
If you received this in error, please contact the sender and delete
the material from any computer.
-------------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Using SpringSource BR as an OBR in Felix
Posted by "Richard S. Hall" <he...@ungoverned.org>.
p.s. Derek, I still have to moderate your messages.
On 5/14/09 7:56 PM, Derek Baum wrote:
> There is an issue with bindex that needs to be addressed:
>
> https://issues.apache.org/jira/browse/FELIX-760
>
> https://www.osgi.org/bugzilla/show_bug.cgi?id=39
>
> As a temporary measure, I have modified the version of bindex used to index
> the spring bundle repository on the sigil site, so that it does not generate
> version ranges where versions are expected.
>
> obr add-url and obr list now work as expected:
>
> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
> -> obr list -v
> A JSON StAX Implementation [com.springsource.org.codehaus.jettison] (1.0.1,
> 1.0.0)
> Adobe BlazeDS - Common Library [com.springsource.flex.messaging.common]
> (3.2.0.3978)
> Adobe BlazeDS - Messaging Core [com.springsource.flex.messaging]
> (3.2.0.3978)
> Adobe BlazeDS - Proxy Module [com.springsource.flex.messaging.services.http]
> (3.2.0.3978)
> Adobe BlazeDS - Remoting Module
> [com.springsource.flex.messaging.services.remoting] (3.2.0.3978)
> AJAX Components for JSF [com.springsource.org.ajax4jsf] (1.1.1)
> Annogen JSR175 Annotation Bean Generator
> [com.springsource.org.codehaus.annogen] (0.1.0)
> ...
>
> Derek
>
> 2009/5/14 Edelson, Justin<Ju...@mtvstaff.com>
>
>
>> Ah, except that these don't work.
>>
>> I can add http://sigil.codecauldron.org/spring-release.obr (using obr
>> add-url), but then attempts to run obr list fail with a NPE:
>> -> obr list -v
>> Unable to execute command: java.lang.NullPointerException
>> java.lang.NullPointerException
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
>> at java.util.TreeMap.compare(TreeMap.java:1093)
>> at java.util.TreeMap.getEntry(TreeMap.java:347)
>> at java.util.TreeMap.get(TreeMap.java:265)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
>> at
>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>> at
>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>> at java.lang.Thread.run(Thread.java:595)
>>
>> The external index fails to even add:
>> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
>> java.lang.reflect.InvocationTargetException
>> at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at
>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>> at
>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>> at
>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>> at
>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>> at
>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>> at
>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>> at java.lang.Thread.run(Thread.java:595)
>> Caused by: java.lang.NumberFormatException: For input string: "[3"
>> at
>> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>> at java.lang.Integer.parseInt(Integer.java:447)
>> at java.lang.Integer.parseInt(Integer.java:497)
>> at org.osgi.framework.Version.<init>(Version.java:128)
>> at
>> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
>> at
>> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
>> ... 17 more
>>
>> This second error looks like some bad metadata. Any clue on how to track
>> down specifically where in the XML file this error is found?
>>
>> Thanks,
>> Justin
>>
>> ________________________________
>>
>> From: Edelson, Justin
>> Sent: Wed 5/13/2009 10:50 AM
>> To: users@felix.apache.org; david.savage@paremus.com
>> Subject: RE: Using SpringSource BR as an OBR in Felix
>>
>>
>>
>> Thanks. Exactly what I was looking for.
>>
>> -----Original Message-----
>> From: David Savage [mailto:dave.savage@paremus.com]
>> Sent: Wednesday, May 13, 2009 2:52 AM
>> To: users@felix.apache.org
>> Subject: Re: Using SpringSource BR as an OBR in Felix
>>
>> There is an obr index hosted on the sigil site:
>>
>> http://sigil.codecauldron.org/OBR+Repository
>>
>> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
>> <Ju...@mtvstaff.com> wrote:
>>
>>> This seems like a really basic question, but I've searched the
>>> archives and can't find an answer. Is it possible to use the
>>> SpringSource bundle repository as an OBR? It's quite a pain to have to
>>>
>>> run mvn bundle:deploy-file into my own OBR for each bundle I need from
>>>
>> them.
>>
>>> Thanks,
>>> Justin
>>>
>>>
>>
>> --
>> ------------------------------------------------------------------------
>> -------------
>>
>> Paremus Limited. Registered in England. Registration No. 4181472
>>
>> Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
>>
>> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>>
>> The information transmitted is intended only for the person(s) or entity
>> to which it is addressed and may contain confidential and/or privileged
>> material. Any review, retransmission, dissemination or other use of, or
>> taking of any action in reliance upon, this information by persons or
>> entities other than the intended recipient is prohibited.
>>
>> If you received this in error, please contact the sender and delete the
>> material from any computer.
>>
>> ------------------------------------------------------------------------
>> -------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>>
>>
>>
>
>
Re: Using SpringSource BR as an OBR in Felix
Posted by Derek Baum <de...@paremus.com>.
Sorry, different trunks!
You fixed felix bundle repository trunk
I fixed OSGi bindex trunk
Derek
2009/5/15 Richard S. Hall <he...@ungoverned.org>
> Yep, but there were two repositories. One caused the version parsing issue
> and one caused the NPE issue. I fixed the latter in the trunk.
>
> -> richard
>
> On 05/14/2009 08:35 PM, Derek Baum wrote:
>
>>
>>
>> 2009/5/15 Richard S. Hall <heavy@ungoverned.org <mailto:
>> heavy@ungoverned.org>>
>>
>>
>> Are you using the trunk version of OBR to get this to work below?
>> It seems you would need to for the other repository...
>>
>>
>> No - I've patched the bindex trunk (attached) to get this to work.
>>
>> I'm omitting adding the version range host attribute to the bundle (it is
>> already commented "is this needed?") and if the fragment-host version is a
>> range, I'm using "0" in the fragment capability. I guess I could use the low
>> value in the range, but as Stuart notes in the issues, this isn't defined in
>> the spec:
>>
>> As to what version the fragment capability should use, that isn't
>> specified in the RFC but it can't be a version range if the type is set to
>> "version".
>>
>> Derek
>>
>>
>>
>> I should probably deploy a snapshot of it tomorrow...
>>
>> -> richard
>>
>>
>> On 5/14/09 7:56 PM, Derek Baum wrote:
>>
>> There is an issue with bindex that needs to be addressed:
>>
>> https://issues.apache.org/jira/browse/FELIX-760
>>
>> https://www.osgi.org/bugzilla/show_bug.cgi?id=39
>>
>> As a temporary measure, I have modified the version of bindex
>> used to index
>> the spring bundle repository on the sigil site, so that it
>> does not generate
>> version ranges where versions are expected.
>>
>> obr add-url and obr list now work as expected:
>>
>> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
>> -> obr list -v
>> A JSON StAX Implementation
>> [com.springsource.org.codehaus.jettison] (1.0.1,
>> 1.0.0)
>> Adobe BlazeDS - Common Library
>> [com.springsource.flex.messaging.common]
>> (3.2.0.3978)
>> Adobe BlazeDS - Messaging Core [com.springsource.flex.messaging]
>> (3.2.0.3978)
>> Adobe BlazeDS - Proxy Module
>> [com.springsource.flex.messaging.services.http]
>> (3.2.0.3978)
>> Adobe BlazeDS - Remoting Module
>> [com.springsource.flex.messaging.services.remoting] (3.2.0.3978)
>> AJAX Components for JSF [com.springsource.org.ajax4jsf] (1.1.1)
>> Annogen JSR175 Annotation Bean Generator
>> [com.springsource.org.codehaus.annogen] (0.1.0)
>> ...
>>
>> Derek
>>
>> 2009/5/14 Edelson, Justin<Justin.Edelson@mtvstaff.com
>> <ma...@mtvstaff.com>>
>>
>>
>>
>> Ah, except that these don't work.
>>
>> I can add http://sigil.codecauldron.org/spring-release.obr
>> (using obr
>> add-url), but then attempts to run obr list fail with a NPE:
>> -> obr list -v
>> Unable to execute command: java.lang.NullPointerException
>> java.lang.NullPointerException
>> at
>>
>> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
>> at java.util.TreeMap.compare(TreeMap.java:1093)
>> at java.util.TreeMap.getEntry(TreeMap.java:347)
>> at java.util.TreeMap.get(TreeMap.java:265)
>> at
>>
>> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
>> at
>>
>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
>> at
>>
>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>> at
>>
>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>> at java.lang.Thread.run(Thread.java:595)
>>
>> The external index fails to even add:
>> -> obr add-url
>> http://sigil.codecauldron.org/spring-external.obr
>> java.lang.reflect.InvocationTargetException
>> at
>> sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
>> at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at
>>
>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>> at
>>
>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>> at
>>
>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>> at
>>
>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>> at
>>
>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>> at
>> java.security.AccessController.doPrivileged(Native Method)
>> at
>>
>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>> at
>>
>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>> at
>>
>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>> at
>>
>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>> at
>>
>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>> at
>>
>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>> at
>>
>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>> at java.lang.Thread.run(Thread.java:595)
>> Caused by: java.lang.NumberFormatException: For input
>> string: "[3"
>> at
>>
>> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>> at java.lang.Integer.parseInt(Integer.java:447)
>> at java.lang.Integer.parseInt(Integer.java:497)
>> at org.osgi.framework.Version.<init>(Version.java:128)
>> at
>>
>> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
>> at
>>
>> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
>> ... 17 more
>>
>> This second error looks like some bad metadata. Any clue
>> on how to track
>> down specifically where in the XML file this error is found?
>>
>> Thanks,
>> Justin
>>
>> ________________________________
>>
>> From: Edelson, Justin
>> Sent: Wed 5/13/2009 10:50 AM
>> To: users@felix.apache.org
>> <ma...@felix.apache.org>; david.savage@paremus.com
>> <ma...@paremus.com>
>> Subject: RE: Using SpringSource BR as an OBR in Felix
>>
>>
>>
>> Thanks. Exactly what I was looking for.
>>
>> -----Original Message-----
>> From: David Savage [mailto:dave.savage@paremus.com
>> <ma...@paremus.com>]
>> Sent: Wednesday, May 13, 2009 2:52 AM
>> To: users@felix.apache.org <ma...@felix.apache.org>
>> Subject: Re: Using SpringSource BR as an OBR in Felix
>>
>> There is an obr index hosted on the sigil site:
>>
>> http://sigil.codecauldron.org/OBR+Repository
>>
>> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
>> <Justin.Edelson@mtvstaff.com
>> <ma...@mtvstaff.com>> wrote:
>>
>>
>> This seems like a really basic question, but I've
>> searched the
>> archives and can't find an answer. Is it possible to
>> use the
>> SpringSource bundle repository as an OBR? It's quite a
>> pain to have to
>> run mvn bundle:deploy-file into my own OBR for
>> each bundle I need from
>>
>> them.
>>
>> Thanks,
>> Justin
>>
>>
>>
>> --
>>
>> ------------------------------------------------------------------------
>> -------------
>>
>> Paremus Limited. Registered in England. Registration No.
>> 4181472
>>
>> Registered Office: 22-24 Broad Street, Wokingham, Berks
>> RG40 1BA
>>
>> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>>
>> The information transmitted is intended only for the
>> person(s) or entity
>> to which it is addressed and may contain confidential
>> and/or privileged
>> material. Any review, retransmission, dissemination or
>> other use of, or
>> taking of any action in reliance upon, this information by
>> persons or
>> entities other than the intended recipient is prohibited.
>>
>> If you received this in error, please contact the sender
>> and delete the
>> material from any computer.
>>
>>
>> ------------------------------------------------------------------------
>> -------------
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> <ma...@felix.apache.org>
>> For additional commands, e-mail:
>> users-help@felix.apache.org
>> <ma...@felix.apache.org>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> <ma...@felix.apache.org>
>> For additional commands, e-mail:
>> users-help@felix.apache.org
>> <ma...@felix.apache.org>
>>
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>
Re: Using SpringSource BR as an OBR in Felix
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Yep, but there were two repositories. One caused the version parsing
issue and one caused the NPE issue. I fixed the latter in the trunk.
-> richard
On 05/14/2009 08:35 PM, Derek Baum wrote:
>
>
> 2009/5/15 Richard S. Hall <heavy@ungoverned.org
> <ma...@ungoverned.org>>
>
> Are you using the trunk version of OBR to get this to work below?
> It seems you would need to for the other repository...
>
>
> No - I've patched the bindex trunk (attached) to get this to work.
>
> I'm omitting adding the version range host attribute to the bundle (it
> is already commented "is this needed?") and if the fragment-host
> version is a range, I'm using "0" in the fragment capability. I guess
> I could use the low value in the range, but as Stuart notes in the
> issues, this isn't defined in the spec:
>
> As to what version the fragment capability should use, that isn't
> specified in the RFC but it can't be a version range if the type is set to
> "version".
>
>
> Derek
>
>
>
> I should probably deploy a snapshot of it tomorrow...
>
> -> richard
>
>
> On 5/14/09 7:56 PM, Derek Baum wrote:
>
> There is an issue with bindex that needs to be addressed:
>
> https://issues.apache.org/jira/browse/FELIX-760
>
> https://www.osgi.org/bugzilla/show_bug.cgi?id=39
>
> As a temporary measure, I have modified the version of bindex
> used to index
> the spring bundle repository on the sigil site, so that it
> does not generate
> version ranges where versions are expected.
>
> obr add-url and obr list now work as expected:
>
> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
> -> obr list -v
> A JSON StAX Implementation
> [com.springsource.org.codehaus.jettison] (1.0.1,
> 1.0.0)
> Adobe BlazeDS - Common Library
> [com.springsource.flex.messaging.common]
> (3.2.0.3978)
> Adobe BlazeDS - Messaging Core [com.springsource.flex.messaging]
> (3.2.0.3978)
> Adobe BlazeDS - Proxy Module
> [com.springsource.flex.messaging.services.http]
> (3.2.0.3978)
> Adobe BlazeDS - Remoting Module
> [com.springsource.flex.messaging.services.remoting] (3.2.0.3978)
> AJAX Components for JSF [com.springsource.org.ajax4jsf] (1.1.1)
> Annogen JSR175 Annotation Bean Generator
> [com.springsource.org.codehaus.annogen] (0.1.0)
> ...
>
> Derek
>
> 2009/5/14 Edelson, Justin<Justin.Edelson@mtvstaff.com
> <ma...@mtvstaff.com>>
>
>
> Ah, except that these don't work.
>
> I can add http://sigil.codecauldron.org/spring-release.obr
> (using obr
> add-url), but then attempts to run obr list fail with a NPE:
> -> obr list -v
> Unable to execute command: java.lang.NullPointerException
> java.lang.NullPointerException
> at
> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
> at java.util.TreeMap.compare(TreeMap.java:1093)
> at java.util.TreeMap.getEntry(TreeMap.java:347)
> at java.util.TreeMap.get(TreeMap.java:265)
> at
> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
> at
> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
> at
> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
> at
> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
> at java.lang.Thread.run(Thread.java:595)
>
> The external index fails to even add:
> -> obr add-url
> http://sigil.codecauldron.org/spring-external.obr
> java.lang.reflect.InvocationTargetException
> at
> sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
> at
> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
> at
> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
> at
> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
> at
> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
> at
> java.security.AccessController.doPrivileged(Native Method)
> at
> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
> at
> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
> at
> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
> at
> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
> at
> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
> at
> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
> at
> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NumberFormatException: For input
> string: "[3"
> at
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
> at java.lang.Integer.parseInt(Integer.java:447)
> at java.lang.Integer.parseInt(Integer.java:497)
> at org.osgi.framework.Version.<init>(Version.java:128)
> at
> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
> at
> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
> ... 17 more
>
> This second error looks like some bad metadata. Any clue
> on how to track
> down specifically where in the XML file this error is found?
>
> Thanks,
> Justin
>
> ________________________________
>
> From: Edelson, Justin
> Sent: Wed 5/13/2009 10:50 AM
> To: users@felix.apache.org
> <ma...@felix.apache.org>; david.savage@paremus.com
> <ma...@paremus.com>
> Subject: RE: Using SpringSource BR as an OBR in Felix
>
>
>
> Thanks. Exactly what I was looking for.
>
> -----Original Message-----
> From: David Savage [mailto:dave.savage@paremus.com
> <ma...@paremus.com>]
> Sent: Wednesday, May 13, 2009 2:52 AM
> To: users@felix.apache.org <ma...@felix.apache.org>
> Subject: Re: Using SpringSource BR as an OBR in Felix
>
> There is an obr index hosted on the sigil site:
>
> http://sigil.codecauldron.org/OBR+Repository
>
> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
> <Justin.Edelson@mtvstaff.com
> <ma...@mtvstaff.com>> wrote:
>
> This seems like a really basic question, but I've
> searched the
> archives and can't find an answer. Is it possible to
> use the
> SpringSource bundle repository as an OBR? It's quite a
> pain to have to
> run mvn bundle:deploy-file into my own OBR for
> each bundle I need from
>
> them.
>
> Thanks,
> Justin
>
>
>
> --
> ------------------------------------------------------------------------
> -------------
>
> Paremus Limited. Registered in England. Registration No.
> 4181472
>
> Registered Office: 22-24 Broad Street, Wokingham, Berks
> RG40 1BA
>
> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>
> The information transmitted is intended only for the
> person(s) or entity
> to which it is addressed and may contain confidential
> and/or privileged
> material. Any review, retransmission, dissemination or
> other use of, or
> taking of any action in reliance upon, this information by
> persons or
> entities other than the intended recipient is prohibited.
>
> If you received this in error, please contact the sender
> and delete the
> material from any computer.
>
> ------------------------------------------------------------------------
> -------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> <ma...@felix.apache.org>
> For additional commands, e-mail:
> users-help@felix.apache.org
> <ma...@felix.apache.org>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> <ma...@felix.apache.org>
> For additional commands, e-mail:
> users-help@felix.apache.org
> <ma...@felix.apache.org>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
Re: Using SpringSource BR as an OBR in Felix
Posted by Derek Baum <de...@paremus.com>.
2009/5/15 Richard S. Hall <he...@ungoverned.org>
> Are you using the trunk version of OBR to get this to work below? It seems
> you would need to for the other repository...
No - I've patched the bindex trunk (attached) to get this to work.
I'm omitting adding the version range host attribute to the bundle (it is
already commented "is this needed?") and if the fragment-host version is a
range, I'm using "0" in the fragment capability. I guess I could use the low
value in the range, but as Stuart notes in the issues, this isn't defined in
the spec:
As to what version the fragment capability should use, that isn't
specified in the RFC but it can't be a version range if the type is set to
"version".
Derek
>
>
> I should probably deploy a snapshot of it tomorrow...
>
> -> richard
>
> On 5/14/09 7:56 PM, Derek Baum wrote:
>
>> There is an issue with bindex that needs to be addressed:
>>
>> https://issues.apache.org/jira/browse/FELIX-760
>>
>> https://www.osgi.org/bugzilla/show_bug.cgi?id=39
>>
>> As a temporary measure, I have modified the version of bindex used to
>> index
>> the spring bundle repository on the sigil site, so that it does not
>> generate
>> version ranges where versions are expected.
>>
>> obr add-url and obr list now work as expected:
>>
>> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
>> -> obr list -v
>> A JSON StAX Implementation [com.springsource.org.codehaus.jettison]
>> (1.0.1,
>> 1.0.0)
>> Adobe BlazeDS - Common Library [com.springsource.flex.messaging.common]
>> (3.2.0.3978)
>> Adobe BlazeDS - Messaging Core [com.springsource.flex.messaging]
>> (3.2.0.3978)
>> Adobe BlazeDS - Proxy Module
>> [com.springsource.flex.messaging.services.http]
>> (3.2.0.3978)
>> Adobe BlazeDS - Remoting Module
>> [com.springsource.flex.messaging.services.remoting] (3.2.0.3978)
>> AJAX Components for JSF [com.springsource.org.ajax4jsf] (1.1.1)
>> Annogen JSR175 Annotation Bean Generator
>> [com.springsource.org.codehaus.annogen] (0.1.0)
>> ...
>>
>> Derek
>>
>> 2009/5/14 Edelson, Justin<Ju...@mtvstaff.com>
>>
>>
>>
>>> Ah, except that these don't work.
>>>
>>> I can add http://sigil.codecauldron.org/spring-release.obr (using obr
>>> add-url), but then attempts to run obr list fail with a NPE:
>>> -> obr list -v
>>> Unable to execute command: java.lang.NullPointerException
>>> java.lang.NullPointerException
>>> at
>>>
>>> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
>>> at java.util.TreeMap.compare(TreeMap.java:1093)
>>> at java.util.TreeMap.getEntry(TreeMap.java:347)
>>> at java.util.TreeMap.get(TreeMap.java:265)
>>> at
>>>
>>> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
>>> at
>>>
>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
>>> at
>>>
>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>> at
>>>
>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>> at java.lang.Thread.run(Thread.java:595)
>>>
>>> The external index fails to even add:
>>> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
>>> java.lang.reflect.InvocationTargetException
>>> at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
>>> at
>>>
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:585)
>>> at
>>>
>>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>>> at
>>>
>>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>>> at
>>>
>>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>> at
>>>
>>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>>> at
>>>
>>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at
>>>
>>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>> at
>>>
>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>> at
>>>
>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>> at
>>>
>>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>> at
>>>
>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>>> at
>>>
>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>>> at
>>>
>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>>> at java.lang.Thread.run(Thread.java:595)
>>> Caused by: java.lang.NumberFormatException: For input string: "[3"
>>> at
>>>
>>> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>>> at java.lang.Integer.parseInt(Integer.java:447)
>>> at java.lang.Integer.parseInt(Integer.java:497)
>>> at org.osgi.framework.Version.<init>(Version.java:128)
>>> at
>>>
>>> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
>>> at
>>> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
>>> ... 17 more
>>>
>>> This second error looks like some bad metadata. Any clue on how to track
>>> down specifically where in the XML file this error is found?
>>>
>>> Thanks,
>>> Justin
>>>
>>> ________________________________
>>>
>>> From: Edelson, Justin
>>> Sent: Wed 5/13/2009 10:50 AM
>>> To: users@felix.apache.org; david.savage@paremus.com
>>> Subject: RE: Using SpringSource BR as an OBR in Felix
>>>
>>>
>>>
>>> Thanks. Exactly what I was looking for.
>>>
>>> -----Original Message-----
>>> From: David Savage [mailto:dave.savage@paremus.com]
>>> Sent: Wednesday, May 13, 2009 2:52 AM
>>> To: users@felix.apache.org
>>> Subject: Re: Using SpringSource BR as an OBR in Felix
>>>
>>> There is an obr index hosted on the sigil site:
>>>
>>> http://sigil.codecauldron.org/OBR+Repository
>>>
>>> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
>>> <Ju...@mtvstaff.com> wrote:
>>>
>>>
>>>> This seems like a really basic question, but I've searched the
>>>> archives and can't find an answer. Is it possible to use the
>>>> SpringSource bundle repository as an OBR? It's quite a pain to have to
>>>> run mvn bundle:deploy-file into my own OBR for each bundle I need
>>>> from
>>>>
>>>>
>>> them.
>>>
>>>
>>>> Thanks,
>>>> Justin
>>>>
>>>>
>>>>
>>>
>>> --
>>> ------------------------------------------------------------------------
>>> -------------
>>>
>>> Paremus Limited. Registered in England. Registration No. 4181472
>>>
>>> Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
>>>
>>> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>>>
>>> The information transmitted is intended only for the person(s) or entity
>>> to which it is addressed and may contain confidential and/or privileged
>>> material. Any review, retransmission, dissemination or other use of, or
>>> taking of any action in reliance upon, this information by persons or
>>> entities other than the intended recipient is prohibited.
>>>
>>> If you received this in error, please contact the sender and delete the
>>> material from any computer.
>>>
>>> ------------------------------------------------------------------------
>>> -------------
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>
Re: Using SpringSource BR as an OBR in Felix
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Are you using the trunk version of OBR to get this to work below? It
seems you would need to for the other repository...
I should probably deploy a snapshot of it tomorrow...
-> richard
On 5/14/09 7:56 PM, Derek Baum wrote:
> There is an issue with bindex that needs to be addressed:
>
> https://issues.apache.org/jira/browse/FELIX-760
>
> https://www.osgi.org/bugzilla/show_bug.cgi?id=39
>
> As a temporary measure, I have modified the version of bindex used to index
> the spring bundle repository on the sigil site, so that it does not generate
> version ranges where versions are expected.
>
> obr add-url and obr list now work as expected:
>
> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
> -> obr list -v
> A JSON StAX Implementation [com.springsource.org.codehaus.jettison] (1.0.1,
> 1.0.0)
> Adobe BlazeDS - Common Library [com.springsource.flex.messaging.common]
> (3.2.0.3978)
> Adobe BlazeDS - Messaging Core [com.springsource.flex.messaging]
> (3.2.0.3978)
> Adobe BlazeDS - Proxy Module [com.springsource.flex.messaging.services.http]
> (3.2.0.3978)
> Adobe BlazeDS - Remoting Module
> [com.springsource.flex.messaging.services.remoting] (3.2.0.3978)
> AJAX Components for JSF [com.springsource.org.ajax4jsf] (1.1.1)
> Annogen JSR175 Annotation Bean Generator
> [com.springsource.org.codehaus.annogen] (0.1.0)
> ...
>
> Derek
>
> 2009/5/14 Edelson, Justin<Ju...@mtvstaff.com>
>
>
>> Ah, except that these don't work.
>>
>> I can add http://sigil.codecauldron.org/spring-release.obr (using obr
>> add-url), but then attempts to run obr list fail with a NPE:
>> -> obr list -v
>> Unable to execute command: java.lang.NullPointerException
>> java.lang.NullPointerException
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
>> at java.util.TreeMap.compare(TreeMap.java:1093)
>> at java.util.TreeMap.getEntry(TreeMap.java:347)
>> at java.util.TreeMap.get(TreeMap.java:265)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
>> at
>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>> at
>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>> at java.lang.Thread.run(Thread.java:595)
>>
>> The external index fails to even add:
>> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
>> java.lang.reflect.InvocationTargetException
>> at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at
>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>> at
>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>> at
>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>> at
>> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>> at
>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
>> at
>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
>> at java.lang.Thread.run(Thread.java:595)
>> Caused by: java.lang.NumberFormatException: For input string: "[3"
>> at
>> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>> at java.lang.Integer.parseInt(Integer.java:447)
>> at java.lang.Integer.parseInt(Integer.java:497)
>> at org.osgi.framework.Version.<init>(Version.java:128)
>> at
>> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
>> at
>> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
>> ... 17 more
>>
>> This second error looks like some bad metadata. Any clue on how to track
>> down specifically where in the XML file this error is found?
>>
>> Thanks,
>> Justin
>>
>> ________________________________
>>
>> From: Edelson, Justin
>> Sent: Wed 5/13/2009 10:50 AM
>> To: users@felix.apache.org; david.savage@paremus.com
>> Subject: RE: Using SpringSource BR as an OBR in Felix
>>
>>
>>
>> Thanks. Exactly what I was looking for.
>>
>> -----Original Message-----
>> From: David Savage [mailto:dave.savage@paremus.com]
>> Sent: Wednesday, May 13, 2009 2:52 AM
>> To: users@felix.apache.org
>> Subject: Re: Using SpringSource BR as an OBR in Felix
>>
>> There is an obr index hosted on the sigil site:
>>
>> http://sigil.codecauldron.org/OBR+Repository
>>
>> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
>> <Ju...@mtvstaff.com> wrote:
>>
>>> This seems like a really basic question, but I've searched the
>>> archives and can't find an answer. Is it possible to use the
>>> SpringSource bundle repository as an OBR? It's quite a pain to have to
>>>
>>> run mvn bundle:deploy-file into my own OBR for each bundle I need from
>>>
>> them.
>>
>>> Thanks,
>>> Justin
>>>
>>>
>>
>> --
>> ------------------------------------------------------------------------
>> -------------
>>
>> Paremus Limited. Registered in England. Registration No. 4181472
>>
>> Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
>>
>> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>>
>> The information transmitted is intended only for the person(s) or entity
>> to which it is addressed and may contain confidential and/or privileged
>> material. Any review, retransmission, dissemination or other use of, or
>> taking of any action in reliance upon, this information by persons or
>> entities other than the intended recipient is prohibited.
>>
>> If you received this in error, please contact the sender and delete the
>> material from any computer.
>>
>> ------------------------------------------------------------------------
>> -------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>>
>>
>>
>
>
Re: Using SpringSource BR as an OBR in Felix
Posted by Derek Baum <de...@paremus.com>.
There is an issue with bindex that needs to be addressed:
https://issues.apache.org/jira/browse/FELIX-760
https://www.osgi.org/bugzilla/show_bug.cgi?id=39
As a temporary measure, I have modified the version of bindex used to index
the spring bundle repository on the sigil site, so that it does not generate
version ranges where versions are expected.
obr add-url and obr list now work as expected:
-> obr add-url http://sigil.codecauldron.org/spring-external.obr
-> obr list -v
A JSON StAX Implementation [com.springsource.org.codehaus.jettison] (1.0.1,
1.0.0)
Adobe BlazeDS - Common Library [com.springsource.flex.messaging.common]
(3.2.0.3978)
Adobe BlazeDS - Messaging Core [com.springsource.flex.messaging]
(3.2.0.3978)
Adobe BlazeDS - Proxy Module [com.springsource.flex.messaging.services.http]
(3.2.0.3978)
Adobe BlazeDS - Remoting Module
[com.springsource.flex.messaging.services.remoting] (3.2.0.3978)
AJAX Components for JSF [com.springsource.org.ajax4jsf] (1.1.1)
Annogen JSR175 Annotation Bean Generator
[com.springsource.org.codehaus.annogen] (0.1.0)
...
Derek
2009/5/14 Edelson, Justin <Ju...@mtvstaff.com>
> Ah, except that these don't work.
>
> I can add http://sigil.codecauldron.org/spring-release.obr (using obr
> add-url), but then attempts to run obr list fail with a NPE:
> -> obr list -v
> Unable to execute command: java.lang.NullPointerException
> java.lang.NullPointerException
> at
> org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
> at java.util.TreeMap.compare(TreeMap.java:1093)
> at java.util.TreeMap.getEntry(TreeMap.java:347)
> at java.util.TreeMap.get(TreeMap.java:265)
> at
> org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
> at
> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
> at
> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
> at
> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
> at java.lang.Thread.run(Thread.java:595)
>
> The external index fails to even add:
> -> obr add-url http://sigil.codecauldron.org/spring-external.obr
> java.lang.reflect.InvocationTargetException
> at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
> at
> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
> at
> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
> at
> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
> at
> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
> at
> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
> at
> org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
> at
> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
> at
> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
> at
> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
> at
> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NumberFormatException: For input string: "[3"
> at
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
> at java.lang.Integer.parseInt(Integer.java:447)
> at java.lang.Integer.parseInt(Integer.java:497)
> at org.osgi.framework.Version.<init>(Version.java:128)
> at
> org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
> at
> org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
> ... 17 more
>
> This second error looks like some bad metadata. Any clue on how to track
> down specifically where in the XML file this error is found?
>
> Thanks,
> Justin
>
> ________________________________
>
> From: Edelson, Justin
> Sent: Wed 5/13/2009 10:50 AM
> To: users@felix.apache.org; david.savage@paremus.com
> Subject: RE: Using SpringSource BR as an OBR in Felix
>
>
>
> Thanks. Exactly what I was looking for.
>
> -----Original Message-----
> From: David Savage [mailto:dave.savage@paremus.com]
> Sent: Wednesday, May 13, 2009 2:52 AM
> To: users@felix.apache.org
> Subject: Re: Using SpringSource BR as an OBR in Felix
>
> There is an obr index hosted on the sigil site:
>
> http://sigil.codecauldron.org/OBR+Repository
>
> On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
> <Ju...@mtvstaff.com> wrote:
> > This seems like a really basic question, but I've searched the
> > archives and can't find an answer. Is it possible to use the
> > SpringSource bundle repository as an OBR? It's quite a pain to have to
>
> > run mvn bundle:deploy-file into my own OBR for each bundle I need from
> them.
> >
> > Thanks,
> > Justin
> >
>
>
>
> --
> ------------------------------------------------------------------------
> -------------
>
> Paremus Limited. Registered in England. Registration No. 4181472
>
> Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
>
> Postal Address: 107-111 Fleet Street, London, EC4A 2AB
>
> The information transmitted is intended only for the person(s) or entity
> to which it is addressed and may contain confidential and/or privileged
> material. Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited.
>
> If you received this in error, please contact the sender and delete the
> material from any computer.
>
> ------------------------------------------------------------------------
> -------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
>
>
RE: Using SpringSource BR as an OBR in Felix
Posted by "Edelson, Justin" <Ju...@mtvstaff.com>.
Ah, except that these don't work.
I can add http://sigil.codecauldron.org/spring-release.obr (using obr add-url), but then attempts to run obr list fail with a NPE:
-> obr list -v
Unable to execute command: java.lang.NullPointerException
java.lang.NullPointerException
at org.apache.felix.bundlerepository.ObrCommandImpl$1.compare(ObrCommandImpl.java:244)
at java.util.TreeMap.compare(TreeMap.java:1093)
at java.util.TreeMap.getEntry(TreeMap.java:347)
at java.util.TreeMap.get(TreeMap.java:265)
at org.apache.felix.bundlerepository.ObrCommandImpl.list(ObrCommandImpl.java:254)
at org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:106)
at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
at java.lang.Thread.run(Thread.java:595)
The external index fails to even add:
-> obr add-url http://sigil.codecauldron.org/spring-external.obr
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
at org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
at org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
at org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
at org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
at org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
at org.apache.felix.bundlerepository.RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
at org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
at org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NumberFormatException: For input string: "[3"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.parseInt(Integer.java:497)
at org.osgi.framework.Version.<init>(Version.java:128)
at org.apache.felix.bundlerepository.PropertyImpl.convertType(PropertyImpl.java:85)
at org.apache.felix.bundlerepository.PropertyImpl.setT(PropertyImpl.java:62)
... 17 more
This second error looks like some bad metadata. Any clue on how to track down specifically where in the XML file this error is found?
Thanks,
Justin
________________________________
From: Edelson, Justin
Sent: Wed 5/13/2009 10:50 AM
To: users@felix.apache.org; david.savage@paremus.com
Subject: RE: Using SpringSource BR as an OBR in Felix
Thanks. Exactly what I was looking for.
-----Original Message-----
From: David Savage [mailto:dave.savage@paremus.com]
Sent: Wednesday, May 13, 2009 2:52 AM
To: users@felix.apache.org
Subject: Re: Using SpringSource BR as an OBR in Felix
There is an obr index hosted on the sigil site:
http://sigil.codecauldron.org/OBR+Repository
On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
<Ju...@mtvstaff.com> wrote:
> This seems like a really basic question, but I've searched the
> archives and can't find an answer. Is it possible to use the
> SpringSource bundle repository as an OBR? It's quite a pain to have to
> run mvn bundle:deploy-file into my own OBR for each bundle I need from
them.
>
> Thanks,
> Justin
>
--
------------------------------------------------------------------------
-------------
Paremus Limited. Registered in England. Registration No. 4181472
Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
Postal Address: 107-111 Fleet Street, London, EC4A 2AB
The information transmitted is intended only for the person(s) or entity
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.
If you received this in error, please contact the sender and delete the
material from any computer.
------------------------------------------------------------------------
-------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
RE: Using SpringSource BR as an OBR in Felix
Posted by "Edelson, Justin" <Ju...@mtvstaff.com>.
Thanks. Exactly what I was looking for.
-----Original Message-----
From: David Savage [mailto:dave.savage@paremus.com]
Sent: Wednesday, May 13, 2009 2:52 AM
To: users@felix.apache.org
Subject: Re: Using SpringSource BR as an OBR in Felix
There is an obr index hosted on the sigil site:
http://sigil.codecauldron.org/OBR+Repository
On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
<Ju...@mtvstaff.com> wrote:
> This seems like a really basic question, but I've searched the
> archives and can't find an answer. Is it possible to use the
> SpringSource bundle repository as an OBR? It's quite a pain to have to
> run mvn bundle:deploy-file into my own OBR for each bundle I need from
them.
>
> Thanks,
> Justin
>
--
------------------------------------------------------------------------
-------------
Paremus Limited. Registered in England. Registration No. 4181472
Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
Postal Address: 107-111 Fleet Street, London, EC4A 2AB
The information transmitted is intended only for the person(s) or entity
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.
If you received this in error, please contact the sender and delete the
material from any computer.
------------------------------------------------------------------------
-------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Using SpringSource BR as an OBR in Felix
Posted by David Savage <da...@paremus.com>.
There is an obr index hosted on the sigil site:
http://sigil.codecauldron.org/OBR+Repository
On Tue, May 12, 2009 at 11:49 PM, Edelson, Justin
<Ju...@mtvstaff.com> wrote:
> This seems like a really basic question, but I've searched the archives
> and can't find an answer. Is it possible to use the SpringSource bundle
> repository as an OBR? It's quite a pain to have to run mvn
> bundle:deploy-file into my own OBR for each bundle I need from them.
>
> Thanks,
> Justin
>
--
-------------------------------------------------------------------------------------
Paremus Limited. Registered in England. Registration No. 4181472
Registered Office: 22-24 Broad Street, Wokingham, Berks RG40 1BA
Postal Address: 107-111 Fleet Street, London, EC4A 2AB
The information transmitted is intended only for the person(s) or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or
other use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient
is prohibited.
If you received this in error, please contact the sender and delete
the material from any computer.
-------------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org