Error using Ant

View: New views
3 Messages — Rating Filter:   Alert me  

Error using Ant

by Donald McLean :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using 1.7.1 and got this error message:

Could not load definitions from resource
org/apache/tools/ant/antlib.xml. It could not be found.

The build that I'm trying to run is failing for no reason that I can
find. The error message appears to be coming from the first "property"
statement.

<project name="Utilities" default="redeliverdebug" basedir=".">

     <property name="src" value="${basedir}"/>

Any help would be appreciated.

Donald

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


Re: Error using Ant

by Francis Galiegue-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 14, 2009 at 16:23, Donald McLean <dmclean@...> wrote:

> I'm using 1.7.1 and got this error message:
>
> Could not load definitions from resource org/apache/tools/ant/antlib.xml. It
> could not be found.
>
> The build that I'm trying to run is failing for no reason that I can find.
> The error message appears to be coming from the first "property" statement.
>
> <project name="Utilities" default="redeliverdebug" basedir=".">
>
>    <property name="src" value="${basedir}"/>
>
> Any help would be appreciated.
>

No, it doesn't come from here. It comes from the find that you do a
<taskdef> of ant-contrib and don't have ant-contrib in your classpath.

--

Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
fge@...
40 avenue Raymond Poincaré
75116 Paris

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


Re: Error using Ant

by Stefan Bodewig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2009-10-14, Donald McLean <dmclean@...> wrote:

> I'm using 1.7.1 and got this error message:

> Could not load definitions from resource
> org/apache/tools/ant/antlib.xml. It could not be found.

Looks like either an incomplete or mixed up installation.

Try running "ant -diagnostics" to see what Ant itself thinks about its
environment.

Stefan

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