ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <Nico.Sees...@epost.de>
Subject Re: Seeking understanding of how Javac task works.
Date Thu, 30 Nov 2000 20:57:51 GMT
----- Original Message -----
From: "Ken Wood" <kwood@i2.com>
To: <ant-dev@jakarta.apache.org>
Sent: Thursday, November 30, 2000 8:37 PM
Subject: Seeking understanding of how Javac task works.


> After months of using ant, I'm trying to learn more
> about how it works.
>
> In the doClassicCompile part of Javac I see the
> code shown below. To me, it seems like the copiler
> is called TWICE, so I'm trying to understand what is
> going on. I'm sure once someone explains this, it
> will be embarassingly obvious. Meantime....
>
> My comments show where I'm confused:
>

In my version of javac (may be old, but I don't think that part changed)
this first statement is commented out...

> Comment: Here is first invocation of compiler.
>         if (!compiler.compile(cmd.getArguments())) {
>             throw new BuildException("Compile failed");
>         }
>
> Comment: So, it failed, so we go into a try block and try the compiler
again....
>         */

... and you even included the end of the comment in you mail :-)

No IDE with Syntax-Highlighting available ? ;-)

Nico



Mime
View raw message