ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <>
Subject [jira] Commented: (IVYDE-247) Project variables not resolving when using Show In Reverse Dependency Explorer
Date Tue, 24 Aug 2010 13:38:16 GMT


Nicolas Lalevée commented on IVYDE-247:

The root of the issue is that ${project_loc} depends of the current selection in the workspace.
Eclipse's message is about that: "Underlying error (org.eclipse.core.runtime.CoreException):
Variable references empty selection: ${project_loc}"

If you launch an Ivy resolve by selecting the project, it will effectively resolve correctly.
Try on IvyDE's container, you will see that it fails just like the reverse dependency explorer.

I googled and I found that:

I understand though your usecase. I haven't found a way to properly do it with just Eclipse
variables. If you do I would be glad to hear about.
Maybe IvyDE could do the substitution itself has it does know in which project the resolve
does happen. But I would be worried about overriding Eclipse standard behavior about variables.

> Project variables not resolving when using Show In Reverse Dependency Explorer
> ------------------------------------------------------------------------------
>                 Key: IVYDE-247
>                 URL:
>             Project: IvyDE
>          Issue Type: Bug
>          Components: workspace resolver
>    Affects Versions: 2.1.0
>         Environment: Windows 7, Eclipse 3.5.2
>            Reporter: Marc Batchelor
> 1- At workspace level (window->Preferences->Ivy->Settings), set "Ivy Settings
Path" and "Property Files" as follows:
>   Ivy Settings path: ${project_loc}/ivysettings.xml
>   Property Files: ${project_loc}/
> 2- Have a project with dependencies
> 3- Right click on the project and resolve to make sure that it results properly
> 4- Right-click on this project and try "Show In Reverse Dependency Tree" - an exception
> Unable to find a module descriptor associated with D:/workspace/project/ivy.xml
> Error while resolving the ivy instance for ivy.xml in
> 'project':
>   Unrecognized variables in the Ivy settings file ${project_loc}/ivysettings.xml
> Underlying error (org.eclipse.core.runtime.CoreException): Variable
> references empty selection: ${project_loc}

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

View raw message