ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17780] - Instead of updating a jar file, the task overrides it.
Date Mon, 10 Mar 2003 21:55:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17780>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17780

Instead of updating a jar file, the task overrides it.





------- Additional Comments From bjenkins@dynamicsoft.com  2003-03-10 21:55 -------
Nope, that doesn't fix it.

I added some debug to my local src copy of 1.5.2 and I see zipFile(InputStream) 
being called for all of the files that were in the original jar (see below).  
It looks like the original files *should* be getting jar'd up, but I can't 
figure out where the problem is.

      [jar] found original file META-INF/MYALIAS.DSA
      [jar] found original file META-INF/MYALIAS.SF
      [jar] found original file license.txt
      [jar] found original file version_info
      [jar] Adding original files
      [jar] Entering addResources()
      [jar] prefix=""
      [jar] dealingWithFiles=false
      [jar] name=META-INF/MYALIAS.DSA
      [jar] Entering addParentDirs()
      [jar] Leaving addParentDirs()
      [jar] ze=META-INF/MYALIAS.DSA
      [jar] Entering zipFile(java.util.zip.ZipFile$1@76e8a7, 
org.apache.tools.zip.ZipOutputStream@1aed5f9, META-INF/MYALIAS.DSA, 
1047331542000, C:\dynamicsoft\re\lib\dynamicsoft\zip803692068.tmp, 16877)
      [jar] adding entry META-INF/MYALIAS.DSA
      [jar] Leaving zipFile()
      [jar] name=META-INF/MYALIAS.SF
      [jar] Entering addParentDirs()
      [jar] Leaving addParentDirs()
      [jar] ze=META-INF/MYALIAS.SF
      [jar] Entering zipFile(java.util.zip.ZipFile$1@a45536, 
org.apache.tools.zip.ZipOutputStream@1aed5f9, META-INF/MYALIAS.SF, 
1047331542000, C:\dynamicsoft\re\lib\dynamicsoft\zip803692068.tmp, 16877)
      [jar] adding entry META-INF/MYALIAS.SF
      [jar] Leaving zipFile()
      [jar] name=license.txt
      [jar] Entering addParentDirs()
      [jar] Leaving addParentDirs()
      [jar] ze=license.txt
      [jar] Entering zipFile(java.util.zip.ZipFile$1@d66426, 
org.apache.tools.zip.ZipOutputStream@1aed5f9, license.txt, 1045261202000, 
C:\dynamicsoft\re\lib\dynamicsoft\zip803692068.tmp, 16877)
      [jar] adding entry license.txt
      [jar] Leaving zipFile()
      [jar] name=version_info
      [jar] Entering addParentDirs()
      [jar] Leaving addParentDirs()
      [jar] ze=version_info
      [jar] Entering zipFile(java.util.zip.ZipFile$1@1490eb5, 
org.apache.tools.zip.ZipOutputStream@1aed5f9, version_info, 1047331542000, 
C:\dynamicsoft\re\lib\dynamicsoft\zip803692068.tmp, 16877)
      [jar] adding entry version_info
      [jar] Leaving zipFile()
      [jar] Leaving addResources()
      [jar] Entering finalizeZipOutputStream()
      [jar] Leaving finalizeZipOutputStream()
      [jar] Leaving execute()

Mime
View raw message