ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yasothamani <ym...@comneti.com>
Subject Re: AW: Classes directory is having old class file
Date Mon, 24 Sep 2007 05:34:43 GMT
Thanks steve for all your suggestions, i will go for the builds as per 
your suggestion and see what happens.

Thanks & Regards
YASOTHAMANI R



Steve Loughran wrote:

> Yasothamani wrote:
>
>> Once by rebooting the machine we don't faced the problem, but when 
>> the cycle continues project 1.x and then project 2.x then the problem 
>> coming into picture. We are using clearcase and windows box for java 
>> compilation.
>
>
>
>
>> *Doubt:* classes directory and it's class files are not part of 
>> clearcase vob element, so what is concept of file lock.
>
>
>
> 1. filelocks are an essential part of windows. IF a file is loaded 
> (like a JAR in a running java app), then you cant delete it overwrite it.
>
> 2. Clearcase is an odd filesystem. Sometimes it is quirky
>
> My recommendation: dont build different versions in the same 
> directory, not once clearcase and windows are involved. Have two vobs, 
> or set up your build to use a different classes dir on the second 
> build, preferably a non-clearcase filesystem
>
> ant -Dclasses.dir=C:\\scratch\project1\classes
>

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


Mime
View raw message