You cant. The idea is this: In your project use "mvn dependency:tree". This will show in a tree like structure all your dependencies for the project including transitive ones. Then if you just find one ops4j base and is indeed 0.5.3 then in my view your problem is that in some other dependency (i do not know which) there is a NullArgumentException class. This because we use to (at ops4j) embed = copy inside other jars this class to not "force" user to also include the ops4j base jar as a bundle while runtime.
On Fri, Mar 27, 2009 at 12:01 PM, David Leangen <[email protected]> wrote: > > Hey, > > Well, when I run mvn install -X, nothing comes out other than 0.5.3. > > Do you mean there is some other way I should check for dependencies? If so, > please enlighten me. > > > Cheers, > =David > > > > On Mar 27, 2009, at 6:57 PM, Alin Dreghiciu wrote: > >> Just a quick thought: >> You say that you create your own app container. Can you check that >> your own dependencies (including transitive ones) does not include an >> old version of that class? Usually the "base" classes were wrapped >> inside other bundles so it might be that your own dependencies are not >> up to date. Even if you will nto see it in the maven classpath it can >> be that class is there form another artifact, one of your own or >> indirect from some older ops4j dependency. >> >> On Fri, Mar 27, 2009 at 10:24 AM, David Leangen <[email protected]> wrote: >>> >>> Thanks, Toni and Efy, >>> Well, I'm just trying to run the same, basic exam tutorial, but within my >>> own application container, not in the ops4j one. >>> I created a new maven project and just copied the code from >>> T1S3_HelloFromEquinox.java. >>> >>> Cheers, >>> =David >>> >>> >>> On Mar 27, 2009, at 5:15 PM, Toni Menzel wrote: >>> >>> Hi David, >>> >>> sorry, don't have exam source here right now.. what are you doing ? Do >>> you >>> follow the exam tutorial 1:1 ? Which Exam version ? >>> Hope can help you from here ;) >>> >>> Toni >>> >>> On Fri, Mar 27, 2009 at 9:10 AM, David Leangen <[email protected]> wrote: >>>> >>>> Well, according to maven output, yes, only 0.5.3 is being used. >>>> >>>> Just to be sure, I even deleted the version from my local cache so that >>>> maven downloaded it again from the ops4j repo. >>>> >>>> >>>> Cheers, >>>> =David >>>> >>>> >>>> >>>> On Mar 27, 2009, at 5:03 PM, Edward Yakop wrote: >>>> >>>>> On Fri, Mar 27, 2009 at 15:59, David Leangen <[email protected]> wrote: >>>>>> >>>>>> Unfortunately, that's not the problem. >>>>>> >>>>>> 1) When I don't include it as a dep, I can see with the -X option that >>>>>> maven >>>>>> includes it in my classpath. >>>>>> >>>>>> 2) Even when I include it explicitly, same problem occurs. >>>>> >>>>> Are you sure that there's only one ops4j-base-lang with version 0.5.3? >>>>> 0.4.0 does not have NullArgumentException.validateNotEmpty method. >>>>> >>>>> Regards, >>>>> Edward Yakop >>>>> >>>>> _______________________________________________ >>>>> general mailing list >>>>> [email protected] >>>>> http://lists.ops4j.org/mailman/listinfo/general >>>> >>>> >>>> _______________________________________________ >>>> general mailing list >>>> [email protected] >>>> http://lists.ops4j.org/mailman/listinfo/general >>> >>> >>> >>> -- >>> Toni Menzel >>> Software Developer >>> Professional Profile: http://www.osgify.com >>> [email protected] >>> http://www.ops4j.org - New Energy for OSS Communities - Open >>> Participation Software. >>> _______________________________________________ >>> general mailing list >>> [email protected] >>> http://lists.ops4j.org/mailman/listinfo/general >>> >>> >>> _______________________________________________ >>> general mailing list >>> [email protected] >>> http://lists.ops4j.org/mailman/listinfo/general >>> >>> >> >> >> >> -- >> Alin Dreghiciu >> http://www.ops4j.org - New Energy for OSS Communities - Open >> Participation Software. >> http://www.qi4j.org - New Energy for Java - Domain Driven Development. >> Looking for a job. >> Sent from: Cluj-Napoca CJ Romania. >> >> _______________________________________________ >> general mailing list >> [email protected] >> http://lists.ops4j.org/mailman/listinfo/general > > > _______________________________________________ > general mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/general > -- Alin Dreghiciu http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development. Looking for a job. Sent from: Cluj-Napoca CJ Romania. _______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
