Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: JiBX 1.0
-
Fix Version/s: None
-
Component/s: core
-
Labels:None
-
Environment:Ant 1.6.1, Ant 1.6.1 & Maven 1.0.2, JDK 1.4.2_08, JIBX
-
Number of attachments :
Description
The JIBX bind task definition cannot be loaded using ant taskdef.
The error message produced by Ant is the following:
Taskdef A class needed by class org.jibx.binding.ant.CompileTask cannot be found: org/apache/tools/ant/Task
We have tried putting all the ant libraries on the taskdef classpath, but to no avail.
Attached you will find the build.xml that will allow you to reprodcue the error..
Issue Links
- relates to
-
JIBX-208
CompileTask fails when directory has a space in it
-
This is the reproduction ant build file. Please set jibx.home as a property to point to the jibx installation directory.
<project default="jibx">
<path id="mypath">
{jibx.home}/lib/jibx-bind.jar"/><pathelement location="$
<pathelement location="${jibx.home}
/lib/jibx-run.jar"/>
</path>
<target name="jibx">
{mp}<property name="mp" refid="mypath"/>
<echo message="$
"/>
<taskdef name="jibx"
classname="org.jibx.binding.ant.CompileTask"
classpathref="mypath"/>
</target>
</project>