You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2008/05/29 17:29:09 UTC
DO NOT REPLY [Bug 45098] New: Jar does not generate an index for an
existing jar file
https://issues.apache.org/bugzilla/show_bug.cgi?id=45098
Summary: Jar does not generate an index for an existing jar file
Product: Ant
Version: 1.7.0
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: notifications@ant.apache.org
ReportedBy: tobias.schulte@kratzer-automation.com
When I have an existing jar file for which I want to generate an index
(http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#JAR%20Index), this does
not work. Only while creating or updating the jar the index is created.
The attached build file will generate 3 jar files, but only two of them will
have an index file.
Workaround: Add a dummy file to the jar while creating the index (as seen in
the attached build file)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 45098] Jar does not generate an index for an
existing jar file
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45098
Matt Benson <gu...@yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Matt Benson <gu...@yahoo.com> 2008-08-31 08:39:45 PST ---
Committed revision 690714.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 45098] Jar does not generate an index for an
existing jar file
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45098
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
--- Comment #2 from Stefan Bodewig <bo...@apache.org> 2008-08-29 08:15:06 PST ---
downgrading to enhancement as the index option was never meant to work that
way.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 45098] Jar does not generate an index for an
existing jar file
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45098
--- Comment #1 from Tobias Schulte <to...@kratzer-automation.com> 2008-05-29 08:32:08 PST ---
I was not able to attach the build file, so here is the content:
<?xml version="1.0" encoding="iso-8859-1"?>
<project name="JarIndex" default="jar">
<target name="jar">
<jar destfile="fileWithIndex.jar" index="true"/>
<jar destfile="fileWithoutIndex.jar"/>
<jar destfile="fileWithoutIndex.jar" index="true"/>
<jar destfile="fileWithoutIndex2.jar"/>
<touch file="anyfile.txt"/>
<jar destfile="fileWithoutIndex2.jar" index="true" basedir="."
includes="anyfile.txt"/>
</target>
</project>
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.