You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2006/06/07 11:14:49 UTC

svn commit: r412336 - in /incubator/cayenne/main/branches/PROTO-3.0/modeler: ./ modeler-launcher/ plugin-launcher/ plugin-launcher/.settings/ plugin-launcher/src/ src/main/assembly/ startup/ startup/src/ startup/src/main/ startup/src/main/assembly/ sta...

Author: aadamchik
Date: Wed Jun  7 02:14:48 2006
New Revision: 412336

URL: http://svn.apache.org/viewvc?rev=412336&view=rev
Log:
extracting startup in a separate Maven module

Added:
    incubator/cayenne/main/branches/PROTO-3.0/modeler/plugin-launcher/
      - copied from r412331, incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-launcher/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/plugin-launcher/.classpath
      - copied unchanged from r412335, incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-launcher/.classpath
    incubator/cayenne/main/branches/PROTO-3.0/modeler/plugin-launcher/.project
      - copied, changed from r412335, incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-launcher/.project
    incubator/cayenne/main/branches/PROTO-3.0/modeler/plugin-launcher/.settings/
      - copied from r412335, incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-launcher/.settings/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/plugin-launcher/pom.xml
      - copied, changed from r412335, incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-launcher/pom.xml
    incubator/cayenne/main/branches/PROTO-3.0/modeler/plugin-launcher/src/
      - copied from r412335, incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-launcher/src/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/pom.xml
    incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/main/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/main/assembly/
      - copied from r412331, incubator/cayenne/main/branches/PROTO-3.0/modeler/src/main/assembly/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/main/assembly/bin.xml
      - copied unchanged from r412335, incubator/cayenne/main/branches/PROTO-3.0/modeler/src/main/assembly/bin.xml
    incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/main/java/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/main/java/org/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/main/java/org/apache/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/main/java/org/apache/cayenne/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/main/java/org/apache/cayenne/App.java
    incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/test/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/test/java/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/test/java/org/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/test/java/org/apache/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/test/java/org/apache/cayenne/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/test/java/org/apache/cayenne/AppTest.java
Removed:
    incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-launcher/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/src/main/assembly/
Modified:
    incubator/cayenne/main/branches/PROTO-3.0/modeler/pom.xml

Copied: incubator/cayenne/main/branches/PROTO-3.0/modeler/plugin-launcher/.project (from r412335, incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-launcher/.project)
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/branches/PROTO-3.0/modeler/plugin-launcher/.project?p2=incubator/cayenne/main/branches/PROTO-3.0/modeler/plugin-launcher/.project&p1=incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-launcher/.project&r1=412335&r2=412336&rev=412336&view=diff
==============================================================================
--- incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-launcher/.project (original)
+++ incubator/cayenne/main/branches/PROTO-3.0/modeler/plugin-launcher/.project Wed Jun  7 02:14:48 2006
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <projectDescription>
-	<name>modeler-launcher</name>
+	<name>plugin-launcher</name>
 	<comment></comment>
 	<projects>
 	</projects>

Copied: incubator/cayenne/main/branches/PROTO-3.0/modeler/plugin-launcher/pom.xml (from r412335, incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-launcher/pom.xml)
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/branches/PROTO-3.0/modeler/plugin-launcher/pom.xml?p2=incubator/cayenne/main/branches/PROTO-3.0/modeler/plugin-launcher/pom.xml&p1=incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-launcher/pom.xml&r1=412335&r2=412336&rev=412336&view=diff
==============================================================================
--- incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-launcher/pom.xml (original)
+++ incubator/cayenne/main/branches/PROTO-3.0/modeler/plugin-launcher/pom.xml Wed Jun  7 02:14:48 2006
@@ -8,11 +8,9 @@
     </parent>
   
     <modelVersion>4.0.0</modelVersion>
-    <groupId>org.apache.cayenne</groupId>
-    <artifactId>modeler-launcher</artifactId>
+    <artifactId>plugin-launcher</artifactId>
     <packaging>jar</packaging>
-    <version>3.0-SNAPSHOT</version>
-    <name>CayenneModeler Plugin Launcher</name>
+    <name>Plugin Environment Launcher</name>
     
     <build>
         <plugins>

Modified: incubator/cayenne/main/branches/PROTO-3.0/modeler/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/branches/PROTO-3.0/modeler/pom.xml?rev=412336&r1=412335&r2=412336&view=diff
==============================================================================
--- incubator/cayenne/main/branches/PROTO-3.0/modeler/pom.xml (original)
+++ incubator/cayenne/main/branches/PROTO-3.0/modeler/pom.xml Wed Jun  7 02:14:48 2006
@@ -1,5 +1,5 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cayenne</groupId>
     <artifactId>modeler</artifactId>
@@ -9,7 +9,8 @@
     <url>http://incubator.apache.org/cayenne/</url>
 
     <modules>
-        <module>modeler-launcher</module>
+        <module>startup</module>
+        <module>plugin-launcher</module>
         <module>swing-plugin</module>
         <module>modeler-plugin</module>
     </modules>
@@ -20,7 +21,7 @@
                 <artifactId>maven-assembly-plugin</artifactId>
                 <configuration>
                     <descriptors>
-                        <descriptor>src/main/assembly/bin.xml</descriptor>
+                        <descriptor>startup/src/main/assembly/bin.xml</descriptor>
                     </descriptors>
                     <finalName>modeler-${version}</finalName>
                 </configuration>

Added: incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/pom.xml?rev=412336&view=auto
==============================================================================
--- incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/pom.xml (added)
+++ incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/pom.xml Wed Jun  7 02:14:48 2006
@@ -0,0 +1,21 @@
+<?xml version="1.0"?><project>
+  <parent>
+    <artifactId>modeler</artifactId>
+    <groupId>org.apache.cayenne</groupId>
+    <version>3.0-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.cayenne</groupId>
+  <artifactId>startup</artifactId>
+  <name>Modeler Startup Module</name>
+  <version>1.0-SNAPSHOT</version>
+  <url>http://maven.apache.org</url>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+</project>

Added: incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/main/java/org/apache/cayenne/App.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/main/java/org/apache/cayenne/App.java?rev=412336&view=auto
==============================================================================
--- incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/main/java/org/apache/cayenne/App.java (added)
+++ incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/main/java/org/apache/cayenne/App.java Wed Jun  7 02:14:48 2006
@@ -0,0 +1,13 @@
+package org.apache.cayenne;
+
+/**
+ * Hello world!
+ *
+ */
+public class App 
+{
+    public static void main( String[] args )
+    {
+        System.out.println( "Hello World!" );
+    }
+}

Added: incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/test/java/org/apache/cayenne/AppTest.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/test/java/org/apache/cayenne/AppTest.java?rev=412336&view=auto
==============================================================================
--- incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/test/java/org/apache/cayenne/AppTest.java (added)
+++ incubator/cayenne/main/branches/PROTO-3.0/modeler/startup/src/test/java/org/apache/cayenne/AppTest.java Wed Jun  7 02:14:48 2006
@@ -0,0 +1,38 @@
+package org.apache.cayenne;
+
+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 );
+    }
+}