krats <[email protected]> wrote on 02/19/2010 05:17:33 PM:
> I am sorry about that. Dint know it was a user-list question. But we
have a
> common src folder starting with package structure com.company_name and
> subpackages within that maintained by different groups.
> I might be wrong but I think it is a genuine requirement that I should
be
> able to tell ant to first check a jar I am providing (which in my case
would
> be jar of package com.company_name.f1 for example) to locate the imports
> rather than check the source folder first. I was just wondering if
theres a
> way to force ant to check provided jars first.
Assuming I've understood your scenario correctly the docs for javac are
very clear:
"Note: Classes found through the classpath may be subject to automatic
recompilation if their sources are also found."
If you want separation, for whatever purpose, then have separate source
trees.