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

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Aug 16 05:45:40 EDT 2007


Author: adamw
Date: 2007-08-16 05:45:40 -0400 (Thu, 16 Aug 2007)
New Revision: 14299

Added:
   labs/shotoku/trunk/shotoku-cache/cache-admin/
   labs/shotoku/trunk/shotoku-cache/cache-admin/src/
   labs/shotoku/trunk/shotoku-cache/cache-admin/src/java/
   labs/shotoku/trunk/shotoku-cache/cache-admin/src/java/org/
   labs/shotoku/trunk/shotoku-cache/cache-admin/src/java/org/jboss/
   labs/shotoku/trunk/shotoku-cache/cache-admin/src/java/org/jboss/shotoku/
   labs/shotoku/trunk/shotoku-cache/cache-admin/src/java/org/jboss/shotoku/cache/
   labs/shotoku/trunk/shotoku-cache/cache-admin/src/java/org/jboss/shotoku/cache/admin/
   labs/shotoku/trunk/shotoku-cache/cache-admin/src/java/org/jboss/shotoku/cache/admin/AdminBean.java
   labs/shotoku/trunk/shotoku-cache/cache-admin/src/web/
   labs/shotoku/trunk/shotoku-cache/lib/ant-contrib/LICENSE.txt
   labs/shotoku/trunk/shotoku-cache/lib/richfaces/
   labs/shotoku/trunk/shotoku-cache/lib/richfaces/ajax4jsf-1.1.1.jar
   labs/shotoku/trunk/shotoku-cache/lib/richfaces/richfaces-3.0.1.jar
Removed:
   labs/shotoku/trunk/shotoku-cache/cache-web/
Modified:
   labs/shotoku/trunk/shotoku-cache/build.xml
   labs/shotoku/trunk/shotoku-cache/cache-admin/build.xml
Log:
Admin boootstrap

Modified: labs/shotoku/trunk/shotoku-cache/build.xml
===================================================================
--- labs/shotoku/trunk/shotoku-cache/build.xml	2007-08-16 08:12:38 UTC (rev 14298)
+++ labs/shotoku/trunk/shotoku-cache/build.xml	2007-08-16 09:45:40 UTC (rev 14299)
@@ -24,6 +24,9 @@
 	<fileset id="jboss.lib.2" dir="${jboss.home}/lib">
 		<include name="**/*.jar"/>
 	</fileset>
+	<fileset id="richfaces.lib" dir="lib/richfaces">
+		<include name="**/*.jar"/>
+	</fileset>
 		
 	<!-- Helper tasks -->
 	<taskdef resource="net/sf/antcontrib/antlib.xml">

Copied: labs/shotoku/trunk/shotoku-cache/cache-admin (from rev 14244, labs/shotoku/trunk/shotoku-cache/cache-web)


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


Modified: labs/shotoku/trunk/shotoku-cache/cache-admin/build.xml
===================================================================
--- labs/shotoku/trunk/shotoku-cache/cache-web/build.xml	2007-08-15 09:46:09 UTC (rev 14244)
+++ labs/shotoku/trunk/shotoku-cache/cache-admin/build.xml	2007-08-16 09:45:40 UTC (rev 14299)
@@ -1,58 +1,64 @@
 <?xml version='1.0' encoding='UTF-8'?>
 
-<project name="JBoss Blog View">
-    <!-- Classpath for building the application: includes all dependency jars -->
-    <path id="base.jars">
-        <fileset refid="portlet.jars" />
-        <fileset refid="jstl.jars" />
-    	<fileset refid="jboss.jars" />
-    </path>
+<project name="Shotoku Cache Admin">
+	<property name="war.name" value="shotoku-cache-admin.war" />
 
-    <!-- BUILD TARGETS -->
+	<!-- Classpath for building the application: includes all dependency jars -->
+	<path id="base.jars">
+		<fileset refid="jboss.lib.1" />
+		<fileset refid="jboss.lib.2" />
+	</path>
 
-    <target name="init">
+	<!-- BUILD TARGETS -->
 
-    </target>
+	<target name="init">
 
-    <!--<target name="copy-libs-for-servlet" unless="jboss.portal.present">
-        <copy todir="${dist.lib.dir}"><fileset refid="myfaces.jars"/></copy>
-        <copy todir="${dist.lib.dir}"><fileset refid="facelets.jars"/></copy>
-    </target>-->
+	</target>
 
-    <target name="build">
-        <mkdir dir="${build}" />
-        <!-- Compiling the source -->
-        <javac srcdir="${src.java}" destdir="${build}" target="1.5" source="1.5">
-            <classpath refid="base.jars" />
-            <!-- Dependency on the blog-common classes -->
-            <classpath path="../blog-common/${build}" />
-        </javac>
-        <!-- Copying any xmls -->
-        <copy todir="${build}">
-            <fileset dir="${src.java}">
-                <include name="**/*.xml"/>
-            </fileset>
-        </copy>
-    </target>
+	<target name="build">
+		<mkdir dir="${build}" />
+		<mkdir dir="${build}/WEB-INF" />
+		<mkdir dir="${build}/WEB-INF/classes" />
 
-    <target name="dist">
-        <mkdir dir="${dist.lib.dir}" />
+		<!-- Compiling the source -->
+		<javac srcdir="${src.java}" destdir="${build}/WEB-INF/classes" target="1.5" source="1.5">
+			<classpath refid="base.jars" />
+			<!-- Dependency on the blog-common classes -->
+			<classpath path="../cache-base/${build}" />
+		</javac>
 
-        <!-- Creating the jar with the classes -->
-        <jar destfile="${dist.lib.dir}/jboss-blog-view.jar" basedir="${build}" />
+		<copy todir="${build}">
+			<fileset dir="${src.web}">
+				<include name="**/*" />
+			</fileset>
+		</copy>
+		
+		<!-- Copying the jars -->
+		<mkdir dir="${build}/WEB-INF/lib" />
+		<copy todir="${build}/WEB-INF/lib">
+			<fileset refid="richfaces.lib" />
+		</copy>
+	</target>
 
-        <!-- Creating the web application -->
-        <mkdir dir="${dist.main.dir}/jboss-blog-view.war" />
-        <copy todir="${dist.main.dir}/jboss-blog-view.war">
-            <fileset dir="${src.web}"><include name="**/*" /></fileset>
-        </copy>
+	<target name="dist">		
+		<mkdir dir="${dist}" />
+		<jar destfile="${dist}/${war.name}" basedir="${build}" />
+	</target>
 
-        <copy todir="${dist.main.dir}/jboss-blog-view.war/WEB-INF/lib"><fileset refid="jstl.jars"/></copy>
-        
-        <!--<antcall target="copy-libs-for-servlet" />-->
-    </target>
+	<target name="clean">
+		<delete dir="${build}" />
+		<delete dir="${dist}" />
+	</target>
 
-    <target name="clean">
-        <delete dir="${build}" />
-    </target>
+	<target name="deploy">
+		<copy todir="${jboss.deploy}">
+			<fileset dir="${dist}">
+				<include name="${war.name}" />
+			</fileset>
+		</copy>
+	</target>
+
+	<target name="undeploy">
+		<delete file="${jboss.deploy}/${war.name}" />
+	</target>
 </project>

Added: labs/shotoku/trunk/shotoku-cache/cache-admin/src/java/org/jboss/shotoku/cache/admin/AdminBean.java
===================================================================
--- labs/shotoku/trunk/shotoku-cache/cache-admin/src/java/org/jboss/shotoku/cache/admin/AdminBean.java	                        (rev 0)
+++ labs/shotoku/trunk/shotoku-cache/cache-admin/src/java/org/jboss/shotoku/cache/admin/AdminBean.java	2007-08-16 09:45:40 UTC (rev 14299)
@@ -0,0 +1,17 @@
+package org.jboss.shotoku.cache.admin;
+
+public class AdminBean {
+	private String testText;
+
+	public String getTestText() {
+		return testText;
+	}
+
+	public void setTestText(String testText) {
+		this.testText = testText;
+	}
+
+	public String getText() {
+		return "Hello world!";
+	}
+}

Added: labs/shotoku/trunk/shotoku-cache/lib/ant-contrib/LICENSE.txt
===================================================================
--- labs/shotoku/trunk/shotoku-cache/lib/ant-contrib/LICENSE.txt	                        (rev 0)
+++ labs/shotoku/trunk/shotoku-cache/lib/ant-contrib/LICENSE.txt	2007-08-16 09:45:40 UTC (rev 14299)
@@ -0,0 +1,47 @@
+/*
+ * The Apache Software License, Version 1.1
+ *
+ * Copyright (c) 2001-2003 Ant-Contrib project.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer. 
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in
+ *    the documentation and/or other materials provided with the
+ *    distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if
+ *    any, must include the following acknowlegement:  
+ *       "This product includes software developed by the 
+ *        Ant-Contrib project (http://sourceforge.net/projects/ant-contrib)."
+ *    Alternately, this acknowlegement may appear in the software itself,
+ *    if and wherever such third-party acknowlegements normally appear.
+ *
+ * 4. The name Ant-Contrib must not be used to endorse or promote products 
+ *    derived from this software without prior written permission. For
+ *    written permission, please contact
+ *    ant-contrib-developers at lists.sourceforge.net.
+ *
+ * 5. Products derived from this software may not be called "Ant-Contrib"
+ *    nor may "Ant-Contrib" appear in their names without prior written
+ *    permission of the Ant-Contrib project.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED.  IN NO EVENT SHALL THE ANT-CONTRIB PROJECT OR ITS
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ */

Added: labs/shotoku/trunk/shotoku-cache/lib/richfaces/ajax4jsf-1.1.1.jar
===================================================================
(Binary files differ)


Property changes on: labs/shotoku/trunk/shotoku-cache/lib/richfaces/ajax4jsf-1.1.1.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: labs/shotoku/trunk/shotoku-cache/lib/richfaces/richfaces-3.0.1.jar
===================================================================
(Binary files differ)


Property changes on: labs/shotoku/trunk/shotoku-cache/lib/richfaces/richfaces-3.0.1.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream




More information about the jboss-svn-commits mailing list