You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Keith Davidson <ke...@metoceanengineers.com> on 2004/03/12 05:53:52 UTC
Non-relative paths using
Hi,
I am trying to use the <javadoc> task, and am finding that destdir and
packageset dir, and some other permutations of ways to define your src and
dest locations, all use relative paths (relative to the build file's base
dir). Is there a way of defining them as absolute? Eg, if I use
<javadoc destdir="${doc}", it actually creates a directory called ${doc}
in my build base directory!!!
Cheers,
Keith.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Non-relative paths using
Posted by Keith Davidson <ke...@metoceanengineers.com>.
At 12:53 PM 12/03/2004, you wrote:
>Hi,
>
>I am trying to use the <javadoc> task, and am finding that destdir and
>packageset dir, and some other permutations of ways to define your src and
>dest locations, all use relative paths (relative to the build file's base
>dir). Is there a way of defining them as absolute? Eg, if I use
><javadoc destdir="${doc}", it actually creates a directory called ${doc}
>in my build base directory!!!
Cancel that, I forgot to add depends="init" for my "javadoc" target, where
"init" defines the ${doc} property.
Keith.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org