ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Rousse <rou...@ccr.jussieu.fr>
Subject ant jar warning
Date Wed, 31 Oct 2001 09:43:09 GMT
I have to build a jar with some special options in manifest, so i use a 
pseudo-manifest file with such options, and let jar task complete it.
However, it spits out large number of warning as the pseudo-manifest is not 
OK:
jar:
      [jar] Building jar: /home/guillaume/dev/work/osis/build/lib/osis-0.3.jar
      [jar] Manifest warning: "Name" attributes should not occur in the main 
section and must be the first element in all other sections: "Name: 
fr/jussieu/snv/lis/osis/model/name/NameModification.class"
      [jar] Manifest warning: "Name" attributes should not occur in the main 
section and must be the first element in all other sections: "Name: 
fr/jussieu/snv/lis/osis/model/name/FamilyGroupName.class"
[...]

My pseudo-manifest is:
Name: fr/jussieu/snv/lis/osis/model/name/NameModification.class
Java-Bean: truer/jussieu/snv/lis/osis/model/name/NameModification.class"
Name: fr/jussieu/snv/lis/osis/model/name/NameCreation.class
Java-Bean: true
[...]

So, is there a way to avoid such warnings ? Should i use a complete manifest 
instead ?
-- 
Guillaume Rousse <rousse@ccr.jussieu.fr>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message