You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Shawn Castrianni (JIRA)" <ji...@apache.org> on 2008/06/04 21:00:47 UTC

[jira] Commented: (IVY-827) latest development build of SVN repository number 663029 has error in settings file include mechanism

    [ https://issues.apache.org/jira/browse/IVY-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602413#action_12602413 ] 

Shawn Castrianni commented on IVY-827:
--------------------------------------

I tracked down the real issue that recreates the bug.  It is when trying to include a file with a relative path.  So the following causes the error above:

<include file="${env.LGCBUILD}/ivy/release_specs/ivy-master.xml"/>

where LGCBUILD env variable is set to "./../lgcbuild"   (no quotes)

If I change LGCBUILD to an absolute path, it works.  If I revert to older beta2 ivy jar, it can handle the relative path just fine.

> latest development build of SVN repository number 663029 has error in settings file include mechanism
> -----------------------------------------------------------------------------------------------------
>
>                 Key: IVY-827
>                 URL: https://issues.apache.org/jira/browse/IVY-827
>             Project: Ivy
>          Issue Type: Bug
>            Reporter: Shawn Castrianni
>
> I just built the latest ivy code from the trunk and tried it out.  There appears to be a bug in the include mechanism for including one settings file into another.  Below is the bug I am getting.  Notice how the "lgcbuild/ivy" is repeated in the path to the file I am trying to include causing it to not be found.  If I revert back to the previous ivy jar I had (I think beta 2) everything works fine.  I need some of the latest fixes in ivy trunk.  I don't suppose anybody could fix this ASAP??
> /d01/devmani/lgcbuild/ivy/build/master.xml:443: impossible to configure ivy:settings with given file: /d01/devmani/lgcbuild/ivy/release_specs/ivy-DS_5000_0_1_0.xml :java.text.ParseException: failed to load settings from file:/d01/devmani/lgcbuild/ivy/release_specs/ivy-DS_5000_0_1_0.xml: io problem while parsing config file: /d01/devmani/lgcbuild/ivy/lgcbuild/ivy/release_specs/ivy-master.xml (No such file or directory)

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