felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r432852 - in /incubator/felix/trunk/tools/maven2: felix-archetype/src/main/resources/archetype-resources/ felix-archetype/src/main/resources/archetype-resources/src/main/java/ osgi-archetype/src/main/resources/archetype-resources/
Date Sat, 19 Aug 2006 18:03:52 GMT
Author: akarasulu
Date: Sat Aug 19 11:03:51 2006
New Revision: 432852

URL: http://svn.apache.org/viewvc?rev=432852&view=rev
Log:
importPackage not yet allowed for what we are exporting

Modified:
    incubator/felix/trunk/tools/maven2/felix-archetype/src/main/resources/archetype-resources/pom.xml
    incubator/felix/trunk/tools/maven2/felix-archetype/src/main/resources/archetype-resources/src/main/java/Activator.java
    incubator/felix/trunk/tools/maven2/osgi-archetype/src/main/resources/archetype-resources/pom.xml

Modified: incubator/felix/trunk/tools/maven2/felix-archetype/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/felix/trunk/tools/maven2/felix-archetype/src/main/resources/archetype-resources/pom.xml?rev=432852&r1=432851&r2=432852&view=diff
==============================================================================
--- incubator/felix/trunk/tools/maven2/felix-archetype/src/main/resources/archetype-resources/pom.xml
(original)
+++ incubator/felix/trunk/tools/maven2/felix-archetype/src/main/resources/archetype-resources/pom.xml
Sat Aug 19 11:03:51 2006
@@ -60,9 +60,6 @@
             <bundleName>Simple Bundle</bundleName>
             <bundleActivator>${groupId}.Activator</bundleActivator>
             <bundleVendor>Apache Software Foundation</bundleVendor>
-            <importBundle>
-              ${groupId}
-            </importBundle>
           </osgiManifest>
         </configuration>
       </plugin>

Modified: incubator/felix/trunk/tools/maven2/felix-archetype/src/main/resources/archetype-resources/src/main/java/Activator.java
URL: http://svn.apache.org/viewvc/incubator/felix/trunk/tools/maven2/felix-archetype/src/main/resources/archetype-resources/src/main/java/Activator.java?rev=432852&r1=432851&r2=432852&view=diff
==============================================================================
--- incubator/felix/trunk/tools/maven2/felix-archetype/src/main/resources/archetype-resources/src/main/java/Activator.java
(original)
+++ incubator/felix/trunk/tools/maven2/felix-archetype/src/main/resources/archetype-resources/src/main/java/Activator.java
Sat Aug 19 11:03:51 2006
@@ -42,7 +42,7 @@
      */
     public void start( BundleContext bundleContext ) throws Exception 
     {
-        System.out.println( "Starting to listen for service events." );
+        System.out.println( "SimpleBundle: Starting to listen for service events." );
         bundleContext.addServiceListener( this );
     }
 
@@ -59,7 +59,7 @@
     public void stop( BundleContext bundleContext ) throws Exception 
     {
         bundleContext.removeServiceListener( this );
-        System.out.println( "Stopped listening for service events." );
+        System.out.println( "SimpleBundle: Stopped listening for service events." );
 
         // Note: It is not required that we remove the listener here, since
         // the framework will do it automatically anyway.
@@ -75,14 +75,14 @@
     public void serviceChanged( ServiceEvent event ) 
     {
         String[] objectClass = ( String[] ) event.getServiceReference().getProperty( "objectClass"
);
-        
+
         switch( event.getType() )
         {
             case( ServiceEvent.REGISTERED ):
                 System.out.println( "SimpleBundle: Service of type " + objectClass[0] + "
registered." );
                 break;
-            case( ServiceEvent.UNREGISTERED ):
-                System.out.println( "SimpleBundle: Service of type " + objectClass[0] + "
unregistered." );
+            case( ServiceEvent.UNREGISTERING ):
+                System.out.println( "SimpleBundle: Service of type " + objectClass[0] + "
unregistering." );
                 break;
             case( ServiceEvent.MODIFIED ):
                 System.out.println( "SimpleBundle: Service of type " + objectClass[0] + "
modified." );

Modified: incubator/felix/trunk/tools/maven2/osgi-archetype/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/felix/trunk/tools/maven2/osgi-archetype/src/main/resources/archetype-resources/pom.xml?rev=432852&r1=432851&r2=432852&view=diff
==============================================================================
--- incubator/felix/trunk/tools/maven2/osgi-archetype/src/main/resources/archetype-resources/pom.xml
(original)
+++ incubator/felix/trunk/tools/maven2/osgi-archetype/src/main/resources/archetype-resources/pom.xml
Sat Aug 19 11:03:51 2006
@@ -47,9 +47,6 @@
             <bundleName>Simple Bundle</bundleName>
             <bundleActivator>${groupId}.Activator</bundleActivator>
             <bundleVendor>Apache Software Foundation</bundleVendor>
-            <importPackage>
-              ${groupId}
-            </importPackage>
           </osgiManifest>
         </configuration>
       </plugin>



Mime
View raw message