You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Rajini Sivaram (JIRA)" <de...@tuscany.apache.org> on 2008/07/01 21:50:45 UTC
[jira] Commented: (TUSCANY-2422) samples/osgi-supplychain
[ https://issues.apache.org/jira/browse/TUSCANY-2422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609693#action_12609693 ]
Rajini Sivaram commented on TUSCANY-2422:
-----------------------------------------
The Felix jar filenames referred to in tuscany-sca-manifest.jar are org.apache.felix.main-1.1.0-SNAPSHOT.jar etc. while the actual jar files in the distribution are org.apache.felix.main-1.1.0-20080418.220157-15.jar etc.
Since we now have released Felix jars which have fixed the problems we encountered in Tuscany, can I switch over to using the latest released versions of Felix instead of the snapshot in both 1.3 and trunk?
> samples/osgi-supplychain
> ------------------------
>
> Key: TUSCANY-2422
> URL: https://issues.apache.org/jira/browse/TUSCANY-2422
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Samples
> Affects Versions: Java-SCA-1.3
> Environment: Windows XP SP2 IBM JDK5
> Reporter: Simon Laws
> Fix For: Java-SCA-1.3
>
>
> lychain>ant compile
> Buildfile: build.xml
> init:
> [mkdir] Created dir: C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-S
> NAPSHOT\samples\osgi-supplychain\target\classes
> compile:
> [javac] Compiling 18 source files to C:\simon\tuscany\release\sca-r1.3-rc0\t
> uscany-sca-1.3-SNAPSHOT\samples\osgi-supplychain\target\classes
> [javac] C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:25: package or
> g.osgi.framework does not exist
> [javac] import org.osgi.framework.BundleActivator;
> [javac] ^
> [javac] C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:26: package or
> g.osgi.framework does not exist
> [javac] import org.osgi.framework.BundleContext;
> [javac] ^
> [javac] C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:27: package or
> g.osgi.framework does not exist
> [javac] import org.osgi.framework.ServiceEvent;
> [javac] ^
> [javac] C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:28: package or
> g.osgi.framework does not exist
> [javac] import org.osgi.framework.ServiceListener;
> [javac] ^
> [javac] C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:29: package or
> g.osgi.framework does not exist
> [javac] import org.osgi.framework.ServiceReference;
> [javac] ^
> [javac] C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:36: cannot fin
> d symbol
> [javac] symbol: class ServiceListener
> [javac] public class OSGiBundleImpl implements ServiceListener, BundleActiva
> tor {
> [javac] ^
> [javac] C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:36: cannot fin
> d symbol
> [javac] symbol: class BundleActivator
> [javac] public class OSGiBundleImpl implements ServiceListener, BundleActiva
> tor {
> [javac] ^
> [javac] C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:47: cannot fin
> d symbol
> [javac] symbol : class BundleContext
> [javac] location: class supplychain.OSGiBundleImpl
> [javac] private BundleContext bundleContext;
> [javac] ^
> [javac] C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:71: cannot fin
> d symbol
> [javac] symbol : class BundleContext
> [javac] location: class supplychain.OSGiBundleImpl
> [javac] public void start(BundleContext bc) {
> [javac] ^
> [javac] C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:97: cannot fin
> d symbol
> [javac] symbol : class BundleContext
> [javac] location: class supplychain.OSGiBundleImpl
> [javac] public void stop(BundleContext bc) {
> [javac] ^
> [javac] C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:103: cannot fi
> nd symbol
> [javac] symbol : class ServiceEvent
> [javac] location: class supplychain.OSGiBundleImpl
> [javac] public void serviceChanged(ServiceEvent event) {
> [javac] ^
> [javac] C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:83: cannot fin
> d symbol
> [javac] symbol : class ServiceReference
> [javac] location: class supplychain.OSGiBundleImpl
> [javac] ServiceReference ref = bundleContext.getServiceR
> eference(referenceClasses[i].getName());
> [javac] ^
> [javac] C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:105: cannot fi
> nd symbol
> [javac] symbol : variable ServiceEvent
> [javac] location: class supplychain.OSGiBundleImpl
> [javac] if (event.getType() == ServiceEvent.REGISTERED)
> {
> [javac] ^
> [javac] C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:107: cannot fi
> nd symbol
> [javac] symbol : class ServiceReference
> [javac] location: class supplychain.OSGiBundleImpl
> [javac] ServiceReference ref = event.getServiceReference();
> [javac] ^
> [javac] 14 errors
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Commented: (TUSCANY-2422) samples/osgi-supplychain
Posted by Simon Laws <si...@googlemail.com>.
On Tue, Jul 1, 2008 at 8:50 PM, Rajini Sivaram (JIRA) <
dev@tuscany.apache.org> wrote:
>
> [
> https://issues.apache.org/jira/browse/TUSCANY-2422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609693#action_12609693]
>
> Rajini Sivaram commented on TUSCANY-2422:
> -----------------------------------------
>
> The Felix jar filenames referred to in tuscany-sca-manifest.jar are
> org.apache.felix.main-1.1.0-SNAPSHOT.jar etc. while the actual jar files in
> the distribution are org.apache.felix.main-1.1.0-20080418.220157-15.jar etc.
>
> Since we now have released Felix jars which have fixed the problems we
> encountered in Tuscany, can I switch over to using the latest released
> versions of Felix instead of the snapshot in both 1.3 and trunk?
>
>
>
> > samples/osgi-supplychain
> > ------------------------
> >
> > Key: TUSCANY-2422
> > URL: https://issues.apache.org/jira/browse/TUSCANY-2422
> > Project: Tuscany
> > Issue Type: Bug
> > Components: Java SCA Samples
> > Affects Versions: Java-SCA-1.3
> > Environment: Windows XP SP2 IBM JDK5
> > Reporter: Simon Laws
> > Fix For: Java-SCA-1.3
> >
> >
> > lychain>ant compile
> > Buildfile: build.xml
> > init:
> > [mkdir] Created dir:
> C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-S
> > NAPSHOT\samples\osgi-supplychain\target\classes
> > compile:
> > [javac] Compiling 18 source files to
> C:\simon\tuscany\release\sca-r1.3-rc0\t
> > uscany-sca-1.3-SNAPSHOT\samples\osgi-supplychain\target\classes
> > [javac]
> C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> > es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:25:
> package or
> > g.osgi.framework does not exist
> > [javac] import org.osgi.framework.BundleActivator;
> > [javac] ^
> > [javac]
> C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> > es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:26:
> package or
> > g.osgi.framework does not exist
> > [javac] import org.osgi.framework.BundleContext;
> > [javac] ^
> > [javac]
> C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> > es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:27:
> package or
> > g.osgi.framework does not exist
> > [javac] import org.osgi.framework.ServiceEvent;
> > [javac] ^
> > [javac]
> C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> > es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:28:
> package or
> > g.osgi.framework does not exist
> > [javac] import org.osgi.framework.ServiceListener;
> > [javac] ^
> > [javac]
> C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> > es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:29:
> package or
> > g.osgi.framework does not exist
> > [javac] import org.osgi.framework.ServiceReference;
> > [javac] ^
> > [javac]
> C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> > es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:36:
> cannot fin
> > d symbol
> > [javac] symbol: class ServiceListener
> > [javac] public class OSGiBundleImpl implements ServiceListener,
> BundleActiva
> > tor {
> > [javac] ^
> > [javac]
> C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> > es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:36:
> cannot fin
> > d symbol
> > [javac] symbol: class BundleActivator
> > [javac] public class OSGiBundleImpl implements ServiceListener,
> BundleActiva
> > tor {
> > [javac] ^
> > [javac]
> C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> > es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:47:
> cannot fin
> > d symbol
> > [javac] symbol : class BundleContext
> > [javac] location: class supplychain.OSGiBundleImpl
> > [javac] private BundleContext bundleContext;
> > [javac] ^
> > [javac]
> C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> > es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:71:
> cannot fin
> > d symbol
> > [javac] symbol : class BundleContext
> > [javac] location: class supplychain.OSGiBundleImpl
> > [javac] public void start(BundleContext bc) {
> > [javac] ^
> > [javac]
> C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> > es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:97:
> cannot fin
> > d symbol
> > [javac] symbol : class BundleContext
> > [javac] location: class supplychain.OSGiBundleImpl
> > [javac] public void stop(BundleContext bc) {
> > [javac] ^
> > [javac]
> C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> > es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:103:
> cannot fi
> > nd symbol
> > [javac] symbol : class ServiceEvent
> > [javac] location: class supplychain.OSGiBundleImpl
> > [javac] public void serviceChanged(ServiceEvent event) {
> > [javac] ^
> > [javac]
> C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> > es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:83:
> cannot fin
> > d symbol
> > [javac] symbol : class ServiceReference
> > [javac] location: class supplychain.OSGiBundleImpl
> > [javac] ServiceReference ref =
> bundleContext.getServiceR
> > eference(referenceClasses[i].getName());
> > [javac] ^
> > [javac]
> C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> > es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:105:
> cannot fi
> > nd symbol
> > [javac] symbol : variable ServiceEvent
> > [javac] location: class supplychain.OSGiBundleImpl
> > [javac] if (event.getType() ==
> ServiceEvent.REGISTERED)
> > {
> > [javac] ^
> > [javac]
> C:\simon\tuscany\release\sca-r1.3-rc0\tuscany-sca-1.3-SNAPSHOT\sampl
> > es\osgi-supplychain\src\main\java\supplychain\OSGiBundleImpl.java:107:
> cannot fi
> > nd symbol
> > [javac] symbol : class ServiceReference
> > [javac] location: class supplychain.OSGiBundleImpl
> > [javac] ServiceReference ref =
> event.getServiceReference();
> > [javac] ^
> > [javac] 14 errors
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
You are not suggesting there is any downside to this so +1 from me.
Simon