ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgodbey <dgod...@YAHOO.COM>
Subject Problem with javax.transaction.jta and ivy roundup
Date Thu, 16 Jul 2009 18:04:42 GMT

I've hit a brick wall since geebis ivy repo went down. Google roundup is an
adequate replacement for geebis except for this problem: java transaction
api jar file.

I'm using ibibio and google roundup together because neither of them has the
complete set of dependencies I need. 

In a nutshell, this
http://ivyroundup.googlecode.com/svn/trunk/repo/modules/javax.transaction/jta/
won't come down via packager. It will come down from ibiblio, but not if I
use a chain resolver including ivyroundup packager. Doesn't matter which
order I put the repos. Can anyone verify or tell me what I'm doing wrong?

ivysettings file:
<?xml version="1.0"?>
<!-- $Id: ivysettings.xml 921 2009-03-29 16:31:04Z dgodbey2 $ -->
<ivysettings>
  <settings defaultResolver="${default-resolver}"/>
  <resolvers>
    <chain name="local-ivyroundup-resolver" returnFirst="true">
     <ibiblio name="ibiblio" m2compatible="true" />
     <packager name="ivyroundup"
         buildRoot="${user.home}/.ivy2/packager/build"
         resourceCache="${user.home}/.ivy2/packager/cache"
         resourceURL="http://repo1.maven.org/maven2">
       <ivy
pattern="http://ivyroundup.googlecode.com/svn/trunk/repo/modules/[organisation]/[module]/[revision]/ivy.xml"/>
       <artifact
pattern="http://ivyroundup.googlecode.com/svn/trunk/repo/modules/[organisation]/[module]/[revision]/packager.xml"/>
     </packager>
    </chain>
  </resolvers>
</ivysettings>

ivy.xml file with all other dependencies removed:
<?xml version="1.0"?>
<!-- $Id: ivy.xml 6260 2009-03-29 17:45:03Z dgodbey2 $ -->
<ivy-module version="2.0">
    <info organisation="Indyne" module="Exchange Integration"/>
    <configurations>
    	<conf name="default"  description="Default configuration."/>
    	<conf name="log4j"  description="Give me the log4j12 only."/>
    </configurations>
    <dependencies>
        <dependency org="javax.transaction" name="jta" rev="1.1"
conf="default" transitive="false"/>
    </dependencies>
</ivy-module>

When I run ivy resolve, I get this exception. 

[ivy:resolve] --- Nested Exception ---
[ivy:resolve] java.io.FileNotFoundException:
/home/djg/.ivy2/packager/build/javax.transaction/jta/1.1/packager.xml (No
such file or directory)
[ivy:resolve]   at java.io.FileInputStream.open(Native Method)
[ivy:resolve]   at java.io.FileInputStream.<init>(FileInputStream.java:106)
[ivy:resolve]   at
org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform(TraXLiaison.java:176)
[ivy:resolve]   at
org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:709)
[ivy:resolve]   at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:333)
[ivy:resolve]   at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[ivy:resolve]   at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown
Source)
[ivy:resolve]   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Any help most appreciated.
Dave
-- 
View this message in context: http://www.nabble.com/Problem-with-javax.transaction.jta-and-ivy-roundup-tp24521540p24521540.html
Sent from the ivy-user mailing list archive at Nabble.com.


Mime
View raw message