RE: extracting zip file?

2006-07-17 Thread Adam Leggett
Given your requirements around tomcat id recommend a look at cargo
http://cargo.codehaus.org/

Cargo will (via your pom configuration) download a binary version of
tomcat, start it, deploy your war, run your tests and finally stop
tomcat.

Adam

-Original Message-
From: Kapil Gupta(CT) [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 17, 2006 2:47 PM
To: Maven Users List
Subject: RE: extracting zip file?


Thanks for your reply Adam.
Actually I want to extract tomcat server which is saved in zip format in
my cvs repository and then copy my war file in the tomcat webapps
directory.

Regards,
Kapil

-Original Message-
From: Adam Leggett [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 17, 2006 7:12 PM
To: Maven Users List
Subject: RE: extracting zip file?

Im not aware of a dedicated zip/unzip plugin.

You could try the dependency plugin (dependency:unpack)
http://mojo.codehaus.org/dependency-maven-plugin/ if the zip is listed
as a dependency and this fits with what you want.

Otherwise I'd suggest binding an execution of the maven-antrun-plugin to
an appropriate phase and use a little ant to get the job done. Or write
your own plugin of course.

Adam

-Original Message-
From: Kapil Gupta(CT) [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 17, 2006 2:26 PM
To: users@maven.apache.org
Subject: extracting zip file?


Hi,

Is there any way to extract zip file thru a pom file?

Thanks,

Kapil

 



===
The contents of this email are intended for the named addresses and may 
contain confidential and/or privileged material. If received in error, 
please contact UPCO head office on +44(0)113 201 0600 and then delete 
the entire mail from your system. Unauthorised review, distribution, 
disclosure or other use of information could constitute a breach of 
confidence. Your co-operation in this matter is greatly appreciated.

Every effort has been taken to ensure that this email and any 
attachments are virus-free. However, UPCO does not make any warranty 
to this effect, and is not liable for any damage done by an infected 
email message or attachment. UPCO recommends that all emails and 
attachments are checked before opening.

All views or opinions expressed in this electronic message and its 
attachements are those of the sender and do not necessarily reflect 
the views and opinions of The Ultimate People Company Ltd.

===



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: extracting zip file?

2006-07-17 Thread dcabasson

Have a look at the cargo plugin, it is just the thing you're trying to do:
http://cargo.codehaus.org/Maven2+plugin

Cheers!

Denis.

Kapil Gupta(CT) wrote:
> 
> Thanks for your reply Adam.
> Actually I want to extract tomcat server which is saved in zip format in
> my cvs repository and then copy my war file in the tomcat webapps
> directory.
> 
> Regards,
> Kapil
> 

-- 
View this message in context: 
http://www.nabble.com/extracting-zip-file--tf1954718.html#a5361232
Sent from the Maven - Users forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: extracting zip file?

2006-07-17 Thread dcabasson

You can have a look at the antrun plugin:
http://maven.apache.org/plugins/maven-antrun-plugin/

It can easily unzip a file.

But the real question is: why would you need to extract a file?

Denis.

Kapil Gupta(CT) wrote:
> 
> Hi,
> 
> Is there any way to extract zip file thru a pom file?
> 

-- 
View this message in context: 
http://www.nabble.com/extracting-zip-file--tf1954718.html#a5361204
Sent from the Maven - Users forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: extracting zip file?

2006-07-17 Thread Kapil Gupta\(CT\)
Thanks for your reply Adam.
Actually I want to extract tomcat server which is saved in zip format in
my cvs repository and then copy my war file in the tomcat webapps
directory.

Regards,
Kapil

-Original Message-
From: Adam Leggett [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 17, 2006 7:12 PM
To: Maven Users List
Subject: RE: extracting zip file?

Im not aware of a dedicated zip/unzip plugin.

You could try the dependency plugin (dependency:unpack)
http://mojo.codehaus.org/dependency-maven-plugin/ if the zip is listed
as a dependency and this fits with what you want.

Otherwise I'd suggest binding an execution of the maven-antrun-plugin to
an appropriate phase and use a little ant to get the job done. Or write
your own plugin of course.

Adam

-Original Message-
From: Kapil Gupta(CT) [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 17, 2006 2:26 PM
To: users@maven.apache.org
Subject: extracting zip file?


Hi,

Is there any way to extract zip file thru a pom file?

Thanks,

Kapil

 



===
The contents of this email are intended for the named addresses and may 
contain confidential and/or privileged material. If received in error, 
please contact UPCO head office on +44(0)113 201 0600 and then delete 
the entire mail from your system. Unauthorised review, distribution, 
disclosure or other use of information could constitute a breach of 
confidence. Your co-operation in this matter is greatly appreciated.

Every effort has been taken to ensure that this email and any 
attachments are virus-free. However, UPCO does not make any warranty 
to this effect, and is not liable for any damage done by an infected 
email message or attachment. UPCO recommends that all emails and 
attachments are checked before opening.

All views or opinions expressed in this electronic message and its 
attachements are those of the sender and do not necessarily reflect 
the views and opinions of The Ultimate People Company Ltd.

===



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: extracting zip file?

2006-07-17 Thread Adam Leggett
Im not aware of a dedicated zip/unzip plugin.

You could try the dependency plugin (dependency:unpack)
http://mojo.codehaus.org/dependency-maven-plugin/ if the zip is listed
as a dependency and this fits with what you want.

Otherwise I'd suggest binding an execution of the maven-antrun-plugin to
an appropriate phase and use a little ant to get the job done. Or write
your own plugin of course.

Adam

-Original Message-
From: Kapil Gupta(CT) [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 17, 2006 2:26 PM
To: users@maven.apache.org
Subject: extracting zip file?


Hi,

Is there any way to extract zip file thru a pom file?

Thanks,

Kapil

 


===
The contents of this email are intended for the named addresses and may 
contain confidential and/or privileged material. If received in error, 
please contact UPCO head office on +44(0)113 201 0600 and then delete 
the entire mail from your system. Unauthorised review, distribution, 
disclosure or other use of information could constitute a breach of 
confidence. Your co-operation in this matter is greatly appreciated.

Every effort has been taken to ensure that this email and any 
attachments are virus-free. However, UPCO does not make any warranty 
to this effect, and is not liable for any damage done by an infected 
email message or attachment. UPCO recommends that all emails and 
attachments are checked before opening.

All views or opinions expressed in this electronic message and its 
attachements are those of the sender and do not necessarily reflect 
the views and opinions of The Ultimate People Company Ltd.
===



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]