You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Yasothamani <ym...@comneti.com> on 2007/09/20 16:20:36 UTC
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
Re: Classes directory is having old class file
Posted by Yasothamani <ym...@comneti.com>.
Yes compiling both projects in the same classes directory.
Thanks & Regards
YASOTHAMANI R
Objectel Development
India Comnet International
Steve Loughran wrote:
> Yasothamani wrote:
>
>> 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.
>>
>
> Are you trying to compile both projects into the same classes directory?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Classes directory is having old class file
Posted by Steve Loughran <st...@apache.org>.
Yasothamani wrote:
> 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.
>
Are you trying to compile both projects into the same classes directory?
--
Steve Loughran http://www.1060.org/blogxter/publish/5
Author: Ant in Action http://antbook.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org