river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtra...@apache.org
Subject svn commit: r1644762 - in /river/river-rt-tools/trunk/tools: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/river/ src/main/java/org/apache/river/tools/ src/main/java/org/apache/river/tools/rt/ sr...
Date Thu, 11 Dec 2014 20:52:12 GMT
Author: gtrasuk
Date: Thu Dec 11 20:52:11 2014
New Revision: 1644762

URL: http://svn.apache.org/r1644762
Log:
'tools' including the class-server and a few others are now a module inside the river-rt-tools
project.

Added:
    river/river-rt-tools/trunk/tools/   (with props)
    river/river-rt-tools/trunk/tools/pom.xml
    river/river-rt-tools/trunk/tools/src/
    river/river-rt-tools/trunk/tools/src/main/
    river/river-rt-tools/trunk/tools/src/main/java/
    river/river-rt-tools/trunk/tools/src/main/java/org/
    river/river-rt-tools/trunk/tools/src/main/java/org/apache/
    river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/
    river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/
    river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/
    river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/App.java
    river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/CheckConfigurationFile.java
      - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/tool/CheckConfigurationFile.java
    river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/CheckSer.java
      - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/tool/CheckSer.java
    river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/ClassServer.java
      - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/tool/ClassServer.java
    river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/ComputeDigest.java
      - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/tool/ComputeDigest.java
    river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/ComputeHttpmdCodebase.java
      - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/tool/ComputeHttpmdCodebase.java
    river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/Config.java
      - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/config/Config.java
    river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/DebugDynamicPolicyProvider.java
      - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/tool/DebugDynamicPolicyProvider.java
    river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/JarWrapper.java
      - copied, changed from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/tool/JarWrapper.java
    river/river-rt-tools/trunk/tools/src/test/
    river/river-rt-tools/trunk/tools/src/test/java/
    river/river-rt-tools/trunk/tools/src/test/java/org/
    river/river-rt-tools/trunk/tools/src/test/java/org/apache/
    river/river-rt-tools/trunk/tools/src/test/java/org/apache/river/
    river/river-rt-tools/trunk/tools/src/test/java/org/apache/river/tools/
    river/river-rt-tools/trunk/tools/src/test/java/org/apache/river/tools/rt/
    river/river-rt-tools/trunk/tools/src/test/java/org/apache/river/tools/rt/AppTest.java

Propchange: river/river-rt-tools/trunk/tools/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Dec 11 20:52:11 2014
@@ -0,0 +1 @@
+target

Added: river/river-rt-tools/trunk/tools/pom.xml
URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/tools/pom.xml?rev=1644762&view=auto
==============================================================================
--- river/river-rt-tools/trunk/tools/pom.xml (added)
+++ river/river-rt-tools/trunk/tools/pom.xml Thu Dec 11 20:52:11 2014
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.river.tools.rt</groupId>
+        <artifactId>river-rt-tools</artifactId>
+        <version>1.0-SNAPSHOT</version>
+    </parent>
+    <groupId>org.apache.river.tools.rt</groupId>
+    <artifactId>tools</artifactId>
+    <version>1.0-SNAPSHOT</version>
+    <name>tools</name>
+    <url>http://maven.apache.org</url>
+    <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    </properties>
+    <dependencies>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>3.8.1</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>net.jini</groupId>
+            <artifactId>jsk-platform</artifactId>
+            <version>2.2.2</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.river.tools.rt</groupId>
+            <artifactId>start</artifactId>
+            <version>1.0-SNAPSHOT</version>
+        </dependency>
+    </dependencies>
+</project>

Added: river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/App.java
URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/App.java?rev=1644762&view=auto
==============================================================================
--- river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/App.java (added)
+++ river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/App.java Thu
Dec 11 20:52:11 2014
@@ -0,0 +1,13 @@
+package org.apache.river.tools.rt;
+
+/**
+ * Hello world!
+ *
+ */
+public class App 
+{
+    public static void main( String[] args )
+    {
+        System.out.println( "Hello World!" );
+    }
+}

Copied: river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/CheckConfigurationFile.java
(from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/tool/CheckConfigurationFile.java)
URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/CheckConfigurationFile.java?p2=river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/CheckConfigurationFile.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/tool/CheckConfigurationFile.java&r1=1644543&r2=1644762&rev=1644762&view=diff
==============================================================================
--- river/jtsk/branches/2.2/src/com/sun/jini/tool/CheckConfigurationFile.java (original)
+++ river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/CheckConfigurationFile.java
Thu Dec 11 20:52:11 2014
@@ -16,7 +16,7 @@
  * limitations under the License.
  */
 
-package com.sun.jini.tool;
+package org.apache.river.tools.rt;
 
 import java.io.BufferedInputStream;
 import java.io.BufferedReader;

Copied: river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/CheckSer.java
(from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/tool/CheckSer.java)
URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/CheckSer.java?p2=river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/CheckSer.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/tool/CheckSer.java&r1=1644543&r2=1644762&rev=1644762&view=diff
==============================================================================
--- river/jtsk/branches/2.2/src/com/sun/jini/tool/CheckSer.java (original)
+++ river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/CheckSer.java
Thu Dec 11 20:52:11 2014
@@ -15,7 +15,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package com.sun.jini.tool;
+package org.apache.river.tools.rt;
 
 import java.io.File;
 import java.io.Serializable;

Copied: river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/ClassServer.java
(from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/tool/ClassServer.java)
URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/ClassServer.java?p2=river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/ClassServer.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/tool/ClassServer.java&r1=1644543&r2=1644762&rev=1644762&view=diff
==============================================================================
--- river/jtsk/branches/2.2/src/com/sun/jini/tool/ClassServer.java (original)
+++ river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/ClassServer.java
Thu Dec 11 20:52:11 2014
@@ -15,10 +15,10 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package com.sun.jini.tool;
+package org.apache.river.tools.rt;
 
 import com.sun.jini.logging.Levels;
-import com.sun.jini.start.LifeCycle;
+import org.apache.river.tools.rt.start.LifeCycle;
 import java.io.BufferedInputStream;
 import java.io.DataInputStream;
 import java.io.DataOutputStream;

Copied: river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/ComputeDigest.java
(from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/tool/ComputeDigest.java)
URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/ComputeDigest.java?p2=river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/ComputeDigest.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/tool/ComputeDigest.java&r1=1644543&r2=1644762&rev=1644762&view=diff
==============================================================================
--- river/jtsk/branches/2.2/src/com/sun/jini/tool/ComputeDigest.java (original)
+++ river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/ComputeDigest.java
Thu Dec 11 20:52:11 2014
@@ -16,7 +16,7 @@
  * limitations under the License.
  */
 
-package com.sun.jini.tool;
+package org.apache.river.tools.rt;
 
 import java.io.FileNotFoundException;
 import java.net.URL;

Copied: river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/ComputeHttpmdCodebase.java
(from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/tool/ComputeHttpmdCodebase.java)
URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/ComputeHttpmdCodebase.java?p2=river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/ComputeHttpmdCodebase.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/tool/ComputeHttpmdCodebase.java&r1=1644543&r2=1644762&rev=1644762&view=diff
==============================================================================
--- river/jtsk/branches/2.2/src/com/sun/jini/tool/ComputeHttpmdCodebase.java (original)
+++ river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/ComputeHttpmdCodebase.java
Thu Dec 11 20:52:11 2014
@@ -16,7 +16,7 @@
  * limitations under the License.
  */
 
-package com.sun.jini.tool;
+package org.apache.river.tools.rt;
 
 import java.io.File;
 import java.io.FileNotFoundException;

Copied: river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/Config.java
(from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/config/Config.java)
URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/Config.java?p2=river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/Config.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/config/Config.java&r1=1644543&r2=1644762&rev=1644762&view=diff
==============================================================================
--- river/jtsk/branches/2.2/src/com/sun/jini/config/Config.java (original)
+++ river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/Config.java Thu
Dec 11 20:52:11 2014
@@ -15,7 +15,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package com.sun.jini.config;
+package org.apache.river.tools.rt;
 
 import java.util.logging.Level;
 import java.util.logging.Logger;

Copied: river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/DebugDynamicPolicyProvider.java
(from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/tool/DebugDynamicPolicyProvider.java)
URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/DebugDynamicPolicyProvider.java?p2=river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/DebugDynamicPolicyProvider.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/tool/DebugDynamicPolicyProvider.java&r1=1644543&r2=1644762&rev=1644762&view=diff
==============================================================================
--- river/jtsk/branches/2.2/src/com/sun/jini/tool/DebugDynamicPolicyProvider.java (original)
+++ river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/DebugDynamicPolicyProvider.java
Thu Dec 11 20:52:11 2014
@@ -16,7 +16,7 @@
  * limitations under the License.
  */
 
-package com.sun.jini.tool;
+package org.apache.river.tools.rt;
 
 import java.io.PrintWriter;
 import java.io.StringWriter;

Copied: river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/JarWrapper.java
(from r1644543, river/jtsk/branches/2.2/src/com/sun/jini/tool/JarWrapper.java)
URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/JarWrapper.java?p2=river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/JarWrapper.java&p1=river/jtsk/branches/2.2/src/com/sun/jini/tool/JarWrapper.java&r1=1644543&r2=1644762&rev=1644762&view=diff
==============================================================================
--- river/jtsk/branches/2.2/src/com/sun/jini/tool/JarWrapper.java (original)
+++ river/river-rt-tools/trunk/tools/src/main/java/org/apache/river/tools/rt/JarWrapper.java
Thu Dec 11 20:52:11 2014
@@ -16,7 +16,7 @@
  * limitations under the License.
  */
 
-package com.sun.jini.tool;
+package org.apache.river.tools.rt;
 
 import java.io.BufferedReader;
 import java.io.BufferedWriter;

Added: river/river-rt-tools/trunk/tools/src/test/java/org/apache/river/tools/rt/AppTest.java
URL: http://svn.apache.org/viewvc/river/river-rt-tools/trunk/tools/src/test/java/org/apache/river/tools/rt/AppTest.java?rev=1644762&view=auto
==============================================================================
--- river/river-rt-tools/trunk/tools/src/test/java/org/apache/river/tools/rt/AppTest.java
(added)
+++ river/river-rt-tools/trunk/tools/src/test/java/org/apache/river/tools/rt/AppTest.java
Thu Dec 11 20:52:11 2014
@@ -0,0 +1,38 @@
+package org.apache.river.tools.rt;
+
+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 );
+    }
+}



Mime
View raw message