ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphael Parree <rpar...@gmail.com>
Subject (Default) classpath for typedef
Date Tue, 27 Jan 2009 12:32:48 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message