You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Frederic Lavigne <fr...@L2FProd.com> on 2000/07/23 21:18:01 UTC

srcdir and sourcepath resolving

Hi,

I encounter some problems when starting a build from a random directory.
I start the build with <path-to-ant>/ant.bat -buildfile
<path-to-build>/build.xml.

When ant resolves the srcdir for Javac or the sourcepath for Javadoc,
it doesn't seem to use the project.resolveFile method

AFAIK, all paths used in ant must be resolved by project.resolveFile(...).

I didn't look at all taskdefs, maybe this happens elsewhere (rmic  task?).

Is it a known bug or am I doing something wrong ?

thanks,

Frederic Lavigne, fred@L2FProd.com
java software at http://www.L2FProd.com


Re: srcdir and sourcepath resolving

Posted by Stefan Bodewig <bo...@bost.de>.
>>>>> "FL" == Frederic Lavigne <fr...@L2FProd.com> writes:

 FL> When ant resolves the srcdir for Javac or the sourcepath for
 FL> Javadoc, it doesn't seem to use the project.resolveFile method

Could you please check with the changes I've just commited? It should
work now.

Stefan