The following comment has been added to this issue:

     Author: gilles dodinet
    Created: Tue, 13 Apr 2004 3:28 PM
       Body:
also Resource comparison would be useful too : relaxEquals() may return true if 
<includes> dont match and conflict may return true if <includes> of the resource being 
compared and the <excludes> of the parameter overlap. 


Another useful shortcut would methods to directly tell if an artifact or a resource is 
already present in pom (with a parameter to specify the level of confidence : 
strict/relax/conflict ?). 



---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MNG-1&page=comments#action_18599

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MNG-1

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MNG-1
    Summary: directory and artifact comparison
       Type: Improvement

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: m2

   Assignee: 
   Reporter: gilles dodinet

    Created: Tue, 13 Apr 2004 3:12 PM
    Updated: Tue, 13 Apr 2004 3:28 PM

Description:
1. artifacts
in mevenide to synchronize pom with ide we need to display artifacts if they are not 
already added to ide (and vice-versa). for that purpose we need to have a comparison 
mechanism. so a equals() method is needed, but also other utility methods like (non 
exhaustive) : 

o myArtifact.conflicts(myOtherArtifact) and
o myArtifact.relaxEquals(myOtherArtifact)

f.i. conflicts would return true if same groupId and sameAritfactId but incompatible 
version, relaxEquals would return true if version is compatible, etc.. (just some 
quick thoughts)

2. directories 
although not as needed as artifact comparison it would be util to have utility to 
compare a Resource with a given path that might be relative or to ${basedir} or 
absolute. 






---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to