You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2014/06/24 20:45:07 UTC

svn commit: r1605151 - /ofbiz/trunk/build.xml

Author: doogie
Date: Tue Jun 24 18:45:07 2014
New Revision: 1605151

URL: http://svn.apache.org/r1605151
Log:
Fix breakage with the build, both buildbot and reported on the mailing
list; couldn't create ivy tasks.

Modified:
    ofbiz/trunk/build.xml

Modified: ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=1605151&r1=1605150&r2=1605151&view=diff
==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Tue Jun 24 18:45:07 2014
@@ -22,6 +22,12 @@ under the License.
     xmlns:ivy="antlib:org.apache.ivy.ant"
     xmlns:sonar="antlib:org.sonar.ant:sonar">
 
+    <taskdef uri="antlib:org.apache.ivy.ant" resource="org/apache/ivy/ant/antlib.xml">
+        <classpath>
+            <pathelement location="framework/base/lib/ivy-2.2.0.jar"/>
+        </classpath>
+    </taskdef> 
+
     <import file="macros.xml"/>
     <property name="site.dir" value="../site"/>
     <property name="memory.initial.param" value="-Xms128M"/>



Re: svn commit: r1605151 - /ofbiz/trunk/build.xml

Posted by Adam Heath <do...@brainfood.com>.
There was a taskdef for sonar, but not for ivy.  So, it was pure luck 
that it was actually working.  The ivy installation docs recommend 
manually creating the taskdef.

The issue that made me change all this, was that when the ant lib folder 
is the same as the classpath being used at build time, it seems to fork 
certain external tasks(cobertura in this case). Which then doesn't 
rebuild the entirety of the classpath(lib/asm wasn't added).

On 06/24/2014 01:45 PM, doogie@apache.org wrote:
> Author: doogie
> Date: Tue Jun 24 18:45:07 2014
> New Revision: 1605151
>
> URL: http://svn.apache.org/r1605151
> Log:
> Fix breakage with the build, both buildbot and reported on the mailing
> list; couldn't create ivy tasks.
>
> Modified:
>      ofbiz/trunk/build.xml
>
> Modified: ofbiz/trunk/build.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=1605151&r1=1605150&r2=1605151&view=diff
> ==============================================================================
> --- ofbiz/trunk/build.xml (original)
> +++ ofbiz/trunk/build.xml Tue Jun 24 18:45:07 2014
> @@ -22,6 +22,12 @@ under the License.
>       xmlns:ivy="antlib:org.apache.ivy.ant"
>       xmlns:sonar="antlib:org.sonar.ant:sonar">
>   
> +    <taskdef uri="antlib:org.apache.ivy.ant" resource="org/apache/ivy/ant/antlib.xml">
> +        <classpath>
> +            <pathelement location="framework/base/lib/ivy-2.2.0.jar"/>
> +        </classpath>
> +    </taskdef>
> +
>       <import file="macros.xml"/>
>       <property name="site.dir" value="../site"/>
>       <property name="memory.initial.param" value="-Xms128M"/>
>
>