[jboss-svn-commits] JBL Code SVN: r14698 - in labs/shotoku/trunk/shotoku-cache: cache-admin and 3 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Aug 28 05:26:30 EDT 2007


Author: adamw
Date: 2007-08-28 05:26:30 -0400 (Tue, 28 Aug 2007)
New Revision: 14698

Added:
   labs/shotoku/trunk/shotoku-cache/INSTALL
Modified:
   labs/shotoku/trunk/shotoku-cache/
   labs/shotoku/trunk/shotoku-cache/build.xml
   labs/shotoku/trunk/shotoku-cache/cache-admin/build.xml
   labs/shotoku/trunk/shotoku-cache/cache-base/build.xml
   labs/shotoku/trunk/shotoku-cache/cache-service/build.xml
   labs/shotoku/trunk/shotoku-cache/cache-test/build.xml
Log:
Release building


Property changes on: labs/shotoku/trunk/shotoku-cache
___________________________________________________________________
Name: svn:ignore
   - target
dist
build
bin
.classpath
.project
.settings

   + release
target
dist
build
bin
.classpath
.project
.settings


Added: labs/shotoku/trunk/shotoku-cache/INSTALL
===================================================================
--- labs/shotoku/trunk/shotoku-cache/INSTALL	                        (rev 0)
+++ labs/shotoku/trunk/shotoku-cache/INSTALL	2007-08-28 09:26:30 UTC (rev 14698)
@@ -0,0 +1,24 @@
+Installation of Shotoku Renewable Cache
+---------------------------------------
+
+First, you need to download and unpack JBoss AS 4.0.x (http://labs.jboss.com/jbossas) and
+JBoss Cache 1.4.x (http://labs.jboss.com/jbosscache) (to install JBoss Cache, you just need
+to copy two files: lib/jboss-cache.jar and lib/jgroups.jar from the distribution package to
+${jboss.home}/server/${conf}/lib).
+
+${conf} is the name of the application server configuration you use - most commonly it is
+"default".
+
+Then, you have to:
+1. copy shotoku-cache.jar to ${jboss.home}/server/${conf}/lib
+2. copy shotoku-cache-service.sar to ${jboss.home}/server/${conf}/deploy
+3. copy shotoku-cache-admin.war (optional) to ${jboss.home}/server/${conf}/deploy
+
+To configure the cache and the underlying tree cache, see the file shotoku-cache-service.sar/META-INF/jboss-service.xml.
+
+You can then start the AS. To see the administration panel, go to:
+http://localhost:8080/shotoku-cache-admin
+
+For more details on installation and configuration, see:
+* http://labs.jboss.com/shotoku/cache/configuration.html
+* http://labs.jboss.com/shotoku/cache/

Modified: labs/shotoku/trunk/shotoku-cache/build.xml
===================================================================
--- labs/shotoku/trunk/shotoku-cache/build.xml	2007-08-28 08:31:12 UTC (rev 14697)
+++ labs/shotoku/trunk/shotoku-cache/build.xml	2007-08-28 09:26:30 UTC (rev 14698)
@@ -9,6 +9,8 @@
 	
 	<property name="modules.list" value="cache-base,cache-service,cache-test,cache-admin" />
 
+	<property name="version" value="1.0" />
+	
 	<!-- Configuration of source/ target directories -->
 	<property name="src" value="src"/>
 	<property name="src.java" value="${src}/java"/>
@@ -17,6 +19,7 @@
 	<property name="build" value="build"/>
 	<property name="dist" value="dist"/>
 	<property name="docs" value="docs"/>
+	<property name="release" value="release"/>
 
 	<!-- Dependency jars filesets definitions -->
 	<fileset id="jboss.lib.1" dir="${jboss.lib}">
@@ -48,7 +51,7 @@
 	</target>
 
 	<!-- Main tasks -->
-	<target name="clean" depends="undeploy">
+	<target name="clean">
 		<delete dir="${dist}" />
 		<antcall target="each-module">
 			<param name="target.name" value="clean" />
@@ -67,7 +70,7 @@
 		</antcall>
 	</target>
 
-	<target name="deploy" depends="dist">
+	<target name="deploy" depends="dist,undeploy">
 		<antcall target="each-module">
 			<param name="target.name" value="deploy" />
 		</antcall>
@@ -90,4 +93,21 @@
 			<param name="target.name" value="docs" />
 		</antcall>
 	</target>
+	
+	<target name="release" depends="dist">
+		<delete dir="${release}" />
+		<mkdir dir="${release}" />
+		
+		<copy file="INSTALL" todir="${release}" />
+		
+		<antcall target="each-module">
+			<param name="target.name" value="release" />
+		</antcall>
+		
+		<zip destfile="${release}/shotoku-cache-${version}.zip">
+            <fileset dir="${release}">
+                <include name="**/*" />
+            </fileset>
+		</zip>
+	</target>
 </project>

Modified: labs/shotoku/trunk/shotoku-cache/cache-admin/build.xml
===================================================================
--- labs/shotoku/trunk/shotoku-cache/cache-admin/build.xml	2007-08-28 08:31:12 UTC (rev 14697)
+++ labs/shotoku/trunk/shotoku-cache/cache-admin/build.xml	2007-08-28 09:26:30 UTC (rev 14698)
@@ -66,4 +66,8 @@
 	<target name="docs">
 	
 	</target>
+	
+	<target name="release">
+		<copy todir="../${release}" file="${dist}/${war.name}" />
+	</target>
 </project>

Modified: labs/shotoku/trunk/shotoku-cache/cache-base/build.xml
===================================================================
--- labs/shotoku/trunk/shotoku-cache/cache-base/build.xml	2007-08-28 08:31:12 UTC (rev 14697)
+++ labs/shotoku/trunk/shotoku-cache/cache-base/build.xml	2007-08-28 09:26:30 UTC (rev 14698)
@@ -57,4 +57,8 @@
 			</fileset>
 		</javadoc>
 	</target>
+	
+	<target name="release">
+		<copy todir="../${release}" file="${dist}/${jar.name}" />
+	</target>
 </project>

Modified: labs/shotoku/trunk/shotoku-cache/cache-service/build.xml
===================================================================
--- labs/shotoku/trunk/shotoku-cache/cache-service/build.xml	2007-08-28 08:31:12 UTC (rev 14697)
+++ labs/shotoku/trunk/shotoku-cache/cache-service/build.xml	2007-08-28 09:26:30 UTC (rev 14698)
@@ -62,4 +62,12 @@
 	<target name="docs">
 	
 	</target>
+	
+	<target name="release">
+		<copy todir="../${release}">
+            <fileset dir="${dist}">
+                <include name="${sar.name}/**" />
+            </fileset>
+		</copy>
+	</target>
 </project>

Modified: labs/shotoku/trunk/shotoku-cache/cache-test/build.xml
===================================================================
--- labs/shotoku/trunk/shotoku-cache/cache-test/build.xml	2007-08-28 08:31:12 UTC (rev 14697)
+++ labs/shotoku/trunk/shotoku-cache/cache-test/build.xml	2007-08-28 09:26:30 UTC (rev 14698)
@@ -59,4 +59,8 @@
 	<target name="docs">
 	
 	</target>
+	
+	<target name="release">
+	
+	</target>
 </project>




More information about the jboss-svn-commits mailing list