You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Mika Moilanen <mi...@stybba.ntc.nokia.com> on 2003/02/18 10:03:08 UTC

Disturbing Javac?

I'd like to launch Javac differently per directory basis: each
directory would have a have called .java_options and Javac would be
called with arguments depending on the contents of this file.

Now, my question is -- do I start reading about wrappers for javac, or
is there any easier way to achieve this?
 
-- 
Best Regards, 
	Mika
----------------------------------------------------------
mikmoila@shire.ntc.nokia.com  phone: +358-0-511-23587
Nokia Networks, PO box 320, FIN-00045 NOKIA GROUP, Finland
----------------------------------------------------------


Re: Disturbing Javac?

Posted by Antoine Levy-Lambert <le...@tiscali-dsl.de>.
If your files .java_options are in a property file format, then ant can read
them using the <property/> task and use different
compiler options based on the contents of your file.
Antoine
----- Original Message -----
From: "Mika Moilanen" <mi...@stybba.ntc.nokia.com>
To: <us...@ant.apache.org>
Sent: Tuesday, February 18, 2003 10:03 AM
Subject: Disturbing Javac?


>
> I'd like to launch Javac differently per directory basis: each
> directory would have a have called .java_options and Javac would be
> called with arguments depending on the contents of this file.
>
> Now, my question is -- do I start reading about wrappers for javac, or
> is there any easier way to achieve this?
>
> --
> Best Regards,
> Mika
> ----------------------------------------------------------
> mikmoila@shire.ntc.nokia.com  phone: +358-0-511-23587
> Nokia Networks, PO box 320, FIN-00045 NOKIA GROUP, Finland
> ----------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>