Hello Antonio, thanks for your reply.

Excuse me if i don´t explain the problem correctly. The problem isn´t WAS 
or update zips.

The problem is:

In my folder I have a two items:

FOLDER/src/one.java
                  /src/two.java

I am generating a zip:

FOLDER.zip/WEB-INF/classes/one.class
                        /WEB-INF/classes/two.class

The second time that I run de maven assembly plugin I have in the folder:

FOLDER/src/three.java

And the assembly plugin is generating:

FOLDER.zip/WEB-INF/classes/one.class
                        /WEB-INF/classes/two.class
                        /WEB-INF/classes/three.class

where should generate:

FOLDER.zip/WEB-INF/classes/three.class

Cheers




Antonio Petrelli <antonio.petre...@gmail.com> 
25/10/2010 13:24
Por favor, responda a
"Maven Users List" <users@maven.apache.org>


Para
Maven Users List <users@maven.apache.org>
cc

Asunto
Re: Zip Assembly Problem






2010/10/25 Manuel Ramirez Velasco <manuel.ramirez....@lineadirecta.es>:
> Hello, I´ve a problem using maven assembly plugin.
>...
> I´m generating a changes package in a zip file that allow me to deploy 
WAS
> update zips of an application deployed in WAS 6.0.

In other words, you're trying to use the assembly plugin to package a
partial app zip file.
I think that there is a big obstacle: how do you know what is deployed
on the WAS server?
Even if you know it, you should compute the differences (I really
don't know how) and, after that, package a zip with the computed
differences.
At the end, you'll notice that packaging the complete app is easier.
Or, if you really want to do it, you will need to create an ad hoc
plugin.
You might want to ask the team behind this plugin:
http://mojo.codehaus.org/was6-maven-plugin/
They might help more than us.

Ciao
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




Visítenos en:  www.lineadirecta.com  

"Este mensaje y los documentos que, en su caso, lleve anexos, pueden contener 
información confidencial. Por ello, se informa a quien lo reciba por error que 
la información contenida en el mismo es reservada y su uso no autorizado está 
prohibido legalmente, por lo que en tal caso le rogamos se abstenga de realizar 
copias del mensaje, leerlo, remitirlo o difundirlo y proceda a borrarlo 
inmediatamente." 

"This message is intended only for the use of the individual to whom it is 
addressed and may contain information that is confidential. If you have 
received this communication, by error, you are hereby notified that any 
distribution or copying of this communication is prohibited."   

Reply via email to