Author: kono
Date: 2011-06-24 11:51:25 -0700 (Fri, 24 Jun 2011)
New Revision: 25920

Added:
   core3/wrappers/trunk/freehep-io/pom.xml
   core3/wrappers/trunk/freehep-io/src/
   core3/wrappers/trunk/freehep-io/src/main/
   core3/wrappers/trunk/freehep-io/src/main/java/
   core3/wrappers/trunk/freehep-io/src/main/java/cytoscape_temp/
   core3/wrappers/trunk/freehep-io/src/main/java/cytoscape_temp/freehep_io/
   
core3/wrappers/trunk/freehep-io/src/main/java/cytoscape_temp/freehep_io/App.java
   core3/wrappers/trunk/freehep-io/src/test/
   core3/wrappers/trunk/freehep-io/src/test/java/
   core3/wrappers/trunk/freehep-io/src/test/java/cytoscape_temp/
   core3/wrappers/trunk/freehep-io/src/test/java/cytoscape_temp/freehep_io/
   
core3/wrappers/trunk/freehep-io/src/test/java/cytoscape_temp/freehep_io/AppTest.java
Log:
Wrapper for freehep base package, which was not wrapped before.

Added: core3/wrappers/trunk/freehep-io/pom.xml
===================================================================
--- core3/wrappers/trunk/freehep-io/pom.xml                             (rev 0)
+++ core3/wrappers/trunk/freehep-io/pom.xml     2011-06-24 18:51:25 UTC (rev 
25920)
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       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";>
+
+       <parent>
+               <artifactId>parent</artifactId>
+               <groupId>org.cytoscape</groupId>
+               <version>3.0.0-alpha8-SNAPSHOT</version>
+       </parent>
+
+       <properties>
+               
<bundle.symbolicName>org.freehep.freehep-io</bundle.symbolicName>
+               <wrapped.groupId>org.freehep</wrapped.groupId>
+               <wrapped.artifactId>freehep-io</wrapped.artifactId>
+               <wrapped.version>2.1</wrapped.version>
+       </properties>
+
+       <modelVersion>4.0.0</modelVersion>
+       <groupId>cytoscape-temp</groupId>
+       <artifactId>freehep-io</artifactId>
+       <version>2.1</version>
+
+       <name>${bundle.symbolicName} ${wrapped.version} [osgi]</name>
+
+       <packaging>bundle</packaging>
+
+       <dependencies>
+               <dependency>
+                       <groupId>${wrapped.groupId}</groupId>
+                       <artifactId>${wrapped.artifactId}</artifactId>
+                       <version>${wrapped.version}</version>
+                       <optional>true</optional>
+               </dependency>
+       </dependencies>
+
+       <build>
+               <plugins>
+                       <plugin>
+                               <groupId>org.ops4j</groupId>
+                               <artifactId>maven-pax-plugin</artifactId>
+                               <version>${maven-pax-plugin.version}</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>${maven-bundle-plugin.version}</version>
+                               <!-- | the following instructions are optimized 
for wrapping third-party 
+                                       libraries as OSGi bundles -->
+                               <configuration>
+                                       <instructions>
+                                               
<Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
+                                               
<Bundle-Version>${wrapped.version}</Bundle-Version>
+                                               <!-- | export wrapped contents: 
don't use Export-Package:* as this 
+                                                       bundles everything on 
the classpath -->
+                                               
<_exportcontents>*</_exportcontents>
+                                               
<Private-Package>!*</Private-Package>
+                                               <!-- | each module can override 
these defaults in their osgi.bnd file -->
+                                               <_include>-osgi.bnd</_include>
+                                       </instructions>
+                               </configuration>
+                       </plugin>
+               </plugins>
+       </build>
+
+       <distributionManagement>
+               <repository>
+                       <id>thirdparty</id>
+                       <name>3rd party</name>
+                       
<url>http://cytoscape.wodaklab.org/nexus/content/repositories/thirdparty</url>
+               </repository>
+       </distributionManagement>
+
+</project>
\ No newline at end of file

Added: 
core3/wrappers/trunk/freehep-io/src/main/java/cytoscape_temp/freehep_io/App.java
===================================================================
--- 
core3/wrappers/trunk/freehep-io/src/main/java/cytoscape_temp/freehep_io/App.java
                            (rev 0)
+++ 
core3/wrappers/trunk/freehep-io/src/main/java/cytoscape_temp/freehep_io/App.java
    2011-06-24 18:51:25 UTC (rev 25920)
@@ -0,0 +1,13 @@
+package cytoscape_temp.freehep_io;
+
+/**
+ * Hello world!
+ *
+ */
+public class App 
+{
+    public static void main( String[] args )
+    {
+        System.out.println( "Hello World!" );
+    }
+}

Added: 
core3/wrappers/trunk/freehep-io/src/test/java/cytoscape_temp/freehep_io/AppTest.java
===================================================================
--- 
core3/wrappers/trunk/freehep-io/src/test/java/cytoscape_temp/freehep_io/AppTest.java
                                (rev 0)
+++ 
core3/wrappers/trunk/freehep-io/src/test/java/cytoscape_temp/freehep_io/AppTest.java
        2011-06-24 18:51:25 UTC (rev 25920)
@@ -0,0 +1,38 @@
+package cytoscape_temp.freehep_io;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest 
+    extends TestCase
+{
+    /**
+     * Create the test case
+     *
+     * @param testName name of the test case
+     */
+    public AppTest( String testName )
+    {
+        super( testName );
+    }
+
+    /**
+     * @return the suite of tests being tested
+     */
+    public static Test suite()
+    {
+        return new TestSuite( AppTest.class );
+    }
+
+    /**
+     * Rigourous Test :-)
+     */
+    public void testApp()
+    {
+        assertTrue( true );
+    }
+}

-- 
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