ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Cheesman <jch...@msl.es>
Subject Re: static final string.
Date Fri, 28 Sep 2001 07:04:22 GMT
At 08:45 AM 28/09/01, you wrote:
> > Now when I change the mesg in class A to "hello world", Ant recompiles
>only
> > the class A as A.java is the only file that has been modified.
> > Now when I run class B, the message still remains "hello".
> > I believe this has something to do the way compilers are implemented. I
> > tried both javac and jikes. Both exhibit the same behaviour.
> > During development it can happen that you need to change your final
> > variables too.
> > Has anybody faced this problem before ? How do you solve it ?
> > One solution would be that whenever somebody changes a final variable, she
> > informs everybody working on that project to do a clean build.
> > But that's not a very clean solution.
> > Any tips ?



Have a seperate machine do full clean builds from scratch? Helps sort out 
classpath, dependency issues too... Use the CVS/VSS tasks, run your tests...



Other than that, I can't think of anything.



Jim






--

                           *   Jim Cheesman   *
             Trabajo: 
jchees@msl.es - (34)(91) 724 9200 x 2360
            As easy as 
3.1415926535897932384626433832795028841



Mime
View raw message