[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-1651) Duplicate FixMe Class Entries In jar Table of Contents

Thomas Heute (JIRA) jira-events at lists.jboss.org
Tue Aug 28 22:51:18 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBPORTAL-1651?page=comments#action_12374334 ] 
            
Thomas Heute commented on JBPORTAL-1651:
----------------------------------------

Then there is a packaging issue:

I changed this:
	      <jar jarfile="${build.lib}/portal-common-lib.jar" manifest="${build.etc}/portal-common-lib-jar.mf">
                <fileset dir="${build.classes}"/>
	         <fileset dir="${build.resources}/format/code"/>
               <fileset dir="${build.classes}">
                <exclude name="org/jboss/portal/common/ant/**/*"/>
                <exclude name="org/jboss/portal/common/junit/**/*"/>
             </fileset>
	      </jar>

to this:
	      <jar jarfile="${build.lib}/portal-common-lib.jar" manifest="${build.etc}/portal-common-lib-jar.mf">
	         <fileset dir="${build.resources}/format/code"/>
             <fileset dir="${build.classes}">
                <exclude name="org/jboss/portal/common/ant/**/*"/>
                <exclude name="org/jboss/portal/common/junit/**/*"/>
             </fileset>
	      </jar>

ant and junit packages being in explode.jar.

I'll check on that

> Duplicate FixMe Class Entries In jar Table of Contents
> ------------------------------------------------------
>
>                 Key: JBPORTAL-1651
>                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1651
>             Project: JBoss Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Portal Core
>    Affects Versions: 2.6.1 Final
>            Reporter: Mike Millson
>         Assigned To: Thomas Heute
>            Priority: Minor
>             Fix For: 2.6.2 Final
>
>         Attachments: patch.txt
>
>
> Running the following command shows 2 FixMe.class entries in the table of contents.
> jar tf portal-common-lib.jar | grep FixMe
> Creating an index (jar i portal-common-lib.jar) results in the following exception:
> java.util.zip.ZipException: duplicate entry: org/jboss/portal/common/FixMe.class
> This is caused by duplicate classes being specified for the jar task. One solution would be to set duplicate="preserve" on the ant jar task  that creates the jar.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list