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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

doogie-3
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"/>


Reply | Threaded
Open this post in threaded view
|

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

Adam Heath-2
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, [hidden email] 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"/>
>
>