ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Plass <DPl...@TCICREDIT.COM>
Subject RE: Manifest not updating properly?
Date Wed, 04 Feb 2004 15:35:38 GMT
I've seen similar; if the new manifest is created within one second of the
previous manifest, it thinks it's not updated.  Note the line in your debug
output: " time="0 seconds""

-----Original Message-----
From: Kyle Adams [] 
Sent: Tuesday, February 03, 2004 4:48 PM
Subject: 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 \

The manifest task is:

<manifest file="${stage.dir}/META-INF/MANIFEST.MF" mode="update">
  <attribute name="Class-Path" value="lib/tuxPoicComp_client.jar"/>

Debug output (as recorded by the XMLLogger) contains the following tidbit:

r/snap-poicQueueBrowserApp.xml:416: " name="manifest" time="0 seconds">
    <message priority="debug"><![CDATA[Manifest has not changed, do not

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.



Kyle Adams | Java Developer  |  Gordon Food Service  |  616-717-6162

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

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

View raw message