From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
>Chris Stillwell <[EMAIL PROTECTED]> wrote:
>
>> I am seeing that rmic is always compiling the stub even when the
>> class file has not changed.
>
>This is supposed to be fixed in Ant 1.3. Are you saying it isn't?
Yes, that's what I'm saying. I verified it this morning. Here is the target
I'm using:
<target name="rmic" depends="prepare" description="rmic">
<rmic classname="ngn.databus.admin.JiniFinder.MyEventListener"
base="${classes}"
classpath="${dest}:${jini_libs}"
stubversion="1.2"/>
</target>
I even removed the depends on a compile step to ensure the class doesn't get
recompiled.
Here is the output of the build:
D:\Projects\DatabusPrototype>ant -f admin-jar.xml rmic
Buildfile: admin-jar.xml
prepare:
rmic:
[rmic] RMI Compiling 1 class to D:\Projects\DatabusPrototype\classes
BUILD SUCCESSFUL
Total time: 2 seconds
At this point the stub file is a day newer than the class file, but it
recompiles the stub every time. Here's the output of the -version command
just to be sure I'm running 1.3.
D:\Projects\DatabusPrototype>ant -version
Ant version 1.3 compiled on March 2 2001
Chris Stillwell