ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michel CASABIANCA <>
Subject Re: Other Java compilers?
Date Mon, 03 Apr 2000 23:04:57 GMT
Kevin Riff <> writes:
> Would it make sense to add an attribute to the JavaC task that 
> allows you to enter the path to an arbitrary compiler? It could 
> be implemented using Runtime.exec(..) similarly to how the Jikes 
> compiler is done.

This should be possible, but it would be *very* slow compared to
running this compiler in the same VM. VM boot is time consuming
(about 2 or 3 sec.) and can be greater than time to compile.

For small projects you can run faster by disabling JIT because in
these situations boot time is greater than the amount of time
saved with JIT.

| Michel CASABIANCA         |   |
|        | Articles sur Java et XML       |
| Développement Java et XML | Applications et Applets de Jeu |

View raw message