abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert allurent (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ABDERA-387) Definitely something wrong with creating manifests.
Date Tue, 01 Apr 2014 16:33:14 GMT
robert allurent created ABDERA-387:

             Summary: Definitely something wrong with creating manifests.
                 Key: ABDERA-387
                 URL: https://issues.apache.org/jira/browse/ABDERA-387
             Project: Abdera
          Issue Type: Bug
         Environment: Apache Ant 1.7.0
Java 1.7.0_51
            Reporter: robert allurent
            Priority: Minor

Apache Ant is DEFINITELY generating or reading manifest files incorrectly.

To prove this, create a jar with a manifest.
Immediately after creating the jar and manifest, attempt to update the manifest with a permission.

Simple test case:

   <jar destfile="${build.lib.dir}/myjar.jar">
      <fileset dir="${build.bin.dir}/my-code">
        <include name="**/**" />	
	  <fileset dir="${src.dir}" >
		<include name="net/**/*.gif"/>			  
		<include name="application/**/*.xml"/>				
		<include name="application/**/*.xslt"/>
		<include name="config/**"/>
    <attribute name="Built-By" value="bodewig"/>
    <section name="common">
      <attribute name="Specification-Title" value="Example"/>
      <attribute name="Specification-Version" value="1.2"/>
      <attribute name="Specification-Vendor" value="Example Organization"/>
      <attribute name="Implementation-Title" value="common"/>
      <attribute name="Implementation-Version" value="1.2 September 10, 2013"/> 
      <attribute name="Implementation-Vendor" value="Example Corp."/>
    <section name="common/class1.class">
      <attribute name="Sealed" value="false"/>

    <manifest file="${build.lib.dir}/jxntm-admin.jar" mode="update">         
      <attribute name="Trusted-Only" value="true"/>
      <attribute name="Permissions" value="all-permissions"/>
      <attribute name="Codebase" value="*"/>          

This message was sent by Atlassian JIRA

View raw message