This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: kawa 1.6.92 released
At 10:17 PM 6/10/01, Per Bothner wrote:
>Per Bothner <per@bothner.com> writes:
>
> > I think it would be good to have Ant support.
>
>Actually, I think it would *great* to have Ant support.
>
>Note that some Java files are run-through a pre-processor, which is
>currently sed; I don't know if Ant can do something similar.
Yeah, I noticed that looking through the makefiles. Ant does have a token
filtering option in the 'copy' task. The only thing I'm not sure of is
whether it allows spaces in the token names. I'll find out soon (if it
doesn't that would just mean changing '@if CHAR foo@' to '@if_CHAR_foo@')
and make some Ant scripts for Kawa this week.
Note also that Ant has scripting capability (I use Rhino for JavaScript
right now which can use any Java class directly) and of course Ant can call
any system command desired, so there is no practical limitation on what it
can do. The only issue is how much of that rather complex logic in the
pre-built scripts for Autoconf and Configure is actually needed by Kawa.
jim
----------------------------------------------------------------
James P. White Netscape DevEdge Champion for IFC
IFC Exchange * Insanely great Java * http://www.ifcx.org
jim@pagesmiths.com Pagesmiths' home is http://www.pagesmiths.com