It should now be fixed.
However, the jbi integration tests will currently only succeed if you have
build locally all the snapshots.
I will try to fix the artifacts resolution on monday.

On Dec 14, 2007 11:00 AM, Jeff Yu <[EMAIL PROTECTED]> wrote:

> After I update the library version in my working copy, it builds all
> successfully except the jbi/itests module, it seems it is missing the
> osgi.framework library.(we've included the spring-osgi library, not sure
> why
> it can't find the osgi.framework library). it complains the compilation
> error:
>
>
>
> /home/jeffyu/works/smx4.0/nmr/trunk/jbi/itests/src/test/java/org/apache/servicemix/jbi/IntegrationTest.java:[31,26]
> package org.osgi.framework does not exist
>
>
> /home/jeffyu/works/smx4.0/nmr/trunk/jbi/itests/src/test/java/org/apache/servicemix/jbi/IntegrationTest.java:[32,26]
> package org.osgi.framework does not exist
>
>
> /home/jeffyu/works/smx4.0/nmr/trunk/jbi/itests/src/test/java/org/apache/servicemix/jbi/IntegrationTest.java:[33,26]
> package org.osgi.framework does not exist
>
>
> /home/jeffyu/works/smx4.0/nmr/trunk/jbi/itests/src/test/java/org/apache/servicemix/jbi/IntegrationTest.java:[169,8]
> cannot find symbol
> symbol  : class Bundle
> location: class org.apache.servicemix.jbi.IntegrationTest
>
>
> /home/jeffyu/works/smx4.0/nmr/trunk/jbi/itests/src/test/java/org/apache/servicemix/jbi/IntegrationTest.java:[169,37]
> cannot access org.osgi.framework.BundleContext
> file org/osgi/framework/BundleContext.class not found
>        Bundle bundle = bundleContext.installBundle(uri);
>
>
> /home/jeffyu/works/smx4.0/nmr/trunk/jbi/itests/src/test/java/org/apache/servicemix/jbi/IntegrationTest.java:[211,8]
> cannot find symbol
> symbol  : class ServiceListener
> location: class org.apache.servicemix.jbi.IntegrationTest
>
>
> /home/jeffyu/works/smx4.0/nmr/trunk/jbi/itests/src/test/java/org/apache/servicemix/jbi/IntegrationTest.java:[211,39]
> cannot find symbol
> symbol  : class ServiceListener
> location: class org.apache.servicemix.jbi.IntegrationTest
>
>
> /home/jeffyu/works/smx4.0/nmr/trunk/jbi/itests/src/test/java/org/apache/servicemix/jbi/IntegrationTest.java:[221,25]
> cannot access org.osgi.framework.Filter
> file org/osgi/framework/Filter.class not found
>        OsgiListenerUtils.addServiceListener(bundleContext, listener,
> filter);
>
>
> /home/jeffyu/works/smx4.0/nmr/trunk/jbi/itests/src/test/java/org/apache/servicemix/jbi/IntegrationTest.java:[260,8]
> cannot find symbol
> symbol  : class ServiceListener
> location: class org.apache.servicemix.jbi.IntegrationTest
>
>
> /home/jeffyu/works/smx4.0/nmr/trunk/jbi/itests/src/test/java/org/apache/servicemix/jbi/IntegrationTest.java:[260,39]
> cannot find symbol
> symbol  : class ServiceListener
> location: class org.apache.servicemix.jbi.IntegrationTest
>
>
>
> On Dec 14, 2007 5:16 PM, Guillaume Nodet <[EMAIL PROTECTED]> wrote:
>
> > Yeah, the build is using the bundles from the old-branch.
> > I will fix that now.
> >
> > On Dec 14, 2007 9:54 AM, Jeff Yu <[EMAIL PROTECTED]> wrote:
> >
> > > Oops... it failed on my linux box. In my build, I am missing following
> > > jars.
> > >
> > > for the aopalliance:jar,junit:jar,asm:jar,jaxb-impl:jar, jaxb-api:jar,
> > it
> > > seems they should be like: jaxb-impl-2.0.3 0.1-SNAPSHOT..with their
> > actual
> > > version number in the artifactID.
> > >
> > > For the http-core, I've only got the 4.0-alpha5-4.0-SNAPSHOT version,
> > but
> > > not the 4.0-SNAPSHOT..
> > >
> > >
> > > 1)
> > >
> > >
> >
> org.apache.servicemix.bundles:org.apache.servicemix.bundles.httpcore:jar:4.0-SNAPSHOT
> > >
> > >  Try downloading the file manually from the project website.
> > >
> > >  Then, install it using the command:
> > >      mvn install:install-file
> > > -DgroupId=org.apache.servicemix.bundles-DartifactId=
> > > org.apache.servicemix.bundles.httpcore \
> > >          -Dversion=4.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> > > Alternatively, if you host your own repository you can deploy the file
> > > there:       mvn deploy:deploy-file
> > > -DgroupId=org.apache.servicemix.bundles-DartifactId=
> > > org.apache.servicemix.bundles.httpcore \
> > >          -Dversion=4.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
> > >           -Durl=[url] -DrepositoryId=[id]
> > >
> > >  Path to dependency:
> > >        1)
> > >
> > >
> >
> org.apache.servicemix.jbi:org.apache.servicemix.jbi.itests:jar:4.0-SNAPSHOT
> > >        2)
> > >
> > >
> >
> org.apache.servicemix.bundles:org.apache.servicemix.bundles.httpcore:jar:4.0-SNAPSHOT
> > >
> > > 2)
> > >
> > >
> >
> org.apache.servicemix.bundles:org.apache.servicemix.bundles.aopalliance:jar:0.1-SNAPSHOT
> > >
> > >  Try downloading the file manually from the project website.
> > >
> > >  Then, install it using the command:
> > >      mvn install:install-file
> > > -DgroupId=org.apache.servicemix.bundles-DartifactId=
> > > org.apache.servicemix.bundles.aopalliance \
> > >          -Dversion=0.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> > > Alternatively, if you host your own repository you can deploy the file
> > > there:       mvn deploy:deploy-file
> > > -DgroupId=org.apache.servicemix.bundles-DartifactId=
> > > org.apache.servicemix.bundles.aopalliance \
> > >          -Dversion=0.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
> > >           -Durl=[url] -DrepositoryId=[id]
> > >
> > >  Path to dependency:
> > >        1)
> > >
> > >
> >
> org.apache.servicemix.jbi:org.apache.servicemix.jbi.itests:jar:4.0-SNAPSHOT
> > >        2)
> > >
> > >
> >
> org.apache.servicemix.bundles:org.apache.servicemix.bundles.aopalliance:jar:0.1-SNAPSHOT
> > >
> > > 3)
> > >
> > >
> >
> org.apache.servicemix.bundles:org.apache.servicemix.bundles.junit:jar:0.1-SNAPSHOT
> > >
> > >  Try downloading the file manually from the project website.
> > >
> > >  Then, install it using the command:
> > >      mvn install:install-file
> > > -DgroupId=org.apache.servicemix.bundles-DartifactId=
> > > org.apache.servicemix.bundles.junit \
> > >          -Dversion=0.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> > > Alternatively, if you host your own repository you can deploy the file
> > > there:       mvn deploy:deploy-file
> > > -DgroupId=org.apache.servicemix.bundles-DartifactId=
> > > org.apache.servicemix.bundles.junit \
> > >          -Dversion=0.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
> > >           -Durl=[url] -DrepositoryId=[id]
> > >
> > >  Path to dependency:
> > >        1)
> > >
> > >
> >
> org.apache.servicemix.jbi:org.apache.servicemix.jbi.itests:jar:4.0-SNAPSHOT
> > >        2)
> > >
> > >
> >
> org.apache.servicemix.bundles:org.apache.servicemix.bundles.junit:jar:0.1-SNAPSHOT
> > >
> > > 4)
> > >
> > >
> >
> org.apache.servicemix.bundles:org.apache.servicemix.bundles.asm:jar:0.1-SNAPSHOT
> > >
> > >  Try downloading the file manually from the project website.
> > >
> > >  Then, install it using the command:
> > >      mvn install:install-file
> > > -DgroupId=org.apache.servicemix.bundles-DartifactId=
> > > org.apache.servicemix.bundles.asm \
> > >          -Dversion=0.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> > > Alternatively, if you host your own repository you can deploy the file
> > > there:       mvn deploy:deploy-file
> > > -DgroupId=org.apache.servicemix.bundles-DartifactId=
> > > org.apache.servicemix.bundles.asm \
> > >          -Dversion=0.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
> > >           -Durl=[url] -DrepositoryId=[id]
> > >
> > >  Path to dependency:
> > >        1)
> > >
> > >
> >
> org.apache.servicemix.jbi:org.apache.servicemix.jbi.itests:jar:4.0-SNAPSHOT
> > >        2)
> > >
> > >
> >
> org.apache.servicemix.bundles:org.apache.servicemix.bundles.asm:jar:0.1-SNAPSHOT
> > >
> > > 5)
> > >
> > >
> >
> org.apache.servicemix.bundles:org.apache.servicemix.bundles.jaxb-impl:jar:4.0-SNAPSHOT
> > >
> > >  Try downloading the file manually from the project website.
> > >
> > >  Then, install it using the command:
> > >      mvn install:install-file
> > > -DgroupId=org.apache.servicemix.bundles-DartifactId=
> > > org.apache.servicemix.bundles.jaxb-impl \
> > >          -Dversion=4.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> > > Alternatively, if you host your own repository you can deploy the file
> > > there:       mvn deploy:deploy-file
> > > -DgroupId=org.apache.servicemix.bundles-DartifactId=
> > > org.apache.servicemix.bundles.jaxb-impl \
> > >          -Dversion=4.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
> > >           -Durl=[url] -DrepositoryId=[id]
> > >
> > >  Path to dependency:
> > >        1)
> > >
> > >
> >
> org.apache.servicemix.jbi:org.apache.servicemix.jbi.itests:jar:4.0-SNAPSHOT
> > >        2)
> > >
> > >
> >
> org.apache.servicemix.bundles:org.apache.servicemix.bundles.jaxb-impl:jar:4.0-SNAPSHOT
> > >
> > > 6)
> > >
> > >
> >
> org.apache.servicemix.bundles:org.apache.servicemix.bundles.jaxb-api:jar:4.0-SNAPSHOT
> > >
> > >  Try downloading the file manually from the project website.
> > >
> > >  Then, install it using the command:
> > >      mvn install:install-file
> > > -DgroupId=org.apache.servicemix.bundles-DartifactId=
> > > org.apache.servicemix.bundles.jaxb-api \
> > >          -Dversion=4.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> > > Alternatively, if you host your own repository you can deploy the file
> > > there:       mvn deploy:deploy-file
> > > -DgroupId=org.apache.servicemix.bundles-DartifactId=
> > > org.apache.servicemix.bundles.jaxb-api \
> > >          -Dversion=4.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
> > >           -Durl=[url] -DrepositoryId=[id]
> > >
> > >  Path to dependency:
> > >        1)
> > >
> > >
> >
> org.apache.servicemix.jbi:org.apache.servicemix.jbi.itests:jar:4.0-SNAPSHOT
> > >        2)
> > >
> > >
> >
> org.apache.servicemix.bundles:org.apache.servicemix.bundles.jaxb-api:jar:4.0-SNAPSHOT
> > >
> > >
> > > On Dec 14, 2007 4:32 PM, Guillaume Nodet <[EMAIL PROTECTED]> wrote:
> > >
> > > > I've created the svn substree for NMR / JBI.
> > > >    http://svn.apache.org/repos/asf/servicemix/smx4/nmr/trunk/
> > > > It should build without any problems, so if you hit some, just let
> me
> > > > know.
> > > >
> > > > --
> > > > Cheers,
> > > > Guillaume Nodet
> > > > ------------------------
> > > > Blog: http://gnodet.blogspot.com/
> > > >
> > >
> > >
> > >
> > > --
> > > Thanks
> > > Jeff
> > >
> >
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Blog: http://gnodet.blogspot.com/
> >
>
>
>
> --
> Thanks
> Jeff
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to