ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kaygee <kay...@gmail.com>
Subject impossible to install ... contains revision 'X' more than once
Date Thu, 04 Jun 2009 17:22:42 GMT

I'm running my builds in Hudson and have two scheduled ant targets. The first
is to perform the build, the second is to publish from a filesystem
repository (which the project builds) to an ivysvn repository... I've seen
this error a couple times now and I'm looking to "fix" the problem... to get
it running again by deleting the ivydata-X.properties for the revision
indicated. Am I not supposed to call the ant tasks individually or something
else?

Here's my build output...

[xml-its] $ ant -Dbuild.number=${BUILD_NUMBER} main
Buildfile: build.xml

clean:

ivy-init:

ivy-download:
    [mkdir] Created dir:
/home/jboss/.hudson/jobs/xml-its/workspace/xml-its/ivy
     [echo] Installing Ivy...
      [get] Getting:
http://ci.ii4sm.com:8080/archiva/repository/external-proxy/org/apache/ivy/ivy/2.1.0-rc1/ivy-2.1.0-rc1.jar
      [get] To:
/home/jboss/.hudson/jobs/xml-its/workspace/xml-its/ivy/ivy.jar

ivy-load:

ivy-resolve:
[ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/
::
:: loading settings :: file =
/home/jboss/.hudson/jobs/xml-its/workspace/xml-its/ivysettings.xml
IvySvn Build-Version: 2.0.0-rc2
IvySvn Build-DateTime: 2009-01-27 14:07:45
[ivy:retrieve] :: resolving dependencies ::
com.ii4sm#xml-its;working@17415-43073
[ivy:retrieve] 	confs: [publish, build]
[ivy:retrieve] 	found org.apache#log4j;1.2.15 in ii4sm.3rdparty.repo
[ivy:retrieve] 	found org.testng#testng-jdk15;5.8 in ii4sm.3rdparty.repo
[ivy:retrieve] 	found org.apache#commons-lang;2.4 in ii4sm.3rdparty.repo
[ivy:retrieve] :: resolution report :: resolve 132ms :: artifacts dl 7ms
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      publish     |   0   |   0   |   0   |   0   ||   0   |   0   |
	|       build      |   3   |   0   |   0   |   0   ||   3   |   0   |
	---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: com.ii4sm#xml-its
[ivy:retrieve] 	confs: [publish, build]
[ivy:retrieve] 	3 artifacts copied, 0 already retrieved (1462kB/14ms)

bind.schema:
      [xjc] Compiling
file:/home/jboss/.hudson/jobs/xml-its/workspace/xml-its/resources/xsd/Schemas/test.xsd
      [xjc] removing old output files
      [xjc] Writing output to
/home/jboss/.hudson/jobs/xml-its/workspace/xml-its/generated-src/main

compile:
    [mkdir] Created dir:
/home/jboss/.hudson/jobs/xml-its/workspace/xml-its/build/classes
    [mkdir] Created dir:
/home/jboss/.hudson/jobs/xml-its/workspace/xml-its/dist
    [javac] Compiling 1170 source files to
/home/jboss/.hudson/jobs/xml-its/workspace/xml-its/build/classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

jar:
    [mkdir] Created dir:
/home/jboss/.hudson/jobs/xml-its/workspace/xml-its/build/jar
      [jar] Building jar:
/home/jboss/.hudson/jobs/xml-its/workspace/xml-its/dist/xml-its-7.jar

main:

BUILD SUCCESSFUL
Total time: 15 seconds
[xml-its] $ ant -Dbuild.number=${BUILD_NUMBER} ivy-install-svn
Buildfile: build.xml

ivy-init:

ivy-download:

ivy-load:

ivy-install-svn:
[ivy:install] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ ::
:: loading settings :: file =
/home/jboss/.hudson/jobs/xml-its/workspace/xml-its/ivysettings.xml
IvySvn Build-Version: 2.0.0-rc2
IvySvn Build-DateTime: 2009-01-27 14:07:45
[ivy:install] :: installing com.ii4sm#xml-its;7 ::
[ivy:install] :: resolving dependencies ::
[ivy:install] 	found com.ii4sm#xml-its;7 in project-build-dist
[ivy:install] :: downloading artifacts to cache ::
[ivy:install] downloading
/home/jboss/.hudson/jobs/xml-its/workspace/xml-its/dist/xml-its-7.jar ...
[ivy:install] ................ (905kB)
[ivy:install] 	[SUCCESSFUL ] com.ii4sm#xml-its;7!xml-its.jar (9ms)
[ivy:install] :: installing in ii4sm.internal.repo ::
[ivy:install] Scheduling publish to
http://dev.ii4sm.com/svn/dev/ivy/internal/com.ii4sm/xml-its/7/xml-its.jar
[ivy:install] Commit transaction not started, nothing to abort

BUILD FAILED
/home/jboss/.hudson/jobs/xml-its/workspace/xml-its/ivy.build.xml:19:
impossible to install com.ii4sm#xml-its;7: java.lang.IllegalStateException:
Ivy destination folder 'ivy/internal/com.ii4sm/xml-its/7' contains revision
'7' more than once

Total time: 0 seconds
Finished: FAILURE

-- 
View this message in context: http://www.nabble.com/impossible-to-install-...-contains-revision-%27X%27-more-than-once-tp23874329p23874329.html
Sent from the ivy-user mailing list archive at Nabble.com.


Mime
View raw message