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, doo...@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"/>