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.

Thx a lot
 




Jeffrey E Care wrote:
> 
> krats <princekart...@gmail.com> wrote on 02/19/2010 04:59:00 PM:
> 
>> They are two packages within the same source folder. So does that mean, 
> I
>> cant create a jar for one package and make the other package use it?
> 
> This is really a user-list question but since you're already here...
> 
> Why would you want to invoke the compiler twice? Is there a specific 
> reason why you want to do that?
> 
> There's nothing stopping you from creating separate JAR files if need be 
> but that is not coupled to the manner in which you compile.
> 

-- 
View this message in context: 
http://old.nabble.com/Ant-picks-class-files-from-current-directory-rather-than-provided-jar-in-classpath-tp27658759p27661089.html
Sent from the Ant - Dev mailing list archive at Nabble.com.


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

Reply via email to