ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Koltsov (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVYDE-240) WorkspaceResolver: deal with self-dependencies
Date Sun, 21 Mar 2010 15:34:27 GMT
WorkspaceResolver: deal with self-dependencies
----------------------------------------------

                 Key: IVYDE-240
                 URL: https://issues.apache.org/jira/browse/IVYDE-240
             Project: IvyDE
          Issue Type: Improvement
          Components: workspace resolver
    Affects Versions: 2.0.0.final
            Reporter: Stepan Koltsov


I have several ivy modules (sources with ivy.xml files) imported as *single* Eclipse project
(to ease Eclipse configuration). Those modules have internal dependencies (one ivy.xml rererences
jar that is provided by another ivy.xml in the same Eclipse project). These internal dependencies
should be evicted by WorkspaceResolver. Currently WorkspaceResolver fails to recognize those
internal dependencies because of explicit self-reference check:

{code}
for (int i = 0; i < projects.length; i++) {
  IJavaProject javaProject = projects[i];
  if (resolvingJavaProject.equals(javaProject)) {
    // we don't want to introduce self dependency
    continue;
  }
  ...
}
{code}

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


Mime
View raw message