You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Martin Eigenbrodt (JIRA)" <ji...@apache.org> on 2008/06/13 15:18:45 UTC
[jira] Created: (IVYDE-96) IvyDE does not onour the "validate"
Attribute in a ivysetting file
IvyDE does not onour the "validate" Attribute in a ivysetting file
------------------------------------------------------------------
Key: IVYDE-96
URL: https://issues.apache.org/jira/browse/IVYDE-96
Project: IvyDE
Issue Type: Bug
Affects Versions: 1.2.0
Reporter: Martin Eigenbrodt
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.
[jira] Updated: (IVYDE-96) IvyDE does not onour the "validate"
Attribute in a ivysetting file
Posted by "Martin Eigenbrodt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVYDE-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Eigenbrodt updated IVYDE-96:
-----------------------------------
Component/s: classpath container
> IvyDE does not onour 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
>
> 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.
[jira] Updated: (IVYDE-96) IvyDE does not honour the "validate"
Attribute in a ivysetting file
Posted by "Martin Eigenbrodt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVYDE-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Eigenbrodt updated IVYDE-96:
-----------------------------------
Summary: IvyDE does not honour the "validate" Attribute in a ivysetting file (was: IvyDE does not onour the "validate" Attribute in a ivysetting file)
> 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
>
> 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.
[jira] Updated: (IVYDE-96) IvyDE does not honour the "validate"
Attribute in a ivysetting file
Posted by "Martin Eigenbrodt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVYDE-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Eigenbrodt updated IVYDE-96:
-----------------------------------
Attachment: problem-ivy.xml
> 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.
[jira] Resolved: (IVYDE-96) IvyDE does not honour the "validate"
Attribute in a ivysetting file
Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVYDE-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicolas Lalevée resolved IVYDE-96.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.0
Assignee: Nicolas Lalevée
thanks Martin.
I have reproduced the bug, and applied your suggested fix.
> 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
> Assignee: Nicolas Lalevée
> Fix For: 2.0
>
> 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.
[jira] Commented: (IVYDE-96) IvyDE does not honour the "validate"
Attribute in a ivysetting file
Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVYDE-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623119#action_12623119 ]
Nicolas Lalevée commented on IVYDE-96:
--------------------------------------
I am not able to reproduce your issue. Could you attach here your ivy.xml and your ivysettings please ?
> 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
>
> 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.
[jira] Updated: (IVYDE-96) IvyDE does not honour the "validate"
Attribute in a ivysetting file
Posted by "Martin Eigenbrodt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVYDE-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Eigenbrodt updated IVYDE-96:
-----------------------------------
Attachment: ivysettings.xml
ivy.xml
build.xml
some fiels to reproduce problem
> 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.
[jira] Commented: (IVYDE-96) IvyDE does not honour the "validate"
Attribute in a ivysetting file
Posted by "Martin Eigenbrodt (JIRA)" <ji...@apache.org>.
[ 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.