You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Timothy Reaves <tr...@silverfields.com> on 2000/06/30 01:07:19 UTC

ant missed a .java file

    I am running ant 0627.  It has missed at least one .java file from
compilation!  How is this possible?  I mean, other than the obvious bug
answer?


Re: ant missed a .java file

Posted by Vitaly Stulsky <vi...@yahoo.com>.
1. It is already compiled (the date of destination class file more or equal
than the date of your java file).
2. You specify improper path or exclude this file from compilation in your
build.xml
3. And one more (quite impossible reason) this file has other than .java
extension - if it is you can find it copied into destination folder.

----- Original Message -----
From: Timothy Reaves <tr...@silverfields.com>
To: <an...@jakarta.apache.org>
Sent: Thursday, June 29, 2000 4:07 PM
Subject: ant missed a .java file


>     I am running ant 0627.  It has missed at least one .java file from
> compilation!  How is this possible?  I mean, other than the obvious bug
> answer?


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Re: ant missed a .java file

Posted by Peter Donald <do...@mad.scientist.com>.
At 07:07  29/6/00 -0400, you wrote:
>    I am running ant 0627.  It has missed at least one .java file from
>compilation!  How is this possible?  I mean, other than the obvious bug
>answer?

Well it depends on the underlying compiler - if it silently has an error
and doesn't finish compiling this can happen. It used to happen a lot with
jikes with early versions. Haven't noticed it so much anymore.

Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*