ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <j...@apache.org>
Subject [jira] [Commented] (IVYDE-366) "Unrecognized variables in the Ivy settings file ${workspace_loc:ProjectA/ivysettings.xml}" when property file not exists
Date Sat, 26 Apr 2014 12:54:14 GMT

    [ https://issues.apache.org/jira/browse/IVYDE-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13981972#comment-13981972
] 

Nicolas Lalevée commented on IVYDE-366:
---------------------------------------

This seems nice.
This will change the error reporting for existing users though. I would prefer an option in
"SettingsSetup" about "ignore missing property files".
And the check of the missing file should be rather be done in CachedIvy.createIvySettings(),
since the actual location of the property file is computed there.

> "Unrecognized variables in the Ivy settings file ${workspace_loc:ProjectA/ivysettings.xml}"
when property file not exists
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IVYDE-366
>                 URL: https://issues.apache.org/jira/browse/IVYDE-366
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 2.2.0.final
>            Reporter: Reto Stadler
>         Attachments: org.apache.IVYDE-366.patch
>
>
> Under Preferences -> Ivy -> Settings I set the "Ivy settings path:" which exists
and under "Property files:" two property files.
> The property files are configured as:
> ${workspace_loc:ProjectA/global.properties}
> ${workspace_loc:ProjectA/local.properties}
> The first property file exists. The second one not. I need this behaviour because we
share this settings in our company and some developer need the local.properties to override
properties.
> Because Eclipse could not substitute the property config ${workspace_loc:ProjectA/local.properties}
so an "Unrecognized variables in the Ivy settings file ${workspace_loc:ProjectA/ivysettings.xml}"
error. When I set the property file as ${workspace_loc:ProjectA}/local.properties I get no
error but an "File not found" in an other class.
> I fixed this issue and attached an patch.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message