----- Original Message -----
From: "Ken Wood" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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


Reply via email to