ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <>
Subject Re: RMIC and the -J option
Date Mon, 05 Jan 2004 15:55:08 GMT
<exec> with <arg ...
which you can use until the rmic task gets updated with the -J option..
----- Original Message -----
From: <>
To: <>
Sent: Monday, January 05, 2004 10:52 AM
Subject: RMIC and the -J option


I want to pass a -J option to an Ant rmic step, but can't get any format to
be accepted.

In an windows .bat file I can run the following with a -J option.

rmic -v1.2 -J-oss4m -classpath .;C:\abcc\aaa.jar(etc)  -d

but I want to do this is Ant, and I have

    <target name="rmic" depends="init,compile.rmic">
        <rmic base="${classes.ccc}" stubversion="1.2" debug="on"
            <compilerarg value="-J-oss4m"/>
            <include name="com/my/class/name.class"/>

I can't get any format of -J.... to be accepted here. Has anyone ever done
this ??????

Note, if I change the compilerarg to <compilerarg value="-verbose"/> then I
get verbose output
so the syntax of the line is generally correct.


Stephen Chalkley

Visit our website at

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message