You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by cr...@apache.org on 2006/01/25 05:03:48 UTC
svn commit: r372097 - /struts/shale/trunk/build.xml
Author: craigmcc
Date: Tue Jan 24 20:03:46 2006
New Revision: 372097
URL: http://svn.apache.org/viewcvs?rev=372097&view=rev
Log:
Add "starter kit" directory structures for creating a new project based on
Shale, using the Shale Blank Starter App structure as a guideline.
Modified:
struts/shale/trunk/build.xml
Modified: struts/shale/trunk/build.xml
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/build.xml?rev=372097&r1=372096&r2=372097&view=diff
==============================================================================
--- struts/shale/trunk/build.xml (original)
+++ struts/shale/trunk/build.xml Tue Jan 24 20:03:46 2006
@@ -813,6 +813,31 @@
</target>
+ <!-- Subtarget of 'release' for a starter project directory structure -->
+ <target name="release.starter">
+
+ <!-- Set up a starter kit project directory structure -->
+ <mkdir dir="${target.dir}/shale-starter"/>
+ <copy todir="${target.dir}/shale-starter">
+ <fileset dir="blank"
+ includes="*.xml default.properties ext lib *.txt src/**"
+ excludes="**/.svn"/>
+ </copy>
+
+ <!-- Publish as a tar.gz and as a zip -->
+ <tar tarfile="${dist.dir}/shale-starter-${project.version}.tar.gz"
+ basedir="${target.dir}"
+ compression="gzip"
+ includes="shale-starter/**"
+ longfile="gnu"/>
+
+ <zip zipfile="${dist.dir}/shale-starter-${project.version}.zip"
+ basedir="${target.dir}"
+ includes="shale-starter/**"/>
+
+ </target>
+
+
<target name="release"
depends="clean-release,
dist.libraries,
@@ -823,7 +848,8 @@
release.15.sources,
release.14.webapps,
release.15.webapps,
- release.dependencies"
+ release.dependencies,
+ release.starter"
description="Construct release artifacts">
<!-- Construct archive files -->
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org