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

Daniel Holmes updated IVYDE-318:
--------------------------------

    Component/s:     (was: workspace resolver)
                 classpath container
    Description: 
I'm getting an error which shows up on the IvyDE Managed Libraries screen, the 
Settings tab on the Ivy Setting Path.  It says "Parsing error of the Ivy 
Settings".  My ivysettings.xml file works fine in my ant/ivy level build.

It appears that the properties defined in the property files also listed on 
this Settings tab are not used to do variable substitution on my Ivy settings 
file for the <classpath> tag definitions within it.  It appears that only the 
ivy.settings.dir property is actually substituted.  See the 
IvySettingsFile.java substitute method 

    private String substitute(String str) {
        Map variables = new HashMap();
        if (file.getParentFile() != null) {
            URI settingsDirUri = file.getParentFile().toURI();
            variables.put("ivy.settings.dir", settingsDirUri.toString());
        }
        return IvyPatternHelper.substituteVariables(str, variables);
    }

This needs to allow for the full set of properties configured via the 
associated properties files for these settings to be part of this variable 
substitution.

  was:
I'm getting an error which shows up on the IvyDE Managed Libraries screen, the 
Settings tab on the Ivy Setting Path.  It says "Parsing error of the Ivy 
Settings".  There is no other context to the error and nothing that gets logged 
in the eclipse log file of any type of ParseException stack or the like.

Thing is, my ivysettings.xml file works fine in my ant/ivy level build.

I have a version of an ivysettings that was fine before.  We added some 
extensions for direct Perforce resolving and ibiblio path for another 
retriever, and then the file did not work.  I have been unable to comment down 
again to a working file to further narrow the issue.

Is there some way that I would better debug what is the reason for the error?

        Summary: Incomplete variable substitution for ivysettings.xml  (was: 
Parsing Error of the Ivy Settings)
    
> Incomplete variable substitution for ivysettings.xml
> ----------------------------------------------------
>
>                 Key: IVYDE-318
>                 URL: https://issues.apache.org/jira/browse/IVYDE-318
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 2.2.0.beta1
>         Environment: Eclipse Helios
>            Reporter: Daniel Holmes
>
> I'm getting an error which shows up on the IvyDE Managed Libraries screen, 
> the Settings tab on the Ivy Setting Path.  It says "Parsing error of the Ivy 
> Settings".  My ivysettings.xml file works fine in my ant/ivy level build.
> It appears that the properties defined in the property files also listed on 
> this Settings tab are not used to do variable substitution on my Ivy settings 
> file for the <classpath> tag definitions within it.  It appears that only the 
> ivy.settings.dir property is actually substituted.  See the 
> IvySettingsFile.java substitute method 
>     private String substitute(String str) {
>         Map variables = new HashMap();
>         if (file.getParentFile() != null) {
>             URI settingsDirUri = file.getParentFile().toURI();
>             variables.put("ivy.settings.dir", settingsDirUri.toString());
>         }
>         return IvyPatternHelper.substituteVariables(str, variables);
>     }
> This needs to allow for the full set of properties configured via the 
> associated properties files for these settings to be part of this variable 
> substitution.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to