Author: mes
Date: 2010-08-10 17:24:38 -0700 (Tue, 10 Aug 2010)
New Revision: 21315

Added:
   core3/event-impl/trunk/
   core3/event-impl/trunk/osgi.bnd
   core3/event-impl/trunk/pom.xml
   core3/event-impl/trunk/src/
   core3/event-impl/trunk/src/main/
   core3/event-impl/trunk/src/main/java/
   core3/event-impl/trunk/src/main/java/org/
   core3/event-impl/trunk/src/main/java/org/cytoscape/
   core3/event-impl/trunk/src/main/javadoc/
   core3/event-impl/trunk/src/main/javadoc/org/
   core3/event-impl/trunk/src/main/javadoc/org/cytoscape/
   core3/event-impl/trunk/src/main/resources/
   core3/event-impl/trunk/src/main/resources/META-INF/
   core3/event-impl/trunk/src/main/resources/META-INF/spring/
   
core3/event-impl/trunk/src/main/resources/META-INF/spring/bundle-context-osgi.xml
   core3/event-impl/trunk/src/main/resources/META-INF/spring/bundle-context.xml
   core3/event-impl/trunk/src/main/resources/readme.txt
   core3/event-impl/trunk/src/test/
   core3/event-impl/trunk/src/test/java/
   core3/event-impl/trunk/src/test/java/org/
   core3/event-impl/trunk/src/test/java/org/cytoscape/
Log:
initial import

Added: core3/event-impl/trunk/osgi.bnd
===================================================================
--- core3/event-impl/trunk/osgi.bnd                             (rev 0)
+++ core3/event-impl/trunk/osgi.bnd     2010-08-11 00:24:38 UTC (rev 21315)
@@ -0,0 +1,7 @@
+#-----------------------------------------------------------------
+# Use this file to add customized Bnd instructions for the bundle
+#-----------------------------------------------------------------
+
+Spring-Context: META-INF/spring/*.xml
+Private-Package: ${bundle.namespace}.internal, ${bundle.namespace}.internal.*
+

Added: core3/event-impl/trunk/pom.xml
===================================================================
--- core3/event-impl/trunk/pom.xml                              (rev 0)
+++ core3/event-impl/trunk/pom.xml      2010-08-11 00:24:38 UTC (rev 21315)
@@ -0,0 +1,155 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
+
+  <parent>
+    <artifactId>parent</artifactId>
+    <groupId>org.cytoscape</groupId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+
+  <properties>
+    <bundle.symbolicName>org.cytoscape.event-impl</bundle.symbolicName>
+    <bundle.namespace>org.cytoscape.event</bundle.namespace>
+  </properties>
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.cytoscape</groupId>
+  <artifactId>event-impl</artifactId>
+  <version>1.0-SNAPSHOT</version>
+
+  <name>${bundle.symbolicName}</name>
+
+  <packaging>bundle</packaging>
+
+  <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+      </resource>
+      <!--
+       | example additional resource entries, useful when building Eclipse RCP 
applications
+      -->
+      <resource>
+        <directory>.</directory>
+        <includes>
+          <include>plugin.xml</include>
+          <include>plugin.properties</include>
+          <include>icons/**</include>
+        </includes>
+      </resource>
+    </resources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <redirectTestOutputToFile>true</redirectTestOutputToFile>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.ops4j</groupId>
+        <artifactId>maven-pax-plugin</artifactId>
+        <version>1.4</version>
+        <!--
+           | enable improved OSGi compilation support for the bundle 
life-cycle.
+           | to switch back to the standard bundle life-cycle, move this 
setting
+           | down to the maven-bundle-plugin section
+          -->
+        <extensions>true</extensions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <version>1.4.3</version>
+        <!--
+         | the following instructions build a simple set of public/private 
classes into an OSGi bundle
+        -->
+        <configuration>
+          <instructions>
+            <Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
+            <Bundle-Version>${pom.version}</Bundle-Version>
+            <_include>-osgi.bnd</_include>
+          </instructions>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+ 
+  <repositories>
+      <!-- bootstrap for cytoscape dependencies, namely the parent POM 
snapshots -->
+      <repository>
+          <id>cytoscape_snapshots</id>
+          <snapshots>
+            <enabled>true</enabled>
+          </snapshots>
+          <releases>
+            <enabled>false</enabled>
+          </releases>
+          <name>Cytoscape Snapshots</name>
+          
<url>http://cytoscape.wodaklab.org/nexus/content/repositories/snapshots/</url>
+       </repository>
+       <!-- bootstrap for cytoscape dependencies, namely the parent POM 
releases -->
+       <repository>
+          <id>cytoscape_releases</id>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+          <name>Cytoscape Releases</name>
+          
<url>http://cytoscape.wodaklab.org/nexus/content/repositories/releases/</url>
+       </repository>
+  </repositories>
+  <dependencies>
+
+    <dependency>
+      <groupId>org.osgi</groupId>
+      <artifactId>org.osgi.core</artifactId>
+      <version>4.2.0</version>
+      <scope>provided</scope>
+      <optional>true</optional>
+    </dependency>
+    <dependency>
+      <groupId>org.osgi</groupId>
+      <artifactId>org.osgi.compendium</artifactId>
+      <version>4.2.0</version>
+      <scope>provided</scope>
+      <optional>true</optional>
+    </dependency>
+
+    <dependency>
+      <groupId>org.cytoscape</groupId>
+      <artifactId>event-api</artifactId>
+      <version>1.0-SNAPSHOT</version>
+      <scope>provided</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>org.cytoscape</groupId>
+      <artifactId>event-api</artifactId>
+      <version>1.0-SNAPSHOT</version>
+      <type>test-jar</type>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework.osgi</groupId>
+      <artifactId>spring-osgi-mock</artifactId>
+      <version>1.0</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.mockito</groupId>
+      <artifactId>mockito-all</artifactId>
+      <version>1.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+</project>

Added: 
core3/event-impl/trunk/src/main/resources/META-INF/spring/bundle-context-osgi.xml
===================================================================
--- 
core3/event-impl/trunk/src/main/resources/META-INF/spring/bundle-context-osgi.xml
                           (rev 0)
+++ 
core3/event-impl/trunk/src/main/resources/META-INF/spring/bundle-context-osgi.xml
   2010-08-11 00:24:38 UTC (rev 21315)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xmlns:osgi="http://www.springframework.org/schema/osgi";
+       xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+                      http://www.springframework.org/schema/osgi 
http://www.springframework.org/schema/osgi/spring-osgi-1.0.xsd";
+       default-lazy-init="false">
+
+       <!-- Individual Service -->
+       <osgi:service id="cyEventHelperService"
+               ref="cyEventHelper" 
interface="org.cytoscape.event.CyEventHelper">
+       </osgi:service>
+</beans>

Added: 
core3/event-impl/trunk/src/main/resources/META-INF/spring/bundle-context.xml
===================================================================
--- 
core3/event-impl/trunk/src/main/resources/META-INF/spring/bundle-context.xml    
                            (rev 0)
+++ 
core3/event-impl/trunk/src/main/resources/META-INF/spring/bundle-context.xml    
    2010-08-11 00:24:38 UTC (rev 21315)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xmlns:context="http://www.springframework.org/schema/context";
+       xsi:schemaLocation="
+    http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+    http://www.springframework.org/schema/context
+    http://www.springframework.org/schema/context/spring-context-2.5.xsd";>
+
+       <!-- regular spring configuration file defining the beans for this
+               bundle. We've kept the osgi definitions in a separate 
+               configuration file so that this file can easily be used
+               for integration testing outside of an OSGi environment -->
+
+       <context:annotation-config/>
+       
+       <bean id="cyListenerAdapter" 
class="org.cytoscape.event.internal.CyListenerAdapter">
+               <constructor-arg ref="bundleContext" />
+       </bean>
+
+       <bean id="cyMicroListenerAdapter" 
class="org.cytoscape.event.internal.CyMicroListenerAdapter">
+               <constructor-arg ref="bundleContext" />
+       </bean>
+
+       <bean id="cyEventHelper" 
class="org.cytoscape.event.internal.CyEventHelperImpl">
+               <constructor-arg ref="cyListenerAdapter" />
+               <constructor-arg ref="cyMicroListenerAdapter" />
+       </bean>
+</beans>

Added: core3/event-impl/trunk/src/main/resources/readme.txt
===================================================================
--- core3/event-impl/trunk/src/main/resources/readme.txt                        
        (rev 0)
+++ core3/event-impl/trunk/src/main/resources/readme.txt        2010-08-11 
00:24:38 UTC (rev 21315)
@@ -0,0 +1 @@
+Bundle resources go here

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to