You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Richard Chamberlain <ri...@caplin.com> on 2008/01/04 10:32:45 UTC

dependency:unpack-dependencies doesnt seem to delete old directories before unzipping

Hi,

 

I've been using dependency:unpack-dependencies to copy a few products
(zipped, with start scripts etc) onto a runtime environment. 

 

However no matter which arguments i seem to supply, it doesn't seem to
delete the old artefact before unzipping the new one.

 

I removed a file from the zip (start2.sh) and although
unpack-dependencies got the latest version without the file, when it
unzipped the file was still there from the previous revision of the
snapshot.

 

Is there a way to delete old dirs before unzipping a new artefact?

 

Thanks,

 

Rich


Re: dependency:unpack-dependencies doesnt seem to delete old directories before unzipping

Posted by Wendy Smoak <ws...@gmail.com>.
On Jan 4, 2008 2:32 AM, Richard Chamberlain
<ri...@caplin.com> wrote:

> I've been using dependency:unpack-dependencies to copy a few products
> (zipped, with start scripts etc) onto a runtime environment.
>
> However no matter which arguments i seem to supply, it doesn't seem to
> delete the old artefact before unzipping the new one.

I wouldn't expect it to.  (How would it know what to delete?)  The
'clean' plugin would have that role during a build.

Depending on what runtime environment this is, the Cargo project might
have something to help.

-- 
Wendy

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