roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r632853 - in /roller/branches/roller_4.0/sandbox: groovy-adminapi/ant.properties groovy-renderer/ant.properties groovy-renderer/build.xml groovy-renderer/lib/ groovy-renderer/lib/groovy-1.5.4.jar groovy-rollerapi/ant.properties
Date Sun, 02 Mar 2008 21:46:15 GMT
Author: snoopdave
Date: Sun Mar  2 13:46:13 2008
New Revision: 632853

URL: http://svn.apache.org/viewvc?rev=632853&view=rev
Log:
more Groovy scriptng build tweaks

Added:
    roller/branches/roller_4.0/sandbox/groovy-renderer/lib/
    roller/branches/roller_4.0/sandbox/groovy-renderer/lib/groovy-1.5.4.jar   (with props)
Modified:
    roller/branches/roller_4.0/sandbox/groovy-adminapi/ant.properties
    roller/branches/roller_4.0/sandbox/groovy-renderer/ant.properties
    roller/branches/roller_4.0/sandbox/groovy-renderer/build.xml
    roller/branches/roller_4.0/sandbox/groovy-rollerapi/ant.properties

Modified: roller/branches/roller_4.0/sandbox/groovy-adminapi/ant.properties
URL: http://svn.apache.org/viewvc/roller/branches/roller_4.0/sandbox/groovy-adminapi/ant.properties?rev=632853&r1=632852&r2=632853&view=diff
==============================================================================
--- roller/branches/roller_4.0/sandbox/groovy-adminapi/ant.properties (original)
+++ roller/branches/roller_4.0/sandbox/groovy-adminapi/ant.properties Sun Mar  2 13:46:13
2008
@@ -1,4 +1,6 @@
+
+distfilebase=roller-4.0-groovy-rap
+
 builddir=./build
 distdir=./dist
-distfilebase=groovy-adminapi-4.0
-    
+    
\ No newline at end of file

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=632853&r1=632852&r2=632853&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:46:13
2008
@@ -1,5 +1,6 @@
 
-distfilebase=roller-groovy-4.0
+distfilebase=roller-4.0-groovy-renderers
+
 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=632853&r1=632852&r2=632853&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:46:13 2008
@@ -16,33 +16,33 @@
         <fileset dir="${tools.dir}/openjpa-0.9.7">   
             <include name="openjpa-0.9.7-incubating.jar"/>   
         </fileset>
-        <fileset dir="${groovy.home}/lib">
+        <fileset dir="./lib">
             <include name="groovy-1.5.4.jar"/>
         </fileset>                      
     </path>
     
-    <target name="dist">        
+    <target name="build">
         <mkdir dir="./build/classes" />
+        <mkdir dir="./build/${distfilebase}" />
         <javac debug="on" destdir="./build/classes">
             <src path="./src" />
             <classpath>
                 <path refid="scripting.path"/>
             </classpath>
         </javac>
-        <mkdir dir="./dist" />
-        <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="${distfilebase}.jar" />
-            </fileset>
-            <fileset dir="${groovy.home}/embeddable">
-               <include name="groovy-all-1.0.jar" />
-            </fileset>
+        <jar basedir="build/classes" jarfile="./build/${distfilebase}/${distfilebase}.jar"
/>
+        <copy todir="./build/${distfilebase}">
+            <fileset dir="./lib" includes="**" />
         </copy>
     </target>
+    
+    <target name="dist" depends="build" description="Build tar distro file">
+        <mkdir dir="./dist" />
+        <tar destfile="./dist/${distfilebase}.tar.gz"
+             longfile="gnu" compression="gzip">
+            <tarfileset dir="./build/${distfilebase}" />
+        </tar>    
+    </target>  
     
     <target name="clean" description="Delete build and dist dirs">
         <delete dir="./build" />

Added: roller/branches/roller_4.0/sandbox/groovy-renderer/lib/groovy-1.5.4.jar
URL: http://svn.apache.org/viewvc/roller/branches/roller_4.0/sandbox/groovy-renderer/lib/groovy-1.5.4.jar?rev=632853&view=auto
==============================================================================
Binary file - no diff available.

Propchange: roller/branches/roller_4.0/sandbox/groovy-renderer/lib/groovy-1.5.4.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: roller/branches/roller_4.0/sandbox/groovy-rollerapi/ant.properties
URL: http://svn.apache.org/viewvc/roller/branches/roller_4.0/sandbox/groovy-rollerapi/ant.properties?rev=632853&r1=632852&r2=632853&view=diff
==============================================================================
--- roller/branches/roller_4.0/sandbox/groovy-rollerapi/ant.properties (original)
+++ roller/branches/roller_4.0/sandbox/groovy-rollerapi/ant.properties Sun Mar  2 13:46:13
2008
@@ -1,4 +1,6 @@
+
+distfilebase=roller-4.0-groovy-rollerapi
+
 builddir=./build
 distdir=./dist
-distfilebase=groovy-rollerapi-4.0
-    
+    
\ No newline at end of file



Mime
View raw message