You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by "Maarten Coene (JIRA)" <ji...@apache.org> on 2007/03/22 22:33:32 UTC
[jira] Assigned: (IVY-441) Ivy should fail if ';' has been used in
publications/artifact/@conf of ivy.xml
[ https://issues.apache.org/jira/browse/IVY-441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene reassigned IVY-441:
---------------------------------
Assignee: Maarten Coene
> Ivy should fail if ';' has been used in publications/artifact/@conf of ivy.xml
> ------------------------------------------------------------------------------
>
> Key: IVY-441
> URL: https://issues.apache.org/jira/browse/IVY-441
> Project: Ivy
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.4.1
> Reporter: easyproglife
> Assigned To: Maarten Coene
> Priority: Critical
>
> If you intend to publish an artifact on 2 (or more) configurations, and you use the ';' character as configurations separator in conf attribute of publications/artifact element, ivy simply continues and publish nothing but ivy.xml. No jars are published.
> The correct separator is ',' character so ';' separator should cause ivy to fail (or at least warn).
> Example:
> not-working ivy.xml: (published only ivy.xml)
> <ivy-module version="1.0">
> <info organisation="ivy-bug" module="test_proj" revision="1.0"/>
> <configurations>
> <conf name="compile" transitive="false"/>
> <conf name="runtime"/>
> </configurations>
> <publications>
> <artifact name="test_proj" type="jar" conf="compile; runtime"/>
> </publications>
> </ivy-module>
> Working ivy.xml (publishes also jar):
> <ivy-module version="1.0">
> <info organisation="ivy-bug" module="test_proj" revision=" 1.0"/>
> <configurations>
> <conf name="compile" transitive="false"/>
> <conf name="runtime"/>
> </configurations>
> <publications>
> <artifact name="test_proj" type="jar" conf="compile, runtime"/>
> </publications>
> </ivy-module>
> Notice the ';' and ',' in publications/artifact/@conf.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.