ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: "java.lang.ClassCastException: org.apache.tools.ant.types.Path" error after using <ant> task within ant
Date Fri, 22 Sep 2006 12:50:31 GMT
>                <target name="pre">
>                  <echo message="pre-junit"
>                </target>
>
>                <target name="post">
>                </target>

Hmmm, this is baffling indeed. Are the pre and post target above
really empty? If not, do they depend on any properties or references
from the main build you pass in thru <ant>? --DD

PS: Note that your approach to this problem seems a bit wrong to me. I
would have used <import> rather than your combination of <ant> and
<antcall>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message