Author: craigmcc
Date: Sat Jul 30 21:53:03 2005
New Revision: 226607

URL: http://svn.apache.org/viewcvs?rev=226607&view=rev
Log:
Add a "release" target to the top-level build script.

Up the default project version to "1.0.0-dev"

Modified:
    struts/shale/trunk/build.xml
    struts/shale/trunk/default.properties

Modified: struts/shale/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/build.xml?rev=226607&r1=226606&r2=226607&view=diff
==============================================================================
--- struts/shale/trunk/build.xml (original)
+++ struts/shale/trunk/build.xml Sat Jul 30 21:53:03 2005
@@ -486,6 +486,80 @@
   </target>
 
 
+  <!-- ====================== Release Targets ============================== 
-->
+
+
+  <target        name="release"
+          description="Construct release artifacts">
+
+    <echo     message="---------- Create Release Artifacts For Version 
${project.version} ----------"/>
+
+    <!-- Construct overall release directory -->
+    <delete       dir="shale-framework-${project.version}"/>
+    <mkdir        dir="shale-framework-${project.version}"/>
+    <mkdir        dir="shale-framework-${project.version}/lib"/>
+    <mkdir        dir="shale-framework-${project.version}/webapps"/>
+
+    <!-- Copy clay-plugin artifacts -->
+    <mkdir        dir="shale-framework-${project.version}/clay-plugin"/>
+    <copy       todir="shale-framework-${project.version}/clay-plugin">
+      <fileset    dir="clay-plugin/dist"
+             excludes="lib/**"/>
+    </copy>
+    <copy       todir="shale-framework-${project.version}/lib">
+      <fileset    dir="clay-plugin/dist/lib"
+             includes="*.jar"/>
+    </copy>
+
+    <!-- Copy core-library artifacts -->
+    <mkdir        dir="shale-framework-${project.version}/core-library"/>
+    <copy       todir="shale-framework-${project.version}/core-library">
+      <fileset    dir="core-library/dist"
+             excludes="lib/**"/>
+    </copy>
+    <copy       todir="shale-framework-${project.version}/lib">
+      <fileset    dir="core-library/dist/lib"
+             includes="*.jar"/>
+    </copy>
+
+    <!-- Copy test-framework artifacts -->
+    <mkdir        dir="shale-framework-${project.version}/test-framework"/>
+    <copy       todir="shale-framework-${project.version}/test-framework">
+      <fileset    dir="test-framework/dist"
+             excludes="lib/**"/>
+    </copy>
+    <copy       todir="shale-framework-${project.version}/lib">
+      <fileset    dir="test-framework/dist/lib"
+             includes="*.jar"/>
+    </copy>
+
+    <!-- Copy use-cases artifacts -->
+    <mkdir        dir="shale-framework-${project.version}/use-cases"/>
+    <copy       todir="shale-framework-${project.version}/use-cases">
+      <fileset    dir="use-cases/dist"
+             excludes="**/*.war"/>
+    </copy>
+    <copy       todir="shale-framework-${project.version}/webapps">
+      <fileset    dir="use-cases/dist"
+             includes="**/*.war"/>
+    </copy>
+
+    <!-- Construct archive files -->
+    <delete      file="shale-framework-${project.version}.tar.gz"/>
+    <tar      tarfile="shale-framework-${project.version}.tar.gz"
+              basedir="${basedir}"
+             includes="shale-framework-${project.version}/**"
+          compression="gzip"
+             longfile="gnu"/>
+    <delete      file="shale-framework-${project.version}.zip"/>
+    <zip     destfile="shale-framework-${project.version}.zip"
+              basedir="${basedir}"
+             includes="shale-framework-${project.version}/**"/>
+    
+
+  </target>
+
+
   <!-- ==================== Internal Targets =============================== 
-->
 
 

Modified: struts/shale/trunk/default.properties
URL: 
http://svn.apache.org/viewcvs/struts/shale/trunk/default.properties?rev=226607&r1=226606&r2=226607&view=diff
==============================================================================
--- struts/shale/trunk/default.properties (original)
+++ struts/shale/trunk/default.properties Sat Jul 30 21:53:03 2005
@@ -22,7 +22,7 @@
 
 # Version Identifier to append to artifact filenames, and embed in
 # JavaDoc comments
-project.version=0.2
+project.version=1.0.0-dev
 
 # Location in which state saving should take place (client or server)
 state.saving=client



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to