At 10:37 AM 1/5/2002 -0800, Steve Loughran wrote:
>Thinking about it, extending javac wont work. javac assumes that your tool
>maps from .java to .class in a package heirarchy; and the .net tools build
>an assembly (exe or dll) without any intermediate steps (which actually
>makes incremental builds harder).
>
>A <jsharp> task could have similar-ish attributes to <javac> adding the
><csharp> options too, but would have a completely different implementation
>from either.

Correct, sort of.

Ant does not need to implement a special task for every language.  It will 
use any language  or file conversion tool you like with the Apply 
task.  Using the Mapper subelement it will also do the compilation 
incrementally (at least on a per file basis, naturally it can't do 
dependency checking).

That said, Ant will be getting a C/C++ task which will include support for 
GCC including GCJ for generating native code for Java.

jim

----------------------------------------------------------------
James P. White     Pagesmiths' home is http://www.pagesmiths.com
Live free http://www.ushistory.org/franklin/quotable/quote04.htm
Try Kawa, the Java-based Scheme http://www.gnu.org/software/kawa


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to