Is clean build means to delete the classes directory, then we are doing that during java compilation. You can see the target clean in the attached build.xml where the directory is deleted.

Thanks & Regards
YASOTHAMANI R
Objectel Development
India Comnet International



[EMAIL PROTECTED] wrote:

After changing between two versions (by the abilities of your source control 
system - svn...) you should do a clean build.

Jan

-----Ursprüngliche Nachricht-----
Von: Yasothamani [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 20. September 2007 16:21
An: user@ant.apache.org
Betreff: Classes directory is having old class file

In our project we are having two versions (project 1.x and 2.x)
For java compilation we are using Ant 1.6.5. The directory structure and java file names are same in both versions of the project. Project 2.x is having some changes which are not available in project 1.x. When we are compiling Project 2.x alone then there is no problem with the class file generated, whereas if we compiled project 1.x and then project 2.x then the classes directory is having the class files of project 1.x.
Java version is 1.5.0_06.
Attached is the build.xml (same for both projects) for the reference.

--
Thanks & Regards
YASOTHAMANI R
Objectel Development
India Comnet International



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to