You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Nikita Lipatov (JIRA)" <ji...@apache.org> on 2010/11/04 14:31:44 UTC
[jira] Created: (IVY-1245) How to configure the configurations for
new ivy.xml without affecting old files ivy.xml
How to configure the configurations for new ivy.xml without affecting old files ivy.xml
---------------------------------------------------------------------------------------
Key: IVY-1245
URL: https://issues.apache.org/jira/browse/IVY-1245
Project: Ivy
Issue Type: Question
Components: Core
Environment: WinXP SP3; ant 1.7.1 - 1.8.1; ivy 2.0.0, 2.2.0
Reporter: Nikita Lipatov
Hi, guys!
I have the one problem with ivy - I should save the backward compatibility for old files ivy.xml and add a new feature with configurations for some new components. Old components must download the next list of files: vfs-ejb, vfs-web and vfs (conf for base and api-1.5), without the vfs-1.4, but I can't realize it.
It's painful for me.
I can't resolve this problem without affecting the old files ivy.xml
Anyone have any idea? What I should change in new ivy.xml for the resolving of problem?
Configurations for new components:
{code}
<ivy-module version="2.0">
<info organisation="vfs" module="vfs" revision="250" status="integration">
<projectname>test</projectname>
<isdistributed>yes</isdistributed>
<ismodified>yes</ismodified>
</info>
<configurations defaultconf="api-1.5" defaultconfmapping="*->api-1.5" confmappingoverride="true">
<conf name="base"/>
<conf name="api-1.4" extends="base"/>
<conf name="api-1.5" extends="base"/>
</configurations>
<publications>
<artifact name="vfs-1.4" type="libcomp" conf="api-1.4" ext="jar"/>
<artifact name="vfs" type="libcomp" conf="api-1.5" ext="jar"/>
<artifact name="vfs-ejb" type="libcomp" conf="base" ext="jar"/>
<artifact name="vfs-web" type="libcomp" conf="base" ext="jar"/>
</publications>
<dependencies>
<dependency transitive="false" conf="base->*" org="apache" name="log4j" rev="1.2.15"/>
<dependency transitive="false" conf="base->*" org="jdom" name="jdom" rev="1.1"/>
<dependency transitive="false" conf="base->*" org="junit" name="junit" rev="4.7"/>
</dependencies>
</ivy-module>
{code}
Example of old ivy.xml:
{code}
<ivy-module version="2.0">
<info organisation="test" module="test" revision="1.0">
<projectname>test</projectname>
<isdistributed>yes</isdistributed>
<ismodified>yes</ismodified>
</info>
<dependencies>
<dependency transitive="false" org="vfs" name="vfs" rev="250"/>
</dependencies>
</ivy-module>
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.