Re: [blueprint] itests failing with NoClassDefFoundError
I've fixed the issue, though your script does not work. The following one seems to work ok: #!/bin/bash TMP=/tmp/$USER-$RANDOM mkdir $TMP && cd $TMP && svn -q co http://svn.apache.org/repos/asf/geronimo/sandbox/blueprint && cd blueprint && mvn -v && mvn --settings /dev/null clean install -Dmaven.repo.local=$TMP/repo 2009/5/20 David Blevins : > > On May 20, 2009, at 11:20 AM, Guillaume Nodet wrote: > >> Is your m2 repository in ~/.m2/repository without any other location >> defined in ~/.m2/settings.xml ? >> It seems pax-exam is broken and only support the local repository in >> the default location. If you do that, it should build just fine. > > Ok, understood this sentence, "Do you use the default m2 repository ? That > may be the problem" to imply using the default repo was the problem. Which > lead me to still wonder what was the right approach. > > Not sure what bad state I had in ~/.m2/repository that caused things to fail > when I tried with all default settings but trying with a clean repo at > ~/.m2/repository vs. -Dmaven.repo.local=tmprepo finally works. > > -David > > >> >> >> 2009/5/20 David Blevins : >>> >>> On May 19, 2009, at 5:22 PM, David Blevins wrote: >>> Would love to know what the magic settings.xml data is and if there's some way to get it into the root pom.xml. >>> >>> Still need the right settings. I'm fine picking through your settings.xml >>> (minus passwords) if you're unsure what the magic settings are. >>> >>> >>> -David >>> >>> >> >> >> >> -- >> Cheers, >> Guillaume Nodet >> >> Blog: http://gnodet.blogspot.com/ >> >> Open Source SOA >> http://fusesource.com >> > > -- Cheers, Guillaume Nodet Blog: http://gnodet.blogspot.com/ Open Source SOA http://fusesource.com
Re: [blueprint] itests failing with NoClassDefFoundError
On May 20, 2009, at 11:20 AM, Guillaume Nodet wrote: Is your m2 repository in ~/.m2/repository without any other location defined in ~/.m2/settings.xml ? It seems pax-exam is broken and only support the local repository in the default location. If you do that, it should build just fine. Ok, understood this sentence, "Do you use the default m2 repository ? That may be the problem" to imply using the default repo was the problem. Which lead me to still wonder what was the right approach. Not sure what bad state I had in ~/.m2/repository that caused things to fail when I tried with all default settings but trying with a clean repo at ~/.m2/repository vs. -Dmaven.repo.local=tmprepo finally works. -David 2009/5/20 David Blevins : On May 19, 2009, at 5:22 PM, David Blevins wrote: Would love to know what the magic settings.xml data is and if there's some way to get it into the root pom.xml. Still need the right settings. I'm fine picking through your settings.xml (minus passwords) if you're unsure what the magic settings are. -David -- Cheers, Guillaume Nodet Blog: http://gnodet.blogspot.com/ Open Source SOA http://fusesource.com
Re: [blueprint] itests failing with NoClassDefFoundError
Is your m2 repository in ~/.m2/repository without any other location defined in ~/.m2/settings.xml ? It seems pax-exam is broken and only support the local repository in the default location. If you do that, it should build just fine. 2009/5/20 David Blevins : > > On May 19, 2009, at 5:22 PM, David Blevins wrote: > >> Would love to know what the magic settings.xml data is and if there's some >> way to get it into the root pom.xml. > > Still need the right settings. I'm fine picking through your settings.xml > (minus passwords) if you're unsure what the magic settings are. > > > -David > > -- Cheers, Guillaume Nodet Blog: http://gnodet.blogspot.com/ Open Source SOA http://fusesource.com
Re: [blueprint] itests failing with NoClassDefFoundError
Is your pom in ~/.m2/repository without any other location defined in ~/.m2/settings.xml ? 2009/5/20 David Blevins : > > On May 19, 2009, at 5:22 PM, David Blevins wrote: > >> Would love to know what the magic settings.xml data is and if there's some >> way to get it into the root pom.xml. > > Still need the right settings. I'm fine picking through your settings.xml > (minus passwords) if you're unsure what the magic settings are. > > > -David > > -- Cheers, Guillaume Nodet Blog: http://gnodet.blogspot.com/ Open Source SOA http://fusesource.com
Re: [blueprint] itests failing with NoClassDefFoundError
On May 19, 2009, at 5:22 PM, David Blevins wrote: Would love to know what the magic settings.xml data is and if there's some way to get it into the root pom.xml. Still need the right settings. I'm fine picking through your settings.xml (minus passwords) if you're unsure what the magic settings are. -David
Re: [blueprint] itests failing with NoClassDefFoundError
Well, I guess it must be something in settings ... so I don't have to give you my computer :-) I hit the failure with the script. Joe David Blevins wrote: To test the theory that this is settings related, someone run this script: #!/bin/bash TMP=/tmp/$USER-$RANDOM mkdir $TMP && cd $TMP && svn -q co http://svn.apache.org/repos/asf/geronimo/sandbox/blueprint && cd blueprint && mvn -v && mvn --settings /dev/null clean install -Dmaven.repo.local=repo If this works for you... send my your computer :) I've ran it on my mac and on people.a.o with the expected failure. Would love to know what the magic settings.xml data is and if there's some way to get it into the root pom.xml. -David On May 19, 2009, at 5:12 PM, David Blevins wrote: On May 19, 2009, at 4:49 PM, Guillaume Nodet wrote: It seems the blueprint-bundle jar can not be found using a maven url. Do you use the default m2 repository ? That may be the problem. I haven't changed anything in my setup, so I guess that's a yes. Is there a repository I need that is not list in the pom? -David 2009/5/19 David Blevins : Gave 2.0.10 a try. No luck so tried the clean repo, also no luck. $ svn up At revision 776452. $ mvn clean install -Dmaven.repo.local=repo > blueprint-build.log $ cat blueprint-itests/target/surefire-reports/*.txt > blueprint-surefire.txt And the results: http://people.apache.org/~dblevins/blueprint-build.log http://people.apache.org/~dblevins/blueprint-surefire.txt If you haven't already, give a clean repo a try yourself. Could be there's local state in your repo that makes things work -- wouldn't be the first or last time anything like that ever happened. -David On May 18, 2009, at 9:49 PM, Jarek Gawor wrote: What version of maven are you using? I had problems with 2.0.9 but works fine for me with 2.0.10. I don't know if this will help but maybe try with clean m2 repo? itests pull in a lot of stuff... maybe we need to tie down some plugin version. Jarek On Mon, May 18, 2009 at 10:33 PM, David Blevins wrote: Trying to get a clean build on the blueprint code. Getting several errors due to what seems like an invalid bundle config. ERROR: Error starting file:bundles/blueprint-core_1.0.0.SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle 5: package; (&(package=org.osgi.service.blueprint.reflect)(version>=1.0.0))) org.osgi.framework.BundleException: Unresolved constraint in bundle 5: package; (&(package=org.osgi.service.blueprint.reflect)(version>=1.0.0)) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3090) at org.apache.felix.framework.Felix.startBundle(Felix.java:1439) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263) I'm guessing that 1.0.0.SNAPSHOT is considered greater than 1.0.0 and something else is going on. What's the trick to getting these tests to run? -David -- Cheers, Guillaume Nodet Blog: http://gnodet.blogspot.com/ Open Source SOA http://fusesource.com
Re: [blueprint] itests failing with NoClassDefFoundError
To test the theory that this is settings related, someone run this script: #!/bin/bash TMP=/tmp/$USER-$RANDOM mkdir $TMP && cd $TMP && svn -q co http://svn.apache.org/repos/asf/geronimo/sandbox/ blueprint && cd blueprint && mvn -v && mvn --settings /dev/null clean install -Dmaven.repo.local=repo If this works for you... send my your computer :) I've ran it on my mac and on people.a.o with the expected failure. Would love to know what the magic settings.xml data is and if there's some way to get it into the root pom.xml. -David On May 19, 2009, at 5:12 PM, David Blevins wrote: On May 19, 2009, at 4:49 PM, Guillaume Nodet wrote: It seems the blueprint-bundle jar can not be found using a maven url. Do you use the default m2 repository ? That may be the problem. I haven't changed anything in my setup, so I guess that's a yes. Is there a repository I need that is not list in the pom? -David 2009/5/19 David Blevins : Gave 2.0.10 a try. No luck so tried the clean repo, also no luck. $ svn up At revision 776452. $ mvn clean install -Dmaven.repo.local=repo > blueprint-build.log $ cat blueprint-itests/target/surefire-reports/*.txt > blueprint- surefire.txt And the results: http://people.apache.org/~dblevins/blueprint-build.log http://people.apache.org/~dblevins/blueprint-surefire.txt If you haven't already, give a clean repo a try yourself. Could be there's local state in your repo that makes things work -- wouldn't be the first or last time anything like that ever happened. -David On May 18, 2009, at 9:49 PM, Jarek Gawor wrote: What version of maven are you using? I had problems with 2.0.9 but works fine for me with 2.0.10. I don't know if this will help but maybe try with clean m2 repo? itests pull in a lot of stuff... maybe we need to tie down some plugin version. Jarek On Mon, May 18, 2009 at 10:33 PM, David Blevins > wrote: Trying to get a clean build on the blueprint code. Getting several errors due to what seems like an invalid bundle config. ERROR: Error starting file:bundles/blueprint- core_1.0.0.SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle 5: package; (&(package=org.osgi.service.blueprint.reflect) (version>=1.0.0))) org.osgi.framework.BundleException: Unresolved constraint in bundle 5: package; (&(package=org.osgi.service.blueprint.reflect) (version>=1.0.0)) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3090) at org.apache.felix.framework.Felix.startBundle(Felix.java: 1439) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java: 984) at org .apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java: 263) I'm guessing that 1.0.0.SNAPSHOT is considered greater than 1.0.0 and something else is going on. What's the trick to getting these tests to run? -David -- Cheers, Guillaume Nodet Blog: http://gnodet.blogspot.com/ Open Source SOA http://fusesource.com
Re: [blueprint] itests failing with NoClassDefFoundError
On May 19, 2009, at 4:49 PM, Guillaume Nodet wrote: It seems the blueprint-bundle jar can not be found using a maven url. Do you use the default m2 repository ? That may be the problem. I haven't changed anything in my setup, so I guess that's a yes. Is there a repository I need that is not list in the pom? -David 2009/5/19 David Blevins : Gave 2.0.10 a try. No luck so tried the clean repo, also no luck. $ svn up At revision 776452. $ mvn clean install -Dmaven.repo.local=repo > blueprint-build.log $ cat blueprint-itests/target/surefire-reports/*.txt > blueprint- surefire.txt And the results: http://people.apache.org/~dblevins/blueprint-build.log http://people.apache.org/~dblevins/blueprint-surefire.txt If you haven't already, give a clean repo a try yourself. Could be there's local state in your repo that makes things work -- wouldn't be the first or last time anything like that ever happened. -David On May 18, 2009, at 9:49 PM, Jarek Gawor wrote: What version of maven are you using? I had problems with 2.0.9 but works fine for me with 2.0.10. I don't know if this will help but maybe try with clean m2 repo? itests pull in a lot of stuff... maybe we need to tie down some plugin version. Jarek On Mon, May 18, 2009 at 10:33 PM, David Blevins > wrote: Trying to get a clean build on the blueprint code. Getting several errors due to what seems like an invalid bundle config. ERROR: Error starting file:bundles/blueprint- core_1.0.0.SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle 5: package; (&(package=org.osgi.service.blueprint.reflect) (version>=1.0.0))) org.osgi.framework.BundleException: Unresolved constraint in bundle 5: package; (&(package=org.osgi.service.blueprint.reflect) (version>=1.0.0)) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3090) at org.apache.felix.framework.Felix.startBundle(Felix.java: 1439) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java: 984) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java: 263) I'm guessing that 1.0.0.SNAPSHOT is considered greater than 1.0.0 and something else is going on. What's the trick to getting these tests to run? -David -- Cheers, Guillaume Nodet Blog: http://gnodet.blogspot.com/ Open Source SOA http://fusesource.com
Re: [blueprint] itests failing with NoClassDefFoundError
It seems the blueprint-bundle jar can not be found using a maven url. Do you use the default m2 repository ? That may be the problem. 2009/5/19 David Blevins : > Gave 2.0.10 a try. No luck so tried the clean repo, also no luck. > > $ svn up > At revision 776452. > > $ mvn clean install -Dmaven.repo.local=repo > blueprint-build.log > > $ cat blueprint-itests/target/surefire-reports/*.txt > blueprint-surefire.txt > > And the results: > > http://people.apache.org/~dblevins/blueprint-build.log > http://people.apache.org/~dblevins/blueprint-surefire.txt > > > If you haven't already, give a clean repo a try yourself. Could be there's > local state in your repo that makes things work -- wouldn't be the first or > last time anything like that ever happened. > > > -David > > > On May 18, 2009, at 9:49 PM, Jarek Gawor wrote: > >> What version of maven are you using? I had problems with 2.0.9 but >> works fine for me with 2.0.10. I don't know if this will help but >> maybe try with clean m2 repo? itests pull in a lot of stuff... maybe >> we need to tie down some plugin version. >> >> Jarek >> >> On Mon, May 18, 2009 at 10:33 PM, David Blevins >> wrote: >>> >>> Trying to get a clean build on the blueprint code. Getting several errors >>> due to what seems like an invalid bundle config. >>> >>> ERROR: Error starting file:bundles/blueprint-core_1.0.0.SNAPSHOT.jar >>> (org.osgi.framework.BundleException: Unresolved constraint in bundle 5: >>> package; (&(package=org.osgi.service.blueprint.reflect)(version>=1.0.0))) >>> org.osgi.framework.BundleException: Unresolved constraint in bundle 5: >>> package; (&(package=org.osgi.service.blueprint.reflect)(version>=1.0.0)) >>> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3090) >>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1439) >>> at >>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984) >>> at >>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263) >>> >>> I'm guessing that 1.0.0.SNAPSHOT is considered greater than 1.0.0 and >>> something else is going on. >>> >>> What's the trick to getting these tests to run? >>> >>> -David >>> >>> >> > > -- Cheers, Guillaume Nodet Blog: http://gnodet.blogspot.com/ Open Source SOA http://fusesource.com
Re: [blueprint] itests failing with NoClassDefFoundError
FYI - I just cleaned out my local repo and gave it a shot - my build was still successful - so that doesn't appear to be the cause of the problem. Joe Joe Bohn wrote: Hmm ... I've been building with the itests just fine ... and that's even with maven 2.0.9. I did have one problem earlier today but noticed another code change soon after my build failed ... so I updated and built again. However, I haven't attempted to build with a clean repo. I did just notice one problem when I attempted to comment out some of the references in the blueprint-sample and build again - that caused itest failures. Once I reverted my changes things were once again successful. I learned that the blueprint-sample is used in the itests so even changes which I thought would not affect anything actually did have an impact. Joe David Blevins wrote: Gave 2.0.10 a try. No luck so tried the clean repo, also no luck. $ svn up At revision 776452. $ mvn clean install -Dmaven.repo.local=repo > blueprint-build.log $ cat blueprint-itests/target/surefire-reports/*.txt > blueprint-surefire.txt And the results: http://people.apache.org/~dblevins/blueprint-build.log http://people.apache.org/~dblevins/blueprint-surefire.txt If you haven't already, give a clean repo a try yourself. Could be there's local state in your repo that makes things work -- wouldn't be the first or last time anything like that ever happened. -David On May 18, 2009, at 9:49 PM, Jarek Gawor wrote: What version of maven are you using? I had problems with 2.0.9 but works fine for me with 2.0.10. I don't know if this will help but maybe try with clean m2 repo? itests pull in a lot of stuff... maybe we need to tie down some plugin version. Jarek On Mon, May 18, 2009 at 10:33 PM, David Blevins wrote: Trying to get a clean build on the blueprint code. Getting several errors due to what seems like an invalid bundle config. ERROR: Error starting file:bundles/blueprint-core_1.0.0.SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle 5: package; (&(package=org.osgi.service.blueprint.reflect)(version>=1.0.0))) org.osgi.framework.BundleException: Unresolved constraint in bundle 5: package; (&(package=org.osgi.service.blueprint.reflect)(version>=1.0.0)) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3090) at org.apache.felix.framework.Felix.startBundle(Felix.java:1439) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263) I'm guessing that 1.0.0.SNAPSHOT is considered greater than 1.0.0 and something else is going on. What's the trick to getting these tests to run? -David
Re: [blueprint] itests failing with NoClassDefFoundError
Hmm ... I've been building with the itests just fine ... and that's even with maven 2.0.9. I did have one problem earlier today but noticed another code change soon after my build failed ... so I updated and built again. However, I haven't attempted to build with a clean repo. I did just notice one problem when I attempted to comment out some of the references in the blueprint-sample and build again - that caused itest failures. Once I reverted my changes things were once again successful. I learned that the blueprint-sample is used in the itests so even changes which I thought would not affect anything actually did have an impact. Joe David Blevins wrote: Gave 2.0.10 a try. No luck so tried the clean repo, also no luck. $ svn up At revision 776452. $ mvn clean install -Dmaven.repo.local=repo > blueprint-build.log $ cat blueprint-itests/target/surefire-reports/*.txt > blueprint-surefire.txt And the results: http://people.apache.org/~dblevins/blueprint-build.log http://people.apache.org/~dblevins/blueprint-surefire.txt If you haven't already, give a clean repo a try yourself. Could be there's local state in your repo that makes things work -- wouldn't be the first or last time anything like that ever happened. -David On May 18, 2009, at 9:49 PM, Jarek Gawor wrote: What version of maven are you using? I had problems with 2.0.9 but works fine for me with 2.0.10. I don't know if this will help but maybe try with clean m2 repo? itests pull in a lot of stuff... maybe we need to tie down some plugin version. Jarek On Mon, May 18, 2009 at 10:33 PM, David Blevins wrote: Trying to get a clean build on the blueprint code. Getting several errors due to what seems like an invalid bundle config. ERROR: Error starting file:bundles/blueprint-core_1.0.0.SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle 5: package; (&(package=org.osgi.service.blueprint.reflect)(version>=1.0.0))) org.osgi.framework.BundleException: Unresolved constraint in bundle 5: package; (&(package=org.osgi.service.blueprint.reflect)(version>=1.0.0)) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3090) at org.apache.felix.framework.Felix.startBundle(Felix.java:1439) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263) I'm guessing that 1.0.0.SNAPSHOT is considered greater than 1.0.0 and something else is going on. What's the trick to getting these tests to run? -David
Re: [blueprint] itests failing with NoClassDefFoundError
Gave 2.0.10 a try. No luck so tried the clean repo, also no luck. $ svn up At revision 776452. $ mvn clean install -Dmaven.repo.local=repo > blueprint-build.log $ cat blueprint-itests/target/surefire-reports/*.txt > blueprint- surefire.txt And the results: http://people.apache.org/~dblevins/blueprint-build.log http://people.apache.org/~dblevins/blueprint-surefire.txt If you haven't already, give a clean repo a try yourself. Could be there's local state in your repo that makes things work -- wouldn't be the first or last time anything like that ever happened. -David On May 18, 2009, at 9:49 PM, Jarek Gawor wrote: What version of maven are you using? I had problems with 2.0.9 but works fine for me with 2.0.10. I don't know if this will help but maybe try with clean m2 repo? itests pull in a lot of stuff... maybe we need to tie down some plugin version. Jarek On Mon, May 18, 2009 at 10:33 PM, David Blevins > wrote: Trying to get a clean build on the blueprint code. Getting several errors due to what seems like an invalid bundle config. ERROR: Error starting file:bundles/blueprint-core_1.0.0.SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle 5: package; (&(package=org.osgi.service.blueprint.reflect) (version>=1.0.0))) org.osgi.framework.BundleException: Unresolved constraint in bundle 5: package; (&(package=org.osgi.service.blueprint.reflect) (version>=1.0.0)) at org.apache.felix.framework.Felix.resolveBundle(Felix.java: 3090) at org.apache.felix.framework.Felix.startBundle(Felix.java: 1439) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java: 263) I'm guessing that 1.0.0.SNAPSHOT is considered greater than 1.0.0 and something else is going on. What's the trick to getting these tests to run? -David
Re: [blueprint] itests failing with NoClassDefFoundError
We don't use blueprint-core in the integration tests, we only use the blueprint-bundle which includes all the dependencies. Do you have a bit more of the maven build log ? 2009/5/19 David Blevins : > Trying to get a clean build on the blueprint code. Getting several errors > due to what seems like an invalid bundle config. > > ERROR: Error starting file:bundles/blueprint-core_1.0.0.SNAPSHOT.jar > (org.osgi.framework.BundleException: Unresolved constraint in bundle 5: > package; (&(package=org.osgi.service.blueprint.reflect)(version>=1.0.0))) > org.osgi.framework.BundleException: Unresolved constraint in bundle 5: > package; (&(package=org.osgi.service.blueprint.reflect)(version>=1.0.0)) > at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3090) > at org.apache.felix.framework.Felix.startBundle(Felix.java:1439) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984) > at > org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263) > > I'm guessing that 1.0.0.SNAPSHOT is considered greater than 1.0.0 and > something else is going on. > > What's the trick to getting these tests to run? > > -David > > -- Cheers, Guillaume Nodet Blog: http://gnodet.blogspot.com/ Open Source SOA http://fusesource.com
Re: [blueprint] itests failing with NoClassDefFoundError
What version of maven are you using? I had problems with 2.0.9 but works fine for me with 2.0.10. I don't know if this will help but maybe try with clean m2 repo? itests pull in a lot of stuff... maybe we need to tie down some plugin version. Jarek On Mon, May 18, 2009 at 10:33 PM, David Blevins wrote: > Trying to get a clean build on the blueprint code. Getting several errors > due to what seems like an invalid bundle config. > > ERROR: Error starting file:bundles/blueprint-core_1.0.0.SNAPSHOT.jar > (org.osgi.framework.BundleException: Unresolved constraint in bundle 5: > package; (&(package=org.osgi.service.blueprint.reflect)(version>=1.0.0))) > org.osgi.framework.BundleException: Unresolved constraint in bundle 5: > package; (&(package=org.osgi.service.blueprint.reflect)(version>=1.0.0)) > at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3090) > at org.apache.felix.framework.Felix.startBundle(Felix.java:1439) > at > org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984) > at > org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263) > > I'm guessing that 1.0.0.SNAPSHOT is considered greater than 1.0.0 and > something else is going on. > > What's the trick to getting these tests to run? > > -David > >
[blueprint] itests failing with NoClassDefFoundError
Trying to get a clean build on the blueprint code. Getting several errors due to what seems like an invalid bundle config. ERROR: Error starting file:bundles/blueprint-core_1.0.0.SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle 5: package; (&(package=org.osgi.service.blueprint.reflect) (version>=1.0.0))) org.osgi.framework.BundleException: Unresolved constraint in bundle 5: package; (&(package=org.osgi.service.blueprint.reflect)(version>=1.0.0)) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3090) at org.apache.felix.framework.Felix.startBundle(Felix.java:1439) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java: 263) I'm guessing that 1.0.0.SNAPSHOT is considered greater than 1.0.0 and something else is going on. What's the trick to getting these tests to run? -David