Ant does not cache anything. It checks (by timestamp) if the class file is
uptodate to the source file.
All "new" sources are then submitted to the compiler who decides what to do.
Maybe you could post your directory structure and the parts of your two
buildfiles
- subbuild: compiling, creating
>> I have another ant file that I call with .
>It compiles
>some sources, builds a .jar, and later on I include that jar
>in the classpath in the new compilation. They should be
>uptodate, because wheever I call the master build file it
>compiles the one that should go in the classpath
maybe t
"previously comiled" - maybe they are not uptodate?
Eclipse compiles all java files in the project (workspace?) if needed (and
"autocompile"), Ant doesnt have a workspace. It compiles only the files you
give to
Jan
>-Ursprüngliche Nachricht-
>Von: Petar Tahchiev [mailto:[EMAIL PROTECT
[javac] Compiling 1 source file to C:\TEMP\x
> >> BUILD SUCCESSFUL
> >> Total time: 2 minutes 36 seconds
> >>
> >>
> >> Jan
> >>
> >>
> >>
> >>> -Ursprüngliche Nachricht-
> >&
ht-
Von: Sébastien Annedouche [mailto:[EMAIL PROTECTED]
Gesendet am: Donnerstag, 10. März 2005 10:26
An: Ant Users List
Betreff: Re: AW: cannot resolve symbol when overriding method.
could you tell me how you've compiled the class, please.
I still can't compile without adding the impor
0:56
> An: Ant Users List
> Betreff: Re: AW: AW: cannot resolve symbol when overriding method.
>
> Still failing...
>
> [javac] Compiling 1 source file to C:\tmp\java
> [javac] C:\tmp\java\Dummy.java:12: cannot resolve symbol
> [javac] symbol: class IOExcepti
Still failing...
[javac] Compiling 1 source file to C:\tmp\java
[javac] C:\tmp\java\Dummy.java:12: cannot resolve symbol
[javac] symbol: class IOException
[javac] protected void readStreamHeader() {
[javac] ^
[javac] 1 error
It works when I add the 2 i
me: 2 minutes 36 seconds
Jan
-Ursprüngliche Nachricht-
Von: Sébastien Annedouche [mailto:[EMAIL PROTECTED]
Gesendet am: Donnerstag, 10. März 2005 10:26
An: Ant Users List
Betreff: Re: AW: cannot resolve symbol when overriding method.
could you tell me how you've compiled the class, please.
I still
---
> Von: Sébastien Annedouche [mailto:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 10. März 2005 10:26
> An: Ant Users List
> Betreff: Re: AW: cannot resolve symbol when overriding method.
>
> could you tell me how you've compiled the class, please.
> I still can't com
could you tell me how you've compiled the class, please.
I still can't compile without adding the imports.
It would be a great help for me!
Thanks,
Sebastien
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
[EMAIL PROTECTED] wrote:
works for me.
You've tried my Dummy class without the 2 imports ? and it works ?
Could you send me your build.xml or the command line you've used ?
but you should throw the IOException instead of Exception ... but that´s
another topic.
I didn't want to import java.io.
works for me.
but you should throw the IOException instead of Exception ... but that´s
another topic.
Jan
> -Ursprüngliche Nachricht-
> Von: Sébastien Annedouche [mailto:[EMAIL PROTECTED]
> Gesendet am: Montag, 7. März 2005 19:42
> An: user@ant.apache.org
> Betreff: cannot resolve symbol
12 matches
Mail list logo