ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archie Cobbs <archie.co...@gmail.com>
Subject Re: Problem with javax.transaction.jta and ivy roundup
Date Thu, 16 Jul 2009 19:11:17 GMT
I'm not sure why you are getting that particular error.. however, for one
thing, your resourceURL attribute is not valid and is only slowing you down
by causing download attempts that will always fail.

  http://ant.apache.org/ivy/history/latest-milestone/resolver/packager.html

You also know about the manually downloaded
modules<http://code.google.com/p/ivyroundup/wiki/ManuallyDownloadedSoftware>,
of which jta is one, right?

Can you put together a self-contained, minimal test case (in a zip or tgz
file)?

-Archie

On Thu, Jul 16, 2009 at 1:04 PM, dgodbey <dgodbey@yahoo.com> wrote:

>
> 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<http://ivyroundup.googlecode.com/svn/trunk/repo/modules/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/ivy.xml>
> "/>
>       <artifact
> pattern="
> http://ivyroundup.googlecode.com/svn/trunk/repo/modules/[organisation]/[module]/[revision]/packager.xml<http://ivyroundup.googlecode.com/svn/trunk/repo/modules/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/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.
>
>


-- 
Archie L. Cobbs

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message