You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Kyle Adams <ka...@gfs.com> on 2004/02/03 22:48:26 UTC
Manifest not updating properly?
I've got a manifest task that seems to be set properly, but the manifest file is not updating. I was wondering if anyone had any insight into how to fix this behavior.
I'm running Ant 1.5.3. The manifest being modified is:
Ant-Version: Apache Ant 1.5.3
Created-By: 1.3.1_06-b01 (Sun Microsystems Inc.)
Class-Path: lib/struts.jar lib/integrationToolkitCommon_client.jar \
lib/integrationQueueBrowserCommon_client.jar
The manifest task is:
<manifest file="${stage.dir}/META-INF/MANIFEST.MF" mode="update">
<attribute name="Class-Path" value="lib/tuxPoicComp_client.jar"/>
</manifest>
Debug output (as recorded by the XMLLogger) contains the following tidbit:
<task location="file:/lcl/data/corp/sandbox/component/poic/integration/queuebrowser/snap-poicQueueBrowserApp.xml:416: " name="manifest" time="0 seconds">
<message priority="debug"><![CDATA[Manifest has not changed, do not recreate]]></message>
</task>
I'm totally befuddled by the message, "Manifest has not changed, do not recreate", given that the mode was set to update. Looking at the source code for the Manifest task, it looks like the new attribute should've been merged in, the resulting manifest would not be equal (the Class-Path attribute being different), and the new manifest written to the file.
Thanks,
Kyle
_____
Kyle Adams | Java Developer | Gordon Food Service | 616-717-6162
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Manifest not updating properly?
Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 03 Feb 2004, Kyle Adams <ka...@gfs.com> wrote:
> Ant-Version: Apache Ant 1.5.3
the manifest handling code has changed a bit between 1.5.3 and 1.6, it
would be good to know whether 1.6 works.
<http://issues.apache.org/bugzilla/show_bug.cgi?id=22816> looks as if
it could be the reason for your problem.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org