Le mercredi 03 janvier 2007 à 00:50 +0000, Henning P. Schmiedehausen a
écrit :
> [EMAIL PROTECTED] writes:
> 
> Hi,
> 
> while I'm basically +1 for the patch (lazy consensus), can you please
> document each of the properties inside build.properties. ATM they seem
> to be self-explanatory but in six months, we might wonder about the
> interactions...

Ok, I'll add details.

> Does the default setting break Gump?

That's a very good question. It's impossible to test that right now
since commons-lang is broken since yesterday. Plus, I'm now worried it
might even be worse: it could not break Gump but only change the way it
works (by not using @@DATE@@ versions of the dependencies). Since there
already are some properties that are present in build.properties and
overridden in Gump's velocity-engine.xml I think it should be ok, but is
there anyway to check that?

By the way, engine test is broken on my box (Linux, Java 1.5.0_06-b05):

Didn't see introspector cache dump.
junit.framework.AssertionFailedError: Didn't see introspector cache
dump.
        at
org.apache.velocity.test.ClassloaderChangeTestCase.testClassloaderChange(ClassloaderChangeTestCase.java:136)



  Claude

>       Best regards
>               Henning
> 
> 
> 
> >Author: cbrisson
> >Date: Tue Jan  2 04:21:11 2007
> >New Revision: 491783
> 
> >URL: http://svn.apache.org/viewvc?view=rev&rev=491783
> >Log:
> >skip.jar.loading and force.jar.loading now have a consistent behaviour 
> >(VELOCITY-502)
> 
> >Modified:
> >    velocity/engine/trunk/build/build.properties
> >    velocity/engine/trunk/build/download.xml
> 
> >Modified: velocity/engine/trunk/build/build.properties
> >URL: 
> >http://svn.apache.org/viewvc/velocity/engine/trunk/build/build.properties?view=diff&rev=491783&r1=491782&r2=491783
> >==============================================================================
> >--- velocity/engine/trunk/build/build.properties (original)
> >+++ velocity/engine/trunk/build/build.properties Tue Jan  2 04:21:11 2007
> >@@ -68,6 +68,10 @@
> > test.haltonerror= true
> > test.haltonfailure= true
> > 
> >+#downloading dependency jars
> >+skip.jar.loading= false
> >+force.jar.loading= true
> >+
> > # Building the distribution
> > dist.root= ${build.dir}/dist
> > dist.dir= ${dist.root}/${final.name}
> 
> >Modified: velocity/engine/trunk/build/download.xml
> >URL: 
> >http://svn.apache.org/viewvc/velocity/engine/trunk/build/download.xml?view=diff&rev=491783&r1=491782&r2=491783
> >==============================================================================
> >--- velocity/engine/trunk/build/download.xml (original)
> >+++ velocity/engine/trunk/build/download.xml Tue Jan  2 04:21:11 2007
> >@@ -45,7 +45,20 @@
> >    <antcall target="junit-download" />
> >   </target>
> > 
> >-  <target name="http-download" unless="skip.jar.loading">
> >+  <target name="http-download">
> >+    <condition property="skip-download">
> >+      <or>
> >+        <istrue value="${skip.jar.loading}"/>
> >+        <and>
> >+          <isfalse value="${force.jar.loading}"/>
> >+          <available 
> >file="${build.lib}/${download.jarname}-${download.jarversion}.jar"/>
> >+        </and>
> >+      </or>
> >+    </condition>
> >+    <antcall target="do-http-download"/>
> >+  </target>
> >+
> >+  <target name="do-http-download" unless="skip-download">
> >     <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"/>
> >     <get 
> > src="${repo.url}/${download.jarname}/jars/${download.jarname}-${download.jarversion}.jar"
> >          dest="${build.lib}/${download.jarname}-${download.jarversion}.jar"
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to