Jon,

>    <someCustomTask classpathref="some.path"/>

This attribute of yours, "classpathref" is not a standard attribute:
http://ant.apache.org/manual/Tasks/common.html

> I've been searching for examples or forum posts related to this but everything
> I've found  isn't working.

How about sharing what you've found and what exactly is not working?

// Wolfgang

On Mon, Mar 14, 2011 at 5:50 PM, Jon Svede <jsv...@yahoo.com> wrote:
> Hi,
>
> I have a set of custom tasks that need to be able to load  dependencies from
> <path> element. In my case my tasks may be  defined in <taskdef> declarations 
> or
> via adding the jar file to  the $ANT_HOME/lib dir.
>
> This is what I want to have in the build.xml file:
>
>
> <path name="some.path">
>    <pathelement location="some/local/dir/my.jar"/>
> </path>
>
> <target name="mytarget">
>    <someCustomTask classpathref="some.path"/>
> </target>
>
>
> In this example the task someCustomTask needs to be able to have classes from
> the path 'some.path' to be able to execute.
>
> I've been searching for examples or forum posts related to this but everything
> I've found  isn't working.  Does anyone have a good explanation of this is 
> done
> or are there some docs on this?
>
> Thanks in advance,
>
> Jon
>
>
>



-- 
Wolfgang Häfelinger
häfelinger IT - Applied Software Architecture
http://www.haefelinger.it
+31 648 27 61 59

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

Reply via email to