roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r632848 - in /roller/branches/roller_4.0/sandbox/groovy-renderer: ant.properties build.xml
Date Sun, 02 Mar 2008 21:18:05 GMT
Author: snoopdave
Date: Sun Mar  2 13:18:04 2008
New Revision: 632848

URL: http://svn.apache.org/viewvc?rev=632848&view=rev
Log:
couple more script build tweaks

Modified:
    roller/branches/roller_4.0/sandbox/groovy-renderer/ant.properties
    roller/branches/roller_4.0/sandbox/groovy-renderer/build.xml

Modified: roller/branches/roller_4.0/sandbox/groovy-renderer/ant.properties
URL: http://svn.apache.org/viewvc/roller/branches/roller_4.0/sandbox/groovy-renderer/ant.properties?rev=632848&r1=632847&r2=632848&view=diff
==============================================================================
--- roller/branches/roller_4.0/sandbox/groovy-renderer/ant.properties (original)
+++ roller/branches/roller_4.0/sandbox/groovy-renderer/ant.properties Sun Mar  2 13:18:04
2008
@@ -1,4 +1,5 @@
 
+distfilebase=roller-groovy-4.0
 tools.dir=../../tools
 rollersrc.dir=../../apps/weblogger
 groovy.home=/Applications/Java/groovy

Modified: roller/branches/roller_4.0/sandbox/groovy-renderer/build.xml
URL: http://svn.apache.org/viewvc/roller/branches/roller_4.0/sandbox/groovy-renderer/build.xml?rev=632848&r1=632847&r2=632848&view=diff
==============================================================================
--- roller/branches/roller_4.0/sandbox/groovy-renderer/build.xml (original)
+++ roller/branches/roller_4.0/sandbox/groovy-renderer/build.xml Sun Mar  2 13:18:04 2008
@@ -1,5 +1,5 @@
 
-<project name="roller-groovy-renderers" default="build" basedir=".">
+<project name="roller-groovy-renderers" default="dist" basedir=".">
     <description>Build and bundle Groovy Renderers for Roller</description> 
 
 
     <property file="./ant.properties" />
@@ -21,7 +21,7 @@
         </fileset>                      
     </path>
     
-    <target name="build">        
+    <target name="dist">        
         <mkdir dir="./build/classes" />
         <javac debug="on" destdir="./build/classes">
             <src path="./src" />
@@ -30,21 +30,23 @@
             </classpath>
         </javac>
         <mkdir dir="./dist" />
-        <jar basedir="build/classes" jarfile="./dist/roller-groovy.jar" />
+        <jar basedir="build/classes" jarfile="./dist/${distfilebase}.jar" />
     </target>
     
     <target name="copy-to-roller" >
         <copy todir="../../../build/webapp/WEB-INF/lib">
             <fileset dir="./dist">
-               <include name="roller-groovy.jar" />
+               <include name="${distfilebase}.jar" />
             </fileset>
             <fileset dir="${groovy.home}/embeddable">
                <include name="groovy-all-1.0.jar" />
             </fileset>
         </copy>
-    </target>    
-    <target name="clean">
+    </target>
+    
+    <target name="clean" description="Delete build and dist dirs">
         <delete dir="./build" />
+        <delete dir="./dist" />
     </target>
     
 </project>



Mime
View raw message