ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stefano porcu (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IVY-1341) Ivy - ivy.xml with duplicate child element
Date Thu, 22 Mar 2012 14:10:22 GMT
Ivy - ivy.xml with duplicate child element
------------------------------------------

                 Key: IVY-1341
                 URL: https://issues.apache.org/jira/browse/IVY-1341
             Project: Ivy
          Issue Type: Bug
    Affects Versions: 2.0
         Environment: JAVA_HOME=C:\java\jdk1.6.0_30
ANT_HOME=C:\tools\apache-ant-1.6.5

            Reporter: stefano porcu


this is an example of my ivy.xml:

  <dependency org="org1" name="module1" rev="1.0.0">
		<artifact name="lib1-1.0.0" type="jar" />
  </dependency>
	  
   <dependency org="org1" name="module1" rev="1.0.0">
			<artifact name="lib2-1.0.0" type="jar" />
   </dependency>

with ivy 1.0.0 I can download both artifatcs

when I upgrade my version to ivy-2.0.0

only one of the artifact is downloaded.

is there something in ivy settings I must specified ?
I know that if I write the file like this:


  <dependency org="org1" name="module1" rev="1.0.0">
		<artifact name="lib1-1.0.0" type="jar" />
		<artifact name="lib2-1.0.0" type="jar" />
  </dependency>
	  
 it works !

But why not the first example? 
there's a workaround?


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message