ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Lipatov (JIRA)" <>
Subject [jira] Created: (IVY-1245) How to configure the configurations for new ivy.xml without affecting old files ivy.xml
Date Thu, 04 Nov 2010 13:31:44 GMT
How to configure the configurations for new ivy.xml without affecting old files ivy.xml

                 Key: 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:
<ivy-module version="2.0">
	<info organisation="vfs" module="vfs" revision="250" status="integration">
	<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"/>
		<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"/>
		<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"/>

Example of old ivy.xml:
<ivy-module version="2.0">
	<info organisation="test" module="test" revision="1.0">     
		<dependency transitive="false" org="vfs" name="vfs" rev="250"/>

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message