[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    Re: Javac task query
From:       Wayne Cannon <wcannon () turinnetworks ! com>
Date:       2007-06-27 16:47:20
Message-ID: 46829498.1090903 () turinnetworks ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic