You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Kaur, Jasneet" <ja...@sap.com> on 2006/03/22 11:02:16 UTC
Including a specific Manifest file
Hi,
How can I pack a specific Manifest file(MANIFEST.MF) into a war?
Thanks and Regards,
Jasneet.
Re: Including a specific Manifest file
Posted by Rhino <rh...@sympatico.ca>.
RTFM? Have a look at the War and Manifest core tasks in the manual.
http://ant.apache.org/manual/index.html
--
Rhino
----- Original Message -----
From: "Kaur, Jasneet" <ja...@sap.com>
To: "Ant Users List" <us...@ant.apache.org>
Sent: Wednesday, March 22, 2006 5:02 AM
Subject: Including a specific Manifest file
Hi,
How can I pack a specific Manifest file(MANIFEST.MF) into a war?
Thanks and Regards,
Jasneet.
--------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date: 20/03/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.6/287 - Release Date: 21/03/2006
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Including a specific Manifest file
Posted by Antoine Levy-Lambert <an...@gmx.de>.
Hello Jasneet,
please look at the documentation of both the <war/> and of the <jar/> tasks.
Most (or all) what is documented concerning the <jar/> task is also true of
<war/>. The reverse is not true.
The reason is that <war/> extends <jar/>.
A manifest nested element can be used describing inline what you want to
have. Or you can use the manifest attribute, which should refer to a file.
Regards,
Antoine
----- Original Message -----
From: "Kaur, Jasneet" <ja...@sap.com>
To: "Ant Users List" <us...@ant.apache.org>
Sent: Wednesday, March 22, 2006 11:02 AM
Subject: Including a specific Manifest file
Hi,
How can I pack a specific Manifest file(MANIFEST.MF) into a war?
Thanks and Regards,
Jasneet.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org