ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Goldspink (JIRA)" <j...@apache.org>
Subject [jira] Updated: (IVYDE-89) Option to resolve to local eclipse projects
Date Fri, 01 Aug 2008 17:06:31 GMT

     [ https://issues.apache.org/jira/browse/IVYDE-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matt Goldspink updated IVYDE-89:
--------------------------------

    Attachment: ivyde_workspace_dependency_resolver.patch

I've put together a patch which takes some of the code from a patch on [http://issues.apache.org/jira/browse/IVYDE-89]
and on [https://issues.apache.org/jira/browse/IVYDE-43] but removes the workspace resolver
requirement and instead does a post process of the container to resolve dependencies within
the Eclipse workspace after a normal ivy resolve. I also add a config option on the Ivy configuration
page to turn this on and off for individual projects.

Our team has been using this code for several months now and found it very beneficial. It
would be great if this could be included in a future IvyDE? release.

Limitations: At the moment the code only matches projects in the workspace based on the _org_
and _module_ of a dependency. It ignores the _revision_ and does not match based on that because
we want to just use a _"latest.revision"_ version and match only to projects in the same workspace
with the same _org_ and _module_ . Therefore the limitation is that if you have two versions
of the same project in your workspace the resolution code will only pick one of these versions.
This is not an issue I expect many find a problem but I wanted to make any users aware of
this.

This patch is provided subject to Apache License 2.0:

COPYRIGHT NOTICE AND DISCLAIMER:

Copyright (c) 2008, Contributor

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language governing permissions
and limitations under the License. 

> Option to resolve to local eclipse projects
> -------------------------------------------
>
>                 Key: IVYDE-89
>                 URL: https://issues.apache.org/jira/browse/IVYDE-89
>             Project: IvyDE
>          Issue Type: Wish
>          Components: classpath container
>    Affects Versions: 2.0.0.alpha1
>            Reporter: Antony James Wilkins
>            Priority: Minor
>         Attachments: eclipse_project_resolve.patch, ivyde_workspace_dependency_resolver.patch
>
>
> It would be nice if the classpath container were able to resolve local eclipse projects
for dependencies on modules with revision="latest.integration".
> One approach might be to simply match eclipse projects against the names of the modules
in the ResolveReport, although ideally the eclipse project should be identified by it's ivy
module defined in that projects associated ivy.xml.

-- 
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