ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: Using IvyDE
Date Tue, 15 Jan 2008 16:29:13 GMT
On Jan 15, 2008 10:35 AM, Guillaume <guillaume@eruva.net> wrote:

> Hello,
>
> I want to integrate Ivy in an enterprise continous integration and build
> system. The whole picture
> is to have a central repository for the libraries (at the moment i'm
> mocking this repository with
> artifactory). Developpers are using Eclipse (various versions ranging from
> 3.0 to 3.3).
>
> Unfortunately i have a bit of trouble when it comes to IvyDE's integration
> and Eclipse 3.3. I
> found some interesting discussions in the archives but it's still not
> working. Selecting my
> project and then trying to add an IvyDE Managed Dependencies library
> fails. No error and almost no
> result except an empty "ivy.xml[*]" addition hidden in the buildpath (not
> shown in the package
> explorer but appears in properties-->build path).
>
> I know IvyDE would do the job i'm looking for. I've seen Xavier's demo at
> Javapolis (thank you
> Xavier for your nice demo).
>
> Thanks for any help, regards,

First, I suggest making sure your ivy settings work from Ant or from the
command line: it's much easier to debug. Then if it works from Ant you may
have a problem of eclipse configuration. Are you sure your ivy settings URL
is correct? When you say you see no log at all, have you checked the eclipse
error log? And the Ivy Console view?

Xavier



>
> Guillaume
>
> PS: Some details about my attempts.
> PS2: My apologies for doublon (previous mail was almost unreadable, mea
> culpa)
>
> Ivy:
> apache-ivy-2.0.0-beta1
> installed with the build.xml file provided at
> http://www.mail-archive.com/ivy-user@incubator.apache.org/msg02151.html
>
> IvyDE and Eclipse 3.3:
> using the jar from xoocode named
> org.apache.ivyde.eclipse_1.3.0.20071209120000.jar
>
> Here is my ivy.xml:
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <ivy-module version="1.0">
>   <info organisation="TestOrg" module="TestModule" status="integration"/>
> <configurations
> defaultconfmapping="test">
>      <conf name="test" />
>   </configurations>
>   <dependencies>
>      <dependency org="junit" name="junit" revision="3.8.1" conf="test"/>
>   </dependencies>
> </ivy-module>
>
> Here is my ivy-settings.xml (reference in eclipse
> windows-->preference-->ivy-->IvyConf Url):
> I'm using artifactory as a cache to repo1.maven.org/maven2
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <ivysettings>
>   <settings defaultResolver="artifactory" checkUpToDate="false" />
> <resolvers>
>      <url name="artifactory">
>         <ivy
> pattern="
> http://localhost:8081/artifactory/repo/[module]/[revision]/ivy-[revision].xml<http://localhost:8081/artifactory/repo/%5Bmodule%5D/%5Brevision%5D/ivy-%5Brevision%5D.xml>"
> />
>         <artifact
> pattern="
> http://localhost:8081/artifactory/repo/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]<http://localhost:8081/artifactory/repo/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/%5Bartifact%5D-%5Brevision%5D.%5Bext%5D>
> "
> />
>      </url>
>   </resolvers>
> </ivysettings>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>


-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

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