ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Farhdine Boutzakhti <farhdine.boutzak...@calyon.com>
Subject Problem with classpath of taskdef
Date Thu, 25 Jan 2007 16:58:23 GMT
Hi all !

I have a problem of classpath when I use a created task.

See the code:

      <path id="libs">

            <pathelement path="${classpath}"/>

            <pathelement location="${wad.jar}"/>

            <fileset dir="lib">

                  <include name="*.jar" />

            </fileset>

      </path>

 

And:

            <taskdef name="createdTask"
classname="my.path.myCreatedTaskClass">

                  <classpath refid="libs" />

            </taskdef> 

 

But, I got problems on the execution. It has not loaded my JAR files.

Why?

 

Thanks,

Farhdine.


Mime
View raw message