Hi,

On a windows (ant 1.7.0) environment the following works:

<typedef resource="org/apache/maven/artifact/ant/antlib.xml"/>

(The jar file containing the maven ant tasks is located in the
ANT_HOME/libdirectory)

I am using the same build file on an openSUSE linux environment (ant 1.7.0
installed as RPM) . I have installed the jar file in the
~/.ant/libdirectory (see it also listed when i do "ant
-diagnostics"). However the resource is not loaded.
it works when i include the java.class.path for the classpath, like:

<typedef resource="org/apache/maven/artifact/ant/antlib.xml"
classpath="${java.class.path}"/>

Is this correct behaviour?

Tx.,

Raphael

Reply via email to