ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (IVYDE-35) Parsing ivy file fails in IvyDE while it succeeds in Ant
Date Mon, 23 Feb 2009 22:20:01 GMT

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

maartenc edited comment on IVYDE-35 at 2/23/09 2:18 PM:
-------------------------------------------------------------

You get this error because IvyDE/Ivy doesn't know how to replace all these properties like
${commons-logging.version}, ${log4j.version}, etc.
I don't know how you load these properties in Ant, but if they are defined in a properties
file, you could load that properties file in your ivysettings.xml. 

Nicolas: is it already possible to load such properties files from within IvyDE?

      was (Author: maartenc):
    You get this error because IvyDE/Ivy doesn't know how to replace all these properties
like ${commons-logging.version}, ${log4j.version}, etc.
I don't know how you load these properties in Ant, but if they are defined in a properties
file, you could load that properties file in your ivysettings.xml. 

Nicolos: is it already possible to load such properties files from within IvyDE?
  
> Parsing ivy file fails in IvyDE while it succeeds in Ant
> --------------------------------------------------------
>
>                 Key: IVYDE-35
>                 URL: https://issues.apache.org/jira/browse/IVYDE-35
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 1.2.0
>            Reporter: Maarten Coene
>            Assignee: Nicolas Lalevée
>             Fix For: 2.0.0.final
>
>         Attachments: ivy.xml, velocity-1.4.ivy
>
>
> Hi,
> I receive the following error when doing a resolve:
> === eclipse log file ===
> !ENTRY org.jayasoft.ivyde.eclipse 1 0 2006-10-10 16:13:06.484
> !MESSAGE resolved dependencies of C:\working\vhs\scontra_vhscontract\ant\ivy.xml
> !ENTRY org.jayasoft.ivyde.eclipse 4 4 2006-10-10 16:13:06.494
> !MESSAGE Impossible to resolve dependencies of [ LCMB | scontra-vhscontract | NONE ]:
> unresolved dependency: [ OTHER | velocity | 1.4 ]: java.text.ParseException: [[Fatal
Error] c:\working\repository\commons\lcm\ant_build\ivy\velocity-1.4.ivy:1:-1: Document root
element is missing. in c:\working\repository\commons\lcm\ant_build\ivy\velocity-1.4.ivy
> ]
> See IvyConsole for further details
> === end ===
> However, I checked the velocity-1.4.ivy file and the XML is correct.
> Even more, if I resolve the ivy file using ant, there is no problem parsing the velocity-1.4.ivy
file
> regards,
> Maarten

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