You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by nb...@apache.org on 2006/12/14 20:56:08 UTC

svn commit: r487325 - in /velocity/tools/trunk: build.properties build.xml download.xml examples.xml

Author: nbubna
Date: Thu Dec 14 11:56:08 2006
New Revision: 487325

URL: http://svn.apache.org/viewvc?view=rev&rev=487325
Log:
- upgrade dependencies for Struts 1.3.x series
- separate example runtime deps from compile time deps
- upgrade ant download targets to work with and use maven2 repo
- misc other updates to build system

Modified:
    velocity/tools/trunk/build.properties
    velocity/tools/trunk/build.xml
    velocity/tools/trunk/download.xml
    velocity/tools/trunk/examples.xml

Modified: velocity/tools/trunk/build.properties
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/build.properties?view=diff&rev=487325&r1=487324&r2=487325
==============================================================================
--- velocity/tools/trunk/build.properties (original)
+++ velocity/tools/trunk/build.properties Thu Dec 14 11:56:08 2006
@@ -85,11 +85,14 @@
 
 # We download directly from the ibiblio maven repository
 #
-repo.url= http://www.ibiblio.org/maven
+#repo.url= http://www.ibiblio.org/maven
+repo.url= http://mirrors.ibiblio.org/pub/mirrors/maven2
 
 # Jars to be downloaded for compilation
 #
+jar.antlr.version= 2.7.2
 jar.commons-beanutils.version= 1.7.0
+jar.commons-chain.version= 1.1
 jar.commons-collections.version= 3.2
 jar.commons-digester.version= 1.7
 jar.commons-lang.version= 2.2
@@ -98,7 +101,9 @@
 jar.oro.version= 2.0.8
 jar.servletapi.version= 2.3
 jar.sslext.version = 1.2-0
-jar.struts.version = 1.2.9
+jar.struts-core.version = 1.3.5
+jar.struts-taglib.version = 1.3.5
+jar.struts-tiles.version = 1.3.5
 jar.velocity.version= 1.4
 
 # Jars to be downloaded for building documentation
@@ -107,14 +112,18 @@
 jar.velocity-dvsl.version= 0.43
 
 # Full paths to the jars for building the examples
+antlr.jar=${lib.dir}/antlr-${jar.antlr.version}.jar
 commons-beanutils.jar=${lib.dir}/commons-beanutils-${jar.commons-beanutils.version}.jar
+commons-chain.jar=${lib.dir}/commons-chain-${jar.commons-chain.version}.jar
 commons-collections.jar=${lib.dir}/commons-collections-${jar.commons-collections.version}.jar
 commons-digester.jar=${lib.dir}/commons-digester-${jar.commons-digester.version}.jar
 commons-lang.jar=${lib.dir}/commons-lang-${jar.commons-lang.version}.jar
 commons-logging.jar=${lib.dir}/commons-logging-${jar.commons-logging.version}.jar
 commons-validator.jar=${lib.dir}/commons-validator-${jar.commons-validator.version}.jar
 servlet.jar=${lib.dir}/servletapi-${jar.servletapi.version}.jar
-struts.jar=${lib.dir}/struts-${jar.struts.version}.jar
+struts-core.jar=${lib.dir}/struts-core-${jar.struts-core.version}.jar
+struts-taglib.jar=${lib.dir}/struts-taglib-${jar.struts-taglib.version}.jar
+struts-tiles.jar=${lib.dir}/struts-tiles-${jar.struts-tiles.version}.jar
 sslext.jar=${lib.dir}/sslext-${jar.sslext.version}.jar
 oro.jar=${lib.dir}/oro-${jar.oro.version}.jar
 velocity.jar=${lib.dir}/velocity-${jar.velocity.version}.jar

Modified: velocity/tools/trunk/build.xml
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/build.xml?view=diff&rev=487325&r1=487324&r2=487325
==============================================================================
--- velocity/tools/trunk/build.xml (original)
+++ velocity/tools/trunk/build.xml Thu Dec 14 11:56:08 2006
@@ -93,35 +93,21 @@
     <delete dir="${docs.dir}"/>
   </target>
 
-  <!-- To do a truly, completely clean build -->
-  <target name="clean.lib" description="Deletes the folder of downloaded dependencies">
+  <!-- To do a truly, completely clean build, include this target -->
+  <target name="clean.lib"
+          unless="skip.jar.loading"
+          description="Deletes the folder of downloaded dependencies">
     <delete dir="${lib.dir}"/>
   </target>
 
 
   <!-- Prepare Environment -->
-  <target name="prepare" depends="prepare.build,prepare.docs">
-    <!-- make necessary directories -->
-    <mkdir dir="${build.dir}"/>
-    <mkdir dir="${lib.dir}" />
-    <mkdir dir="${classes.dir}"/>
-    <mkdir dir="${dist.dir}"/>
-
-    <!-- download dependency jars -->
-    <ant antfile="${velocity.build.dir}/download.xml" target="build-download" />
-
-    <!-- construct classpath of all jars in lib repository -->
-    <path id="build.classpath">
-    <fileset dir="${lib.dir}">
-        <include name="**/*.jar"/>
-    </fileset>
-    </path>
+  <target name="prepare" depends="prepare.compile,prepare.docs,prepare.examples">
+    <echo message="-------- ${project.name} ${project.version} --------"/>
   </target>
 
-  <!-- Prepare Build Environment -->
-  <target name="prepare.build">
-    <echo message="-------- ${project.name} ${project.version} --------"/>
-    
+  <!-- Prepare Compilation Environment -->
+  <target name="prepare.compile">
     <!-- make necessary directories -->
     <mkdir dir="${build.dir}"/>
     <mkdir dir="${lib.dir}" />
@@ -129,10 +115,10 @@
     <mkdir dir="${dist.dir}"/>
 
     <!-- download dependency jars -->
-    <ant antfile="${basedir}/download.xml" target="build-download" />
+    <ant antfile="${basedir}/download.xml" target="compile-download" />
 
     <!-- construct classpath of all jars in lib repository -->
-    <path id="build.classpath">
+    <path id="compile.classpath">
     <fileset dir="${lib.dir}">
         <include name="**/*.jar"/>
     </fileset>
@@ -151,21 +137,23 @@
     <path id="docs.classpath">
     <fileset dir="${lib.dir}">
         <include name="**/*.jar"/>
-        <!--include name="dom4j*.jar"/>
-        <include name="commons-collections*.jar"/>
-        <include name="oro*.jar"/>
-        <include name="velocity*.jar"/-->
     </fileset>
     </path>
   </target>
 
+  <!-- Prepare Examples Environment -->
+  <target name="prepare.examples">
+    <!-- download dependency jars -->
+    <ant antfile="${basedir}/download.xml" target="examples-download" />
+  </target>
+
 
   <!-- Compile VelocityTools (all of it) -->
   <target name="compile" depends="compile.struts"
           description="Compiles the Velocity-Tools project (struts, view and generic)"/>
 
   <!-- Compile VelocityStruts (struts, view, generic) -->
-  <target name="compile.struts" depends="prepare.build"
+  <target name="compile.struts" depends="prepare.compile"
           description="Compiles the Velocity-Tools project (struts, view, and generic)">
     <javac srcdir="${classes.src}"
            debug="${compile.debug}"
@@ -173,7 +161,7 @@
            deprecation="${compile.deprecation}"
            encoding="${compile.encoding}"
            destdir="${classes.dir}">
-      <classpath refid="build.classpath" />
+      <classpath refid="compile.classpath" />
       <include name="org/**"/>
     </javac>
 
@@ -185,7 +173,7 @@
   </target>
 
   <!-- Compile Just VelocityView (view, generic) -->
-  <target name="compile.view" depends="prepare.build"
+  <target name="compile.view" depends="prepare.compile"
           description="Compiles VelocityView and the generic tools">
     <javac srcdir="${classes.src}"
            debug="${compile.debug}"
@@ -193,7 +181,7 @@
            deprecation="${compile.deprecation}"
            encoding="${compile.encoding}"
            destdir="${classes.dir}">
-      <classpath refid="build.classpath" />
+      <classpath refid="compile.classpath" />
       <include name="org/**"/>
       <exclude name="**/struts/**"/>
     </javac>
@@ -206,7 +194,7 @@
   </target>
 
   <!-- Compile Just Generic Tools (generic) -->
-  <target name="compile.generic" depends="prepare.build"
+  <target name="compile.generic" depends="prepare.compile"
           description="Compiles just the generic tools in this project">
     <javac srcdir="${classes.src}"
            debug="${compile.debug}"
@@ -214,7 +202,7 @@
            deprecation="${compile.deprecation}"
            encoding="${compile.encoding}"
            destdir="${classes.dir}">
-      <classpath refid="build.classpath" />
+      <classpath refid="compile.classpath" />
       <include name="org/**"/>
       <exclude name="**/struts/**"/>
       <exclude name="**/view/**"/>
@@ -324,7 +312,7 @@
              windowtitle="${javadoc.title}"
              bottom="Copyright (c) ${javadoc.year} Apache Software Foundation" >
 
-      <classpath refid="build.classpath"/>
+      <classpath refid="compile.classpath"/>
       <sourcepath>
         <pathelement path="${classes.src}" />
       </sourcepath>
@@ -370,27 +358,27 @@
 
 
   <!-- Build all example applications -->
-  <target name="examples" depends="jar.view,jar.struts"
+  <target name="examples" depends="jar.view,jar.struts,prepare.examples"
           description="Compiles and jars all example applications.">
     <ant antfile="${basedir}/examples.xml" target="build-examples" />
   </target>
 
   <!-- Build VelocityView - Simple application -->
-  <target name="simple" depends="jar.view"
+  <target name="simple" depends="jar.view,prepare.examples"
           description="Compiles and jars the VelocityView example application.">
     <property name="target" value="war"/>
     <ant antfile="${basedir}/examples.xml" target="simple-example" />
   </target>
 
   <!-- Build VelocityView - Showcase application -->
-  <target name="showcase" depends="jar.view"
+  <target name="showcase" depends="jar.view,prepare.examples"
           description="Compiles and jars the VelocityView Showcase example application.">
     <property name="target" value="war"/>
     <ant antfile="${basedir}/examples.xml" target="showcase-example" />
   </target>
 
   <!-- Build VelocityStruts example application -->
-  <target name="struts" depends="jar.struts"
+  <target name="struts" depends="jar.struts,prepare.examples"
           description="Compiles and jars the VelocityStruts example application.">
     <property name="target" value="war"/>
     <ant antfile="${basedir}/examples.xml" target="struts-example" />
@@ -437,7 +425,7 @@
 
   <!-- Create binary distribution files -->
   <target name="release.binaries"
-          depends="clean.lib,jar.struts,jar.view,jar.generic,examples,javadoc,docs"
+          depends="clean,clean.lib,prepare,jar.struts,jar.view,jar.generic,examples,javadoc,docs"
           description="Builds everything and creates the binary distribution files">
 
     <!-- Gather misc docs/files -->

Modified: velocity/tools/trunk/download.xml
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/download.xml?view=diff&rev=487325&r1=487324&r2=487325
==============================================================================
--- velocity/tools/trunk/download.xml (original)
+++ velocity/tools/trunk/download.xml Thu Dec 14 11:56:08 2006
@@ -28,10 +28,23 @@
 -->
 
 <project name="VelocityTools" basedir=".">
-  <target name="build-download"
-          description="Download all dependencies needed to build VelocityTools from the central repository">
-    <antcall target="commons-beanutils-download" />
+
+  <!-- Download Control Tasks -->
+
+  <target name="full-download"
+          depends="base-download,compile-download,docs-download,examples-download"
+          description="Download all dependencies needed for a full VelocityTools build from the central repository"/>
+
+  <target name="base-download"
+          description="Download dependencies needed to do anything with VelocityTools from the central repository">
     <antcall target="commons-collections-download" />
+    <antcall target="velocity-download" />
+  </target>
+
+  <target name="compile-download"
+          depends="base-download"
+          description="Download dependencies needed to compile VelocityTools from the central repository">
+    <antcall target="commons-beanutils-download" />
     <antcall target="commons-digester-download" />
     <antcall target="commons-lang-download" />
     <antcall target="commons-logging-download" />
@@ -39,23 +52,32 @@
     <antcall target="oro-download" />
     <antcall target="servletapi-download" />
     <antcall target="sslext-download" />
-    <antcall target="struts-download" />
-    <antcall target="velocity-download" />
+    <antcall target="struts-core-download" />
+    <antcall target="struts-tiles-download" />
+    <antcall target="struts-taglib-download" />
   </target>
 
   <target name="docs-download"
-          description="Download all dependencies needed to render VelocityTools documentation from the central repository">
+          depends="base-download"
+          description="Download dependencies needed to render VelocityTools documentation from the central repository">
     <antcall target="dom4j-download" />
-    <antcall target="commons-collections-download" />
-    <antcall target="velocity-download" />
     <antcall target="velocity-dvsl-download" />
   </target>
 
+  <target name="examples-download"
+          description="Download dependencies needed to use the VelocityTools example applications from the central repository">
+    <antcall target="antlr-download" />
+    <antcall target="commons-chain-download" />
+  </target>
+
+
+  <!--  Basic Download Tasks -->
+
   <target name="http-download" unless="skip.jar.loading">
     <condition property="jar.present">
       <and>
         <isfalse value="${force.jar.loading}"/>
-        <available file="${lib.dir}/${download.jarname}-${download.jarversion}.jar"/>
+        <available file="${lib.dir}/${download.name}-${download.version}.jar"/>
       </and>
     </condition>
     <antcall target="do-http-download"/>
@@ -63,8 +85,8 @@
 
   <target name="do-http-download" unless="jar.present">
     <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"/>
-    <get src="${repo.url}/${download.jarname}/jars/${download.jarname}-${download.jarversion}.jar"
-         dest="${lib.dir}/${download.jarname}-${download.jarversion}.jar"
+    <get src="${repo.url}/${download.path}/${download.name}-${download.version}.jar"
+         dest="${lib.dir}/${download.name}-${download.version}.jar"
          usetimestamp="false"
          verbose="false"
          ignoreerrors="false" />
@@ -74,7 +96,7 @@
     <condition property="jar.present">
       <and>
         <isfalse value="${force.jar.loading}"/>
-        <available file="${lib.test.dir}/${download.jarname}-${download.jarversion}.jar"/>
+        <available file="${lib.test.dir}/${download.name}-${download.version}.jar"/>
       </and>
     </condition>
     <antcall target="do-http-test-download"/>
@@ -82,88 +104,139 @@
 
   <target name="do-http-test-download" unless="jar.present">
     <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"/>
-    <get src="${repo.url}/${download.jarname}/jars/${download.jarname}-${download.jarversion}.jar"
-         dest="${lib.test.dir}/${download.jarname}-${download.jarversion}.jar"
+    <get src="${repo.url}/${download.path}/${download.name}-${download.version}.jar"
+         dest="${lib.test.dir}/${download.name}-${download.version}.jar"
          usetimestamp="false"
          verbose="false"
          ignoreerrors="false" />
   </target>
 
+
+  <!--  Dependency Download Tasks -->
+
+  <target name="antlr-download">
+    <property name="download.name" value="antlr" />
+    <property name="download.version" value="${jar.antlr.version}" />
+    <property name="download.path" value="${download.name}/${download.name}/${download.version}" />
+    <antcall target="http-download"/>
+  </target>
+
   <target name="commons-beanutils-download">
-    <property name="download.jarname" value="commons-beanutils" />
-    <property name="download.jarversion" value="${jar.commons-beanutils.version}" />
+    <property name="download.name" value="commons-beanutils" />
+    <property name="download.version" value="${jar.commons-beanutils.version}" />
+    <property name="download.path" value="${download.name}/${download.name}/${download.version}" />
+    <antcall target="http-download"/>
+  </target>
+
+  <target name="commons-chain-download">
+    <property name="download.name" value="commons-chain" />
+    <property name="download.version" value="${jar.commons-chain.version}" />
+    <property name="download.path" value="${download.name}/${download.name}/${download.version}" />
     <antcall target="http-download"/>
   </target>
 
   <target name="commons-collections-download">
-    <property name="download.jarname" value="commons-collections" />
-    <property name="download.jarversion" value="${jar.commons-collections.version}" />
+    <property name="download.name" value="commons-collections" />
+    <property name="download.version" value="${jar.commons-collections.version}" />
+    <property name="download.path" value="${download.name}/${download.name}/${download.version}" />
     <antcall target="http-download"/>
   </target>
 
   <target name="commons-digester-download">
-    <property name="download.jarname" value="commons-digester" />
-    <property name="download.jarversion" value="${jar.commons-digester.version}" />
+    <property name="download.name" value="commons-digester" />
+    <property name="download.version" value="${jar.commons-digester.version}" />
+    <property name="download.path" value="${download.name}/${download.name}/${download.version}" />
     <antcall target="http-download"/>
   </target>
 
   <target name="commons-lang-download">
-    <property name="download.jarname" value="commons-lang" />
-    <property name="download.jarversion" value="${jar.commons-lang.version}" />
+    <property name="download.name" value="commons-lang" />
+    <property name="download.version" value="${jar.commons-lang.version}" />
+    <property name="download.path" value="${download.name}/${download.name}/${download.version}" />
     <antcall target="http-download"/>
   </target>
 
   <target name="commons-logging-download">
-    <property name="download.jarname" value="commons-logging" />
-    <property name="download.jarversion" value="${jar.commons-logging.version}" />
+    <property name="download.name" value="commons-logging" />
+    <property name="download.version" value="${jar.commons-logging.version}" />
+    <property name="download.path" value="${download.name}/${download.name}/${download.version}" />
     <antcall target="http-download"/>
   </target>
 
   <target name="commons-validator-download">
-    <property name="download.jarname" value="commons-validator" />
-    <property name="download.jarversion" value="${jar.commons-validator.version}" />
+    <property name="download.name" value="commons-validator" />
+    <property name="download.version" value="${jar.commons-validator.version}" />
+    <property name="download.path" value="${download.name}/${download.name}/${download.version}" />
     <antcall target="http-download"/>
   </target>
 
   <target name="dom4j-download">
-    <property name="download.jarname" value="dom4j" />
-    <property name="download.jarversion" value="${jar.dom4j.version}" />
+    <property name="download.name" value="dom4j" />
+    <property name="download.version" value="${jar.dom4j.version}" />
+    <property name="download.path" value="${download.name}/${download.name}/${download.version}" />
     <antcall target="http-download"/>
   </target>
 
   <target name="oro-download">
-    <property name="download.jarname" value="oro" />
-    <property name="download.jarversion" value="${jar.oro.version}" />
+    <property name="download.name" value="oro" />
+    <property name="download.version" value="${jar.oro.version}" />
+    <property name="download.path" value="${download.name}/${download.name}/${download.version}" />
     <antcall target="http-download"/>
   </target>
 
   <target name="servletapi-download">
-    <property name="download.jarname" value="servletapi" />
-    <property name="download.jarversion" value="${jar.servletapi.version}" />
+    <property name="download.name" value="servletapi" />
+    <property name="download.version" value="${jar.servletapi.version}" />
+    <property name="download.path" value="${download.name}/${download.name}/${download.version}" />
     <antcall target="http-download"/>
   </target>
 
   <target name="sslext-download">
-    <property name="download.jarname" value="sslext" />
-    <property name="download.jarversion" value="${jar.sslext.version}" />
+    <property name="download.name" value="sslext" />
+    <property name="download.version" value="${jar.sslext.version}" />
+    <property name="download.path" value="${download.name}/${download.name}/${download.version}" />
     <antcall target="http-download"/>
   </target>
 
   <target name="struts-download">
-    <property name="download.jarname" value="struts" />
-    <property name="download.jarversion" value="${jar.struts.version}" />
+    <property name="download.name" value="struts" />
+    <property name="download.version" value="${jar.struts.version}" />
+    <property name="download.path" value="org/apache/struts/struts-parent/${download.version}" />
+    <antcall target="http-download"/>
+  </target>
+
+  <target name="struts-core-download">
+    <property name="download.name" value="struts-core" />
+    <property name="download.version" value="${jar.struts-core.version}" />
+    <property name="download.path" value="org/apache/struts/${download.name}/${download.version}" />
+    <antcall target="http-download"/>
+  </target>
+
+  <target name="struts-taglib-download">
+    <property name="download.name" value="struts-taglib" />
+    <property name="download.version" value="${jar.struts-taglib.version}" />
+    <property name="download.path" value="org/apache/struts/${download.name}/${download.version}" />
+    <antcall target="http-download"/>
+  </target>
+
+  <target name="struts-tiles-download">
+    <property name="download.name" value="struts-tiles" />
+    <property name="download.version" value="${jar.struts-tiles.version}" />
+    <property name="download.path" value="org/apache/struts/${download.name}/${download.version}" />
     <antcall target="http-download"/>
   </target>
 
   <target name="velocity-download">
-    <property name="download.jarname" value="velocity" />
-    <property name="download.jarversion" value="${jar.velocity.version}" />
+    <property name="download.name" value="velocity" />
+    <property name="download.version" value="${jar.velocity.version}" />
+    <property name="download.path" value="${download.name}/${download.name}/${download.version}" />
     <antcall target="http-download"/>
   </target>
 
   <target name="velocity-dvsl-download">
-    <property name="download.jarname" value="velocity-dvsl" />
-    <property name="download.jarversion" value="${jar.velocity-dvsl.version}" />
+    <property name="download.name" value="velocity-dvsl" />
+    <property name="download.version" value="${jar.velocity-dvsl.version}" />
+    <property name="download.path" value="${download.name}/${download.name}/${download.version}" />
     <antcall target="http-download"/>
   </target>
 

Modified: velocity/tools/trunk/examples.xml
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/examples.xml?view=diff&rev=487325&r1=487324&r2=487325
==============================================================================
--- velocity/tools/trunk/examples.xml (original)
+++ velocity/tools/trunk/examples.xml Thu Dec 14 11:56:08 2006
@@ -80,7 +80,9 @@
   </target>
   <target name="struts-dependencies">
     <copy todir="${lib}" file="${dist.dir}/${struts.id}.jar"/>
+    <copy todir="${lib}" file="${antlr.jar}"/>
     <copy todir="${lib}" file="${commons-beanutils.jar}"/>
+    <copy todir="${lib}" file="${commons-chain.jar}"/>
     <copy todir="${lib}" file="${commons-collections.jar}"/>
     <copy todir="${lib}" file="${commons-digester.jar}"/>
     <copy todir="${lib}" file="${commons-lang.jar}"/>
@@ -88,7 +90,9 @@
     <copy todir="${lib}" file="${commons-validator.jar}"/>
     <copy todir="${lib}" file="${servlet.jar}"/>
     <copy todir="${lib}" file="${sslext.jar}"/>
-    <copy todir="${lib}" file="${struts.jar}"/>
+    <copy todir="${lib}" file="${struts-core.jar}"/>
+    <copy todir="${lib}" file="${struts-taglib.jar}"/>
+    <copy todir="${lib}" file="${struts-tiles.jar}"/>
     <copy todir="${lib}" file="${oro.jar}"/>
     <copy todir="${lib}" file="${velocity.jar}"/>
   </target>



Re: svn commit: r487325 - in /velocity/tools/trunk: build.properties build.xml

Posted by Henning Schmiedehausen <hp...@intermeta.de>.
Struts worked find, but commons-chain went missing. I just added it.

	Best regards
		Henning

Nathan Bubna schrieb:
> On 12/15/06, Henning P. Schmiedehausen <hp...@intermeta.de> wrote:
>> nbubna@apache.org writes:
>>
>> >- upgrade dependencies for Struts 1.3.x series
>> >- separate example runtime deps from compile time deps
>> >- upgrade ant download targets to work with and use maven2 repo
>> >- misc other updates to build system
>>
>> Very nice. The struts Gump build BTW is broken beyond repair so I've
>> given up here ATM and kept it running with packaged-struts (which
>> probably now broke velocity-tools because you now require three
>> jars. I will fix it sometime over the weekend.
> 
> Since you didn't get to it yet, i took the liberty of attempting to
> fix it myself.  I dropped the antlr dependency since we didn't really
> need it and pointed the struts-core.jar, struts-taglib.jar, and
> struts-tiles.jar all at the packaged-struts jar.  I don't know if this
> will actually make Gumps ant run succeed, and i doubt that the example
> struts.war produced by Gump's ant build will be fully functional, if
> that matters.
> 
> The other option might be to just point at the "jar" target instead of
> the "all" target, but i wouldn't want to leave it that way long term.
> Hopefully someone will update Gump's struts.xml to work with Struts
> 1.3.5's multiple artifacts.
> 
>> velocity-tools builds fine BTW with JDK 6.
> 
> cool. :)
> 
>>         Best regards
>>                 Henning
>> -- 
>> Henning P. Schmiedehausen  -- hps@intermeta.de | J2EE, Linux,
>> 91054 Buckenhof, Germany   -- +49 9131 506540 | Apache person
>> Open Source Consulting, Development, Design | Velocity - Turbine guy
>>
>>           "Save the cheerleader. Save the world."
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
>> For additional commands, e-mail: dev-help@velocity.apache.org
>>
>>

-- 
Henning P. Schmiedehausen  -- hps@intermeta.de | J2EE, Linux
91054 Buckenhof, Germany   -- +49 9131 506540  | Apache person
Open Source Consulting, Development, Design    | Velocity - Turbine

	  "Save the cheerleader. Save the world."

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


Re: svn commit: r487325 - in /velocity/tools/trunk: build.properties build.xml

Posted by Nathan Bubna <nb...@gmail.com>.
On 12/15/06, Henning P. Schmiedehausen <hp...@intermeta.de> wrote:
> nbubna@apache.org writes:
>
> >- upgrade dependencies for Struts 1.3.x series
> >- separate example runtime deps from compile time deps
> >- upgrade ant download targets to work with and use maven2 repo
> >- misc other updates to build system
>
> Very nice. The struts Gump build BTW is broken beyond repair so I've
> given up here ATM and kept it running with packaged-struts (which
> probably now broke velocity-tools because you now require three
> jars. I will fix it sometime over the weekend.

Since you didn't get to it yet, i took the liberty of attempting to
fix it myself.  I dropped the antlr dependency since we didn't really
need it and pointed the struts-core.jar, struts-taglib.jar, and
struts-tiles.jar all at the packaged-struts jar.  I don't know if this
will actually make Gumps ant run succeed, and i doubt that the example
struts.war produced by Gump's ant build will be fully functional, if
that matters.

The other option might be to just point at the "jar" target instead of
the "all" target, but i wouldn't want to leave it that way long term.
Hopefully someone will update Gump's struts.xml to work with Struts
1.3.5's multiple artifacts.

> velocity-tools builds fine BTW with JDK 6.

cool. :)

>         Best regards
>                 Henning
> --
> Henning P. Schmiedehausen  -- hps@intermeta.de | J2EE, Linux,
> 91054 Buckenhof, Germany   -- +49 9131 506540 | Apache person
> Open Source Consulting, Development, Design | Velocity - Turbine guy
>
>           "Save the cheerleader. Save the world."
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
> For additional commands, e-mail: dev-help@velocity.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


Re: svn commit: r487325 - in /velocity/tools/trunk: build.properties build.xml

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
nbubna@apache.org writes:

>- upgrade dependencies for Struts 1.3.x series
>- separate example runtime deps from compile time deps
>- upgrade ant download targets to work with and use maven2 repo
>- misc other updates to build system

Very nice. The struts Gump build BTW is broken beyond repair so I've
given up here ATM and kept it running with packaged-struts (which
probably now broke velocity-tools because you now require three
jars. I will fix it sometime over the weekend.

velocity-tools builds fine BTW with JDK 6.

	Best regards
		Henning
-- 
Henning P. Schmiedehausen  -- hps@intermeta.de | J2EE, Linux,
91054 Buckenhof, Germany   -- +49 9131 506540 | Apache person
Open Source Consulting, Development, Design | Velocity - Turbine guy

          "Save the cheerleader. Save the world."

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org