ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (IVY-579) Ivy silently fails XML errors in ivyrep
Date Thu, 03 Apr 2008 17:14:24 GMT

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

Xavier Hanin resolved IVY-579.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0)
                   2.0-RC1

I've added a unit test checking the error message in this case, and it works properly. This
has properly been fixed since the report.

Note that I haven't made a test with IvyRep specifically, but it should behave like any resolver
on this subject. Feel free to reopen this issue if you reproduce the problem with latest trunk
version.

> Ivy silently fails XML errors in ivyrep
> ---------------------------------------
>
>                 Key: IVY-579
>                 URL: https://issues.apache.org/jira/browse/IVY-579
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-alpha-2
>            Reporter: Ignacio Coloma
>            Assignee: Xavier Hanin
>             Fix For: 2.0-RC1
>
>
> When using an ivyrep, in case of XML parsing error (required attributes missing, for
example) ivy acts as if the file could not be found. Instead, it should fail with an error
message.
> When executing with -verbose you get the following output:
> [ivy:retrieve] problem occured while resolving dependency: [ displaytag | displaytag
| 1.1 ] {*=[*]}
>  with ivyLocal: java.text.ParseException: [xml parsing: C:\workspace\myproject\ivyrep\disp
> laytag\displaytag\ivy-1.1.xml:5:8: cvc-complex-type.4: Attribute 'organisation' must
appear on eleme
> nt 'info'. in C:\workspace\myproject\ivyrep\displaytag\displaytag\ivy-1.1.xml
> [ivy:retrieve] , xml parsing: C:\workspace\myproject\ivyrep\displaytag\displaytag\ivy-1.1.
> xml:5:8: cvc-complex-type.4: Attribute 'module' must appear on element 'info'. in C:\workspace\myproject\ivyrep\displaytag\displaytag\ivy-1.1.xml

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