ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Narayanan, Gopalakrishnan" <gna...@exchange.ml.com>
Subject RE: Generating jars without META-INF
Date Tue, 12 Nov 2002 23:14:43 GMT
Let me explain this in detail.
My build script builds a large web-application with ejbs,servlets and jsp files.The build
is invariably run in a Windows machine but the app server machine is Solaris.

Before ftping to the app server machine ,I convert these deliverable into one large jar file
and then ftp the jar file instead of ftp the directories as such for obvious performance reasons.After
ftping , the script telnets into the remote machine and unjars the jar into the appropriate
folder.

I can use zip but I will not be able to unzip it in the remote machine.
I tried tar in Windows machine but untar in the remote machine gives a Checksum Error and
it doesnot work.
Then I tried jarring , but this introduces the unwanted META-INF directory.

Any thoughts?


-----Original Message-----
From: Conor MacNeill [mailto:conor@cortexebusiness.com.au]
Sent: Tuesday, November 12, 2002 5:53 PM
To: Ant Users List
Subject: Re: Generating jars without META-INF


Narayanan, Gopalakrishnan wrote:
> How can I use the jar task to create jar file without the META-INF directory?
> 

That's known as a zip file and you use the <zip> task.

Conor



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



--
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