ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "D Bamud" <>
Subject How to direct <rmic ...> output (*_Stub.class es) to a destination dir
Date Wed, 03 Sep 2003 04:45:19 GMT
 My RMI classes are in ${server} dir. If I provide --base="${server}--
 (-- not included) in below given target then I get the *_Stub.class files in the
 "${server}" dir. I want them to go in a separate dir --${stub}--. How
 to do that.
 <target name="rmi" depends="server" description="Compile RMI Impl server classes">
     <mkdir dir="${stub}"/>
     <rmic includes="**/*Impl.class"
       <classpath path="${server}"/>
     <echo level="info">Done</echo>

I read the manual and it says that "base" provides 
"the location to store the compiled files". If I specifically provide
the files to compile and --base="${stub}--then it works fine 
but when I use "includes" attribute it doesn't. I also tried providing
<compilerarg><line>... for "-d stub_dir" but no success.
What should I do.


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

View raw message