Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2422

samples/osgi-supplychain

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java-SCA-1.3
    • Java-SCA-1.3
    • Java SCA Samples
    • None
    • Windows XP SP2 IBM JDK5

    Description

      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

      Attachments

        Activity

          People

            rsivaram Rajini Sivaram
            simonslaws Simon Laws
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: