ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wayne Cannon <wcan...@turinnetworks.com>
Subject Re: Javac task query
Date Wed, 27 Jun 2007 16:47:20 GMT
Keep in mind that a class file is generated for every Java class, NOT 
for every source file.  Source files can contain multiple classes 
(although I generally don't like the practice, it's very common for 
listener classes in GUI code).  If B.java defined classes B and C, the 
compiler would generate B.class and C.class.  You would not want any 
tool to delete C.class just because there was no corresponding C.java.
--Wayne

Yadav, Akshat Kumar wrote:
> Thanks Prashant for reply.
>
> I am talking for the situation where a.java, b.java and c.java are
> independent java code files.
>
> Thanks, 
>   

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


Mime
View raw message