You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/10/14 11:17:57 UTC

DO NOT REPLY [Bug 31715] New: - manifest and attributes

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31715>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31715

manifest and attributes

           Summary: manifest and attributes
           Product: Ant
           Version: 1.6.2
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: dperezcar@fcc.es


Hi,

I have the following task for updating an entry in the manifest of an existing jar:

<jar update="yes" destfile="${inst-ejec}.jar">
	<manifest>
		<attribute id="Main-Class" value="fcc.ima.izpack.Instalador"/>
	</manifest>
</jar>

I receive this error message:

BUILD FAILED: E:\DAVID\webIma6.1-E3\tomcat\webIma\tareas\build.xml:217:
Attributes must have name and value

I have specified the attribute value!

I've run Ant from Eclipse 3.0.1

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org