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 gener
Thanks Steve, I will look into this.
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 5:09 PM
To: Ant Users List
Subject: Re: Javac task query
Yadav, Akshat Kumar wrote:
> Thanks Peter for reply.
>
> I think ANT developer sho
ay we know that what we ship is what we can build repeatedly, not
whatever was on some developers hdd at the time
-steve
-Original Message-
From: Peter Reilly [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 3:46 PM
To: Ant Users List
Subject: Re: Javac task query
On 6/27/07
Thanks Peter for reply.
I think ANT developer should think on extending there "javac" task to
provide such feature.
Thanks,
-Original Message-
From: Peter Reilly [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 3:46 PM
To: Ant Users List
Subject: Re: Javac task quer
nal Message-
From: Prashant Reddy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 1:57 PM
To: Ant Users List
Subject: Re: Javac task query
No 'javac' task by itself will not delete class file whose source java
file has been deleted, and rightly so.
I do not think you would really
Thanks Prashant for reply.
I am talking for the situation where a.java, b.java and c.java are
independent java code files.
Thanks,
-Original Message-
From: Prashant Reddy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 1:57 PM
To: Ant Users List
Subject: Re: Javac task query
class)
>
> But I don't want c.class should not be presend in jar. It there any
> option or method to counter with such situation.
>
> Any help appreciated. If my query is not clear, then let me know...
>
> Thanks,
>
> -Original Message-----
> From: Steve
et me know...
Thanks,
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 26, 2007 7:04 PM
To: Ant Users List
Subject: Re: Javac task query
Yadav, Akshat Kumar wrote:
>
> Hi Prashant,
>
> I had executed ANT in verbose and debug mode and
Yadav, Akshat Kumar wrote:
Hi Prashant,
I had executed ANT in verbose and debug mode and it shows
[javac] HelloWorlApp.java added as HelloWorlApp.class doesn't exist.
Whereas the class file exist in dest dir. I tried adding/deleting dest
dir in classpath, but no luck in both the situation.
karta.ant.user/42524
> http://marc.info/?l=ant-user&m=97303040120654&w=2
> http://dev.eclipse.org/newslists/news.eclipse.tools.jdt/msg01615.html
> http://mail-archives.apache.org/mod_mbox/ant-user/29.mbox/%3cNDBBI
> MH [EMAIL PROTECTED]
> https://issues.apache.org/struts/bro
cNDBBIMH
> [EMAIL PROTECTED]
> https://issues.apache.org/struts/browse/STR-2403
>
> Thanks,
>
> -Original Message-
> From: Prashant Reddy [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 26, 2007 5:17 PM
> To: Ant Users List
> Subject: Re: Javac task query
>
&g
-2403
Thanks,
-Original Message-
From: Prashant Reddy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 26, 2007 5:17 PM
To: Ant Users List
Subject: Re: Javac task query
Please see :
http://ant.apache.org/faq.html#always-recompiles
HTH
On Tue, 2007-06-26 at 16:15 +0800, Yadav, Akshat Kuma
Please see :
http://ant.apache.org/faq.html#always-recompiles
HTH
On Tue, 2007-06-26 at 16:15 +0800, Yadav, Akshat Kumar wrote:
> Hi All,
>
> Ant manual says "The source and destination directory will be
> recursively scanned for Java source files to compile. Only Java files
> that have no corre
13 matches
Mail list logo