river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtra...@apache.org
Subject svn commit: r1305986 - in /river/jtsk/skunk/RiverContainerTests: build.xml src/org/apache/river/container/tests/contract/TestRunner.java
Date Tue, 27 Mar 2012 19:44:05 GMT
Author: gtrasuk
Date: Tue Mar 27 19:44:05 2012
New Revision: 1305986

URL: http://svn.apache.org/viewvc?rev=1305986&view=rev
Log:
Added build.xml targets and dependencies to build the module file for deployment into the
River Container.

Modified:
    river/jtsk/skunk/RiverContainerTests/build.xml
    river/jtsk/skunk/RiverContainerTests/src/org/apache/river/container/tests/contract/TestRunner.java

Modified: river/jtsk/skunk/RiverContainerTests/build.xml
URL: http://svn.apache.org/viewvc/river/jtsk/skunk/RiverContainerTests/build.xml?rev=1305986&r1=1305985&r2=1305986&view=diff
==============================================================================
--- river/jtsk/skunk/RiverContainerTests/build.xml (original)
+++ river/jtsk/skunk/RiverContainerTests/build.xml Tue Mar 27 19:44:05 2012
@@ -71,4 +71,29 @@
     nbproject/build-impl.xml file. 
 
     -->
+    
+        <!--
+    Build the module that hosts reggie in a starter-deployed module.
+    -->
+    <target name='-build-module'>
+        <property name="build.module.dir"
+                  value="${basedir}/build/module"/>
+
+        <mkdir dir="${build.module.dir}"/>
+        <mkdir dir="${build.module.dir}/lib"/>
+        <mkdir dir="${build.module.dir}/lib-dl"/>
+        <copy todir="${build.module.dir}">
+            <fileset dir="${basedir}/app-root"/>
+        </copy>
+        <copy todir="${build.module.dir}/lib">
+            <fileset dir="dist/lib"/>
+        </copy>
+        <copy todir="${build.module.dir}/lib"
+              file="${dist.jar}"/>
+        <jar basedir="${build.module.dir}"
+             jarfile="${basedir}/dist/${application.title}.ssar"/>
+    </target>
+
+    <target name="-post-jar" depends="-build-module"/>
+   
 </project>

Modified: river/jtsk/skunk/RiverContainerTests/src/org/apache/river/container/tests/contract/TestRunner.java
URL: http://svn.apache.org/viewvc/river/jtsk/skunk/RiverContainerTests/src/org/apache/river/container/tests/contract/TestRunner.java?rev=1305986&r1=1305985&r2=1305986&view=diff
==============================================================================
--- river/jtsk/skunk/RiverContainerTests/src/org/apache/river/container/tests/contract/TestRunner.java
(original)
+++ river/jtsk/skunk/RiverContainerTests/src/org/apache/river/container/tests/contract/TestRunner.java
Tue Mar 27 19:44:05 2012
@@ -1,7 +1,21 @@
 /*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.river.container.tests.contract;
 
 import java.io.IOException;



Mime
View raw message