Javac or Ant issue ?

2006-08-09 Thread Chun Ji
I have noticed some very strange behaviour when I try to compile my java code. Say I have some java files to be filed, A,B,C,D,E,F,G... When I was doing a clean compiling, it gives me error that File C, D failed because some errors, which is true. But when I do the compile(not a clean

Re: Javac or Ant issue ?

2006-08-09 Thread Scot P. Floess
It'd help to see your classpath, sourcepath, etc... It sounds like those are in issue. Chun Ji wrote: I have noticed some very strange behaviour when I try to compile my java code. Say I have some java files to be filed, A,B,C,D,E,F,G... When I was doing a clean compiling, it gives me error

RE: Javac or Ant issue ?

2006-08-09 Thread David Corley \(AT/LMI\)
August 2006 18:36 To: Ant Users List Subject: Javac or Ant issue ? I have noticed some very strange behaviour when I try to compile my java code. Say I have some java files to be filed, A,B,C,D,E,F,G... When I was doing a clean compiling, it gives me error that File C, D failed because some

Re: Javac or Ant issue ?

2006-08-09 Thread Alexey N. Solofnenko
smime.p7s Description: S/MIME Cryptographic Signature

Re: Javac or Ant issue ?

2006-08-09 Thread Alexey N. Solofnenko
ANT compares timestamps of class files with Java source files and passes the list to JavaC command. So, if C and D files are not specified as source files for compilation and selected by JavaC on its own, ANT would not know about them. The situation can happen, if all selected files compiled

RE: Javac or Ant issue ?

2006-08-09 Thread Chun Ji
. Solofnenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 11:19 AM To: Ant Users List Subject: Re: Javac or Ant issue ? Importance: Low ANT compares timestamps of class files with Java source files and passes the list to JavaC command. So, if C and D files are not specified as source files

Re: Javac or Ant issue ?

2006-08-09 Thread Scot P. Floess
/home/cji/src/package2/D.java /home/cji/src/package3/E.java ... -cji -Original Message- From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 11:19 AM To: Ant Users List Subject: Re: Javac or Ant issue ? Importance: Low ANT compares timestamps of class