ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Uwe Guenther <...@cscc.de>
Subject Re: external compiler task
Date Wed, 25 Jul 2001 08:37:27 GMT
Hello Peter,

I read it, but like Stefan writes I need a fork task
or better a global flag at the beginning of the build.xml
to turn ant from jdk 1.3 to jdk 1.4, but I think this 
is inpossible because the design of ant.

-- 
Thanks Uwe



Peter Donald wrote:
> 
> On Wed, 25 Jul 2001 04:46, Uwe Guenther wrote:
> > Hello,
> >
> > I use netbeans 3.2 with built in ant support.
> >
> > The problem is that netbeans runs only under jdk 1.3 and I have to develop
> > under jdk1.4.0-beta. The built-in Ant is therefor started under jdk 1.3.1.
> > So if I start an javac task, Ant compiling my sources with jdk 1.3
> > compiler. Is there a other way as to write an own task for usage of an
> > extaernal compiler?
> 
> Have you actually read the Javac documentation? ;)
> 
> http://jakarta.apache.org/ant/manual/CoreTasks/javac.html
> 
> Yes it is possible. I use jikes for 99% of my stuff and it works like a charm.

Mime
View raw message