Someone has already pointed out this, but I've seen no answers (or perhaps
I've missed them)...

It seems that jar updating doesn't work correctly under Ant 1.5 (or at least
it does not work as it did in Ant 1.4.1).
I've prepared a small test case which shows the problem:

<project name="Jar Test Case" basedir="." default="jar">
    <target name="jar" description="Jar Test Case">
        <jar basedir="." jarfile="test.jar" includes="build.xml"/>
        <jar basedir="." jarfile="test.jar" includes="test.txt"
            update="true"/>
    </target>
</project>

Under Ant 1.4.1 the "test.txt" is added to the jar, while under Ant 1.5 it
is skipped because the jar is supposed to be up to date. Why?

Sorry if this has already been answered.

Stefano

Attachment: JarTestCase.zip
Description: Zip compressed data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to