You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Josh Lucas <jo...@stonecottage.com> on 2000/09/01 01:58:40 UTC

[PATCH] build-velocity.xml

Below is a patch for the Ant xml file.  The patch makes the necessary
changes for an update to the latest verion of Ant.  We currently are
using a pre-release 1.1 version.  There have been many fixes and
adjustments since then.  I've been using the latest from CVS without
problems.

I realize that I don't have a vote but I would like to see us move to a
more recent version of Ant.

Just to be clear, this patch should not be committed until the ant.jar
has been updated.

thanks,
josh


Index: build-velocity.xml
===================================================================
RCS file: /home/cvspublic/jakarta-velocity/build/build-velocity.xml,v
retrieving revision 1.2
diff -u -r1.2 build-velocity.xml
--- build-velocity.xml  2000/08/24 23:02:45     1.2
+++ build-velocity.xml  2000/08/31 23:51:55
@@ -61,7 +61,7 @@
                 includes="test*"
             />                
     
-            <chmod src="${build.dest}/org/apache/velocity/test.sh"
perm="+x"/>
+            <chmod file="${build.dest}/org/apache/velocity/test.sh"
perm="+x"/>
             
     </target>
   
@@ -120,10 +120,10 @@
     <!--
=================================================================== -->
     <target name="docs" depends="init">
        
-        <java 
-            classname="${doc.generator}"
-            args="targetDirectory=${velocity.docs}
${velocity.xdocs}/site-book.xml ${velocity.skin}"
-        />
+        <java classname="${doc.generator}">
+            <arg line="targetDirectory=${velocity.docs}
${velocity.xdocs}/site-book.xml ${velocity.skin}"/>
+       </java>
+        
 
   </target>

Re: [PATCH] build-velocity.xml

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Josh Lucas wrote:
> 
> Below is a patch for the Ant xml file.  The patch makes the necessary
> changes for an update to the latest verion of Ant.  We currently are
> using a pre-release 1.1 version.  There have been many fixes and
> adjustments since then.  I've been using the latest from CVS without
> problems.
> 
> I realize that I don't have a vote but I would like to see us move to a
> more recent version of Ant.
> 
> Just to be clear, this patch should not be committed until the ant.jar
> has been updated.

Sorry for the reply to an old message, but I had to +1 both Josh's
suggestion to moving to a more recent version of Ant, and his patch.  =)