Re: Maven bundle plugin trace log

2010-05-27 Thread Stefano Lenzi
On 26/05/2010 23.11, Thiago Souza wrote: Hi there, Is there any way to turn enable a trace log for the Import-Package computation? As far as I know the maxium log that you can obtain is by using the flag -X and -e of maven. Moreover, the maven-bundle-plugin is mostly a wrapper

Unresolved constraint package; ((package=org.osgi.framework)(version=1.5.0))

2010-05-27 Thread Miroslav Šulc
hello, i am very new to osgi so maybe my issue is something trivial, but i did not find solution for it while googling. i have basic webapp that works fine if i install there felix osgi log implementation and other felix bundles. i decided to try to code my own implementation of osgi log

Re: Maven bundle plugin trace log

2010-05-27 Thread Thiago Souza
Hi, I already knew this... but couldn't find any bnd configuration for this, maybe someone knows... Regards On Thu, May 27, 2010 at 7:07 AM, Stefano Lenzi kis...@interfree.it wrote: On 26/05/2010 23.11, Thiago Souza wrote: Hi there, Is there any way to turn enable a trace

Re: Unresolved constraint package; ((package=org.osgi.framework)(version=1.5.0))

2010-05-27 Thread Richard S. Hall
What is framework.properties? Are these configuration properties for the framework? If so, what's in it? - richard On 5/27/10 7:54, Miroslav Šulc wrote: hello, i am very new to osgi so maybe my issue is something trivial, but i did not find solution for it while googling. i have basic

Re: Maven bundle plugin trace log

2010-05-27 Thread Richard S. Hall
On 5/27/10 8:25, Thiago Souza wrote: Hi, I already knew this... but couldn't find any bnd configuration for this, maybe someone knows... I think if you just do java -jar bnd.jar jar-file this will print out a bunch of information including which packages use which packages, but I

Re: Unresolved constraint package; ((package=org.osgi.framework)(version=1.5.0))

2010-05-27 Thread Miroslav Šulc
i copied the one from the felix http bridge example, just added felix.cache.rootdir as with default there was permission issue. so my problem is this line? org.osgi.framework; version=1.4.0, \ here is content of the whole file: org.osgi.framework.storage.clean = onFirstInit

Re: Unresolved constraint package; ((package=org.osgi.framework)(version=1.5.0))

2010-05-27 Thread Miroslav Šulc
i changed the version in framework.properties to 1.5.0 and the problem is gone. thx for help. now i have to find some detail info how that org.osgi.framework.system.packages should be used. is a lot of text in it that i do not understand why it's there :-) Dne 27.5.2010 14:46, Miroslav Šulc

Re: Unresolved constraint package; ((package=org.osgi.framework)(version=1.5.0))

2010-05-27 Thread Richard S. Hall
On 5/27/10 8:56, Miroslav Šulc wrote: i changed the version in framework.properties to 1.5.0 and the problem is gone. thx for help. now i have to find some detail info how that org.osgi.framework.system.packages should be used. is a lot of text in it that i do not understand why it's there :-)

Re: Maven bundle plugin trace log

2010-05-27 Thread Justin Edelson
Perhaps something like JDepend would be better suited to this type of analysis. On 5/27/10 8:53 AM, Thiago Souza wrote: Hi, Ok than, thanks for the info... My current problem is that I'm bundling a jar and bnd is generating import-package with dependencies that are not accepted

Re: Unresolved constraint package; ((package=org.osgi.framework)(version=1.5.0))

2010-05-27 Thread Miroslav Šulc
Dne 27.5.2010 15:33, Richard S. Hall napsal(a): On 5/27/10 8:56, Miroslav Šulc wrote: i changed the version in framework.properties to 1.5.0 and the problem is gone. thx for help. now i have to find some detail info how that org.osgi.framework.system.packages should be used. is a lot of text

Re: Unresolved constraint package; ((package=org.osgi.framework)(version=1.5.0))

2010-05-27 Thread Richard S. Hall
On 5/27/10 10:50, Miroslav Šulc wrote: Dne 27.5.2010 15:33, Richard S. Hall napsal(a): On 5/27/10 8:56, Miroslav Šulc wrote: i changed the version in framework.properties to 1.5.0 and the problem is gone. thx for help. now i have to find some detail info how that

Re: Maven bundle plugin trace log

2010-05-27 Thread Thiago Souza
Hi, Thanks for the tip!!! Regards On Thu, May 27, 2010 at 10:59 AM, Justin Edelson justinedel...@gmail.comwrote: Perhaps something like JDepend would be better suited to this type of analysis. On 5/27/10 8:53 AM, Thiago Souza wrote: Hi, Ok than, thanks for the info...

Re: Maven - Example Felix Launcher

2010-05-27 Thread Elliot Huntington
Hi Matthias, Thank you for your recent reply on this email. Would it be possible for you to attach your sample application to this email? Thanks, Elliot On Thu, May 20, 2010 at 10:38 AM, Matthias N. surea...@googlemail.com wrote: Hello, in the last days I tried to build a Java App that

Re: Unresolved constraint package; ((package=org.osgi.framework)(version=1.5.0))

2010-05-27 Thread Miroslav Šulc
Dne 27.5.2010 17:01, Richard S. Hall napsal(a): On 5/27/10 11:00, Richard S. Hall wrote: On 5/27/10 10:50, Miroslav Šulc wrote: Dne 27.5.2010 15:33, Richard S. Hall napsal(a): On 5/27/10 8:56, Miroslav Šulc wrote: i changed the version in framework.properties to 1.5.0 and the problem is

Java 7 vs OSGi

2010-05-27 Thread Elliot Huntington
I haven't looked into Java 7 too much but I heard Java 7 will be modifying the Java Specification to include bundles/modularity. Does anyone know more regarding this and how it will compare with OSGi? -- Elliot - To

Re: Java 7 vs OSGi

2010-05-27 Thread Jackson, Bruce
Really? Looking at: http://download.java.net/jdk7/docs/api/ I can't see any reference to any of that. There are many addition, but nothing core to the platform as far as I can see. On 27/05/2010 16:13, Elliot Huntington elliot.hunting...@gmail.com wrote: I haven't looked into Java 7 too much

Re: Java 7 vs OSGi

2010-05-27 Thread Christopher Brind
I presume you're talking about Jigsaw? I saw Alex Buckley present on this at JAX London. My conclusions are listed here: http://www.perplentropy.com/2010/02/my-thoughts-on-alex-buckley-on-jigsaw.html But the highlights (and how I still remember it) are: - the modularity is at the JDK level and

Re: Java 7 vs OSGi

2010-05-27 Thread Craig Walls
There is a lot of misinformation and misunderstanding about what Java 7 will provide with regard to modularization. In fact, I'm not even sure I know the correct answer here. Take that as a disclaimer as I run the risk of spreading more misinformation based on my understanding of the matter:

running spring ldap in felix?

2010-05-27 Thread André Dietisheim
Hi! I try to run Spring ldap in felix. Unfortunately spring ldap complains about an unresolved dependency: snip ERROR: Error starting inputstream:org.springframework.ldap-1.3.0.RELEASE.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.ldap [100]:

Re: running spring ldap in felix?

2010-05-27 Thread Ivanhoe Abrahams
Hi Try adding it to org.osgi.framework.system.packages too. I am not sure if that will help, but give it a try Ivanhoe On Thu, May 27, 2010 at 6:45 PM, André Dietisheim andre.dietish...@trialox.org wrote: Hi! I try to run Spring ldap in felix. Unfortunately spring ldap complains about an

Re: running spring ldap in felix?

2010-05-27 Thread Richard S. Hall
On 5/27/10 13:25, Ivanhoe Abrahams wrote: Hi Try adding it to org.osgi.framework.system.packages too. I am not sure if that will help, but give it a try Since the bundle appears to be importing the package, then it must be added to system.packages since the import needs to be resolved.