ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dimitris Mouchritsas <dimitris.mouchrit...@eurodyn.com>
Subject Re: How to compile co-dependent files
Date Thu, 21 Feb 2008 16:19:12 GMT
Scot P. Floess wrote:
> Can we see your build.xml?
>
> Also, is this Java compilation?
>
> mojoRising wrote:
>> Hi. I am new to using ANT and hope someone can help me with this, I 
>> am sure
>> most basic, question which has confounded me.
>>
>> I have 2 targets. Each target contains a file that has references to 
>> a class
>> in the other target. I can't build successfully because the first 
>> target can
>> never compile since the second target hasn't been built yet.
>>
>> What am I doing wrong?
>>
>> Thanks so much for anyhelp you can offer -
>> John
>>   
>
Usually you put the build/classes directory in the classpath. That way 
you can easily resolve the dependency I think.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message