ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Eigenbrodt (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVYDE-96) IvyDE does not honour the "validate" Attribute in a ivysetting file
Date Mon, 18 Aug 2008 10:29:44 GMT

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

Martin Eigenbrodt commented on IVYDE-96:
----------------------------------------

Hi,
I added some files to reproduce the problem:

| problem-ivy.xml |  an ivy Module that  contains a custom tag|
| ivy.xml | an Ivy File that depends on problem-ivy.xml|
| build.xml| and simple an script that has one target to publish problem-ivy.xml and one to
resolve it |
|ivysettings.xml | a simple ivysettings that set validate to false and introduces a single
filesystem resolver|

Best regards,

Martin

> IvyDE does not honour the "validate" Attribute in a ivysetting file
> -------------------------------------------------------------------
>
>                 Key: IVYDE-96
>                 URL: https://issues.apache.org/jira/browse/IVYDE-96
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 1.2.0
>            Reporter: Martin Eigenbrodt
>         Attachments: build.xml, ivy.xml, ivysettings.xml, problem-ivy.xml
>
>
> Parsing of ivy files that use custom attributes fail although validate is set to false
in the used ivyconfiguration/setting.
> The Solutions is to change the two occurences of new ResolveOption in IvyResolveJob (Line
227, 240): add setValidate(ivy.getSettings().doValidate())
>                                  ResolveReport r = ivy.resolve(md, new ResolveOptions()
>                                         .setConfs((String[]) conf.confs
>                                                 .toArray(new String[conf.confs.size()]))*.setValidate(ivy.getSettings().doValidate())*);

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