ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "D Bamud" <noug...@cad.delhi.nic.in>
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"
                   base="${stub}" 
           stubversion="1.2"
                verify="true">
 
       <classpath path="${server}"/>
 
     </rmic>
 
     <echo level="info">Done</echo>
   </target>
 

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.

 Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message