If you're just using command-line jar, you do it like this:

jar -cvfm <mywarfile.war> <mymanifest.mf> <file/dir list>

-Jason




Chris Kimpton <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

06/21/2001 11:26 AM
Please respond to jboss-user

       
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        Re: [JBoss-user] how can I modify MANIFEST.MF file



Hi,

Guess that you are using ant to build your war file,
there is an option on the ant jar task to specify the
file to use as the manifest.mf file.

You then explicitly create your manifest file upfront
and then tell ant to use it on the jar task.

HTH,
Chris

--- Paul Tamas <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> MANIFEST.MF file is generated when I created the
> .war file. Could you tell
> me how can I modify it (I want to add the
> Class-Path).
>
> thanks in advance
> Paul
>
>
_________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
http://lists.sourceforge.net/lists/listinfo/jboss-user


=====
Need somewhere to Live in London - http://freeflats.com

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year!  http://personal.mail.yahoo.com/

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user


Reply via email to