Ant picks class files from current directory rather than provided jar in classpath

2010-02-19 Thread krats
I have the following folder structure src___f1 | |__ f1.java | |__f2 |_f2.java lib__f1.jar I built a jar out of f1.java and placed it in lib\f1.jar. Now my javac task for f2 is as below When I run the task I wo

Re: Ant picks class files from current directory rather than provided jar in classpath

2010-02-19 Thread krats
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? antoinell wrote: > > krats wrote: >> I have the following folder structure >> >> src___f1 >> | |__ f1.

Re: Ant picks class files from current directory rather than provided jar in classpath

2010-02-19 Thread krats
: > > krats 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..

Re: Ant picks class files from current directory rather than provided jar in classpath

2010-02-19 Thread krats
when I the javac task from ant. Thats why I was wondering if its an ant issue. Again thx a lot for ur responses Jeffrey E Care wrote: > > krats 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 >> co