ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Launay (JIRA) <>
Subject [jira] Commented: (IVYDE-105) Retrieve after resolve feature does not clean target directory first
Date Tue, 22 Jul 2008 16:27:33 GMT


Sébastien Launay commented on IVYDE-105:

Indeed, i had the same problem some months ago but i was able to quickly fix this thanks
to the documentation.

I do not know if the same component is used in ant and IvyDE for this task but i have
some artifact of type 'resource' (not 'jar' or 'source') is retrieving in my WEB-INF/lib,
just 'jar' type artifact.

I can create another issue for this point as this is not directly related to the current issue.

> Retrieve after resolve feature does not clean target directory first
> --------------------------------------------------------------------
>                 Key: IVYDE-105
>                 URL:
>             Project: IvyDE
>          Issue Type: New Feature
>    Affects Versions: 2.0.0.alpha1
>         Environment: Eclipse 3.4
>            Reporter: Sébastien Launay
>            Assignee: Nicolas Lalevée
> I use the 'Retrieve after resolve' feature in order to populate the directory web/WEB-INF/lib
> in my project using pattern 'web/WEB-INF/lib/[artifact]-[revision].[ext]'.
> This directory is used by the servlet engine in order to load librairies, but the directory
> contain multiple artifact of the same module (mylib-1.0.jar and mylib-1.1.jar) or old
> if you update your ivy.xml and then resolve again.
> I know that removing files based on a pattern is dangerous and not trivial.
> Removing files below the longest path without '[' may be a good alternative
> (with an optional check box "Clean directory").
> Another solution is to keep the previous retrieved artifacts and removing them if still
> present just before the new retrieve.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message