hivemind-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject svn commit: r233208 - in /jakarta/hivemind/trunk/examples/src/test: com/panorama/startup/impl/ org/apache/examples/ org/apache/examples/panorama/ org/apache/examples/panorama/startup/ org/apache/examples/panorama/startup/impl/ org/apache/examples/sette...
Date Wed, 17 Aug 2005 17:12:04 GMT
Author: hlship
Date: Wed Aug 17 10:11:55 2005
New Revision: 233208

URL: http://svn.apache.org/viewcvs?rev=233208&view=rev
Log:
Add missing copyrights.
Move examples to org.apache.examples (to satisfy the license on Clover).

Added:
    jakarta/hivemind/trunk/examples/src/test/org/apache/examples/
    jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/
    jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/startup/
    jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/startup/impl/
      - copied from r233106, jakarta/hivemind/trunk/examples/src/test/com/panorama/startup/impl/
    jakarta/hivemind/trunk/examples/src/test/org/apache/examples/setters/
      - copied from r233106, jakarta/hivemind/trunk/examples/src/test/org/apache/hivemind/examples/setters/
Removed:
    jakarta/hivemind/trunk/examples/src/test/com/panorama/startup/impl/
    jakarta/hivemind/trunk/examples/src/test/org/apache/hivemind/examples/setters/
Modified:
    jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/startup/impl/ExecutableFixture.java
    jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/startup/impl/TestExecuteStatic.java
    jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/startup/impl/TestTaskExecutor.java
    jakarta/hivemind/trunk/examples/src/test/org/apache/examples/setters/TestSetters.java

Modified: jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/startup/impl/ExecutableFixture.java
URL: http://svn.apache.org/viewcvs/jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/startup/impl/ExecutableFixture.java?rev=233208&r1=233106&r2=233208&view=diff
==============================================================================
--- jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/startup/impl/ExecutableFixture.java
(original)
+++ jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/startup/impl/ExecutableFixture.java
Wed Aug 17 10:11:55 2005
@@ -12,12 +12,12 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-package com.panorama.startup.impl;
+package org.apache.examples.panorama.startup.impl;
 
-import com.panorama.startup.Executable;
+import org.apache.examples.panorama.startup.Executable;
 
 /**
- * Used with the {@link com.panorama.startup.impl.TestTaskExecutor} test case,
+ * Used with the {@link org.apache.examples.panorama.startup.impl.TestTaskExecutor} test
case,
  * to ensure that executables are executed in the right order.
  *
  * @author Howard Lewis Ship

Modified: jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/startup/impl/TestExecuteStatic.java
URL: http://svn.apache.org/viewcvs/jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/startup/impl/TestExecuteStatic.java?rev=233208&r1=233106&r2=233208&view=diff
==============================================================================
--- jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/startup/impl/TestExecuteStatic.java
(original)
+++ jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/startup/impl/TestExecuteStatic.java
Wed Aug 17 10:11:55 2005
@@ -12,7 +12,9 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-package com.panorama.startup.impl;
+package org.apache.examples.panorama.startup.impl;
+
+import org.apache.examples.panorama.startup.impl.ExecuteStatic;
 
 import junit.framework.TestCase;
 

Modified: jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/startup/impl/TestTaskExecutor.java
URL: http://svn.apache.org/viewcvs/jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/startup/impl/TestTaskExecutor.java?rev=233208&r1=233106&r2=233208&view=diff
==============================================================================
--- jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/startup/impl/TestTaskExecutor.java
(original)
+++ jakarta/hivemind/trunk/examples/src/test/org/apache/examples/panorama/startup/impl/TestTaskExecutor.java
Wed Aug 17 10:11:55 2005
@@ -1,4 +1,18 @@
-package com.panorama.startup.impl;
+// Copyright 2005 The Apache Software Foundation
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//     http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package org.apache.examples.panorama.startup.impl;
 
 import java.util.ArrayList;
 import java.util.Collections;
@@ -6,6 +20,9 @@
 import java.util.Locale;
 
 import org.apache.commons.logging.Log;
+import org.apache.examples.panorama.startup.Executable;
+import org.apache.examples.panorama.startup.impl.Task;
+import org.apache.examples.panorama.startup.impl.TaskExecutor;
 import org.apache.hivemind.ApplicationRuntimeException;
 import org.apache.hivemind.ErrorLog;
 import org.apache.hivemind.Messages;
@@ -23,10 +40,9 @@
 import org.apache.hivemind.util.FileResource;
 import org.easymock.MockControl;
 
-import com.panorama.startup.Executable;
 
 /**
- * Tests for the {@link com.panorama.startup.impl.TaskExecutor} service.
+ * Tests for the {@link org.apache.examples.panorama.startup.impl.TaskExecutor} service.
  * 
  * @author Howard Lewis Ship
  */

Modified: jakarta/hivemind/trunk/examples/src/test/org/apache/examples/setters/TestSetters.java
URL: http://svn.apache.org/viewcvs/jakarta/hivemind/trunk/examples/src/test/org/apache/examples/setters/TestSetters.java?rev=233208&r1=233106&r2=233208&view=diff
==============================================================================
--- jakarta/hivemind/trunk/examples/src/test/org/apache/examples/setters/TestSetters.java
(original)
+++ jakarta/hivemind/trunk/examples/src/test/org/apache/examples/setters/TestSetters.java
Wed Aug 17 10:11:55 2005
@@ -1,10 +1,24 @@
-package org.apache.hivemind.examples.setters;
+// Copyright 2005 The Apache Software Foundation
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//     http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
 
-import org.apache.hivemind.Registry;
-import org.apache.hivemind.examples.ExampleUtils;
+package org.apache.examples.setters;
 
 import junit.framework.TestCase;
 
+import org.apache.examples.ExampleUtils;
+import org.apache.hivemind.Registry;
+
 /**
  * Runs the setters example.
  * 
@@ -14,7 +28,8 @@
 {
     public void testRun() throws Exception
     {
-        Registry registry = ExampleUtils.buildClasspathRegistry("/org/apache/hivemind/examples/setters/setters.xml");
+        Registry registry = ExampleUtils
+                .buildClasspathRegistry("/org/apache/examples/setters/setters.xml");
         Runnable setterService = (Runnable) registry.getService("hivemind.examples.setters.Service",
Runnable.class);
         setterService.run();
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org


Mime
View raw message