I have browse the Ivy paperwork along with a couple of other lessons but am now attempting to really utilize it inside a project the very first time and i'm immediately given some roadblocks.

  • For that practice, I must write my own config (XML) files. Unsure where you can put ivy.xml, ivyconf.xml or ivy-configurations.xml: will i insert them in exactly the same directory as my build.xml?
  • Besides ivy.xml, ivyconf.xml and ivy-configurations.xml, are there more config files which i ought to know about? Where will i place individuals?
  • May be the IvyDE only a graphical Eclipse wordpress plugin that graphically edits ivyconf.xml or will it edit other files?

Thank you for any input - it has been remarkably difficult finding good information on this unique tool!

You'll need just one file ivysettings.xml. You can put it beside build.xml or perhaps in any preferred project directory. Optionally you could utilize a number of qualities files for various uses.

Besides ivysettings.xml recall about ivy cache directory. Frequently the very best solution for those dependency resolution problems would be to clean ivy cache by removing ezinearticles.

IvyDE enables you to definitely resolve project dependencies inside Eclipse. IvyDE produces new classpath container named ivy.xml. Inside this container you will find resolved libraries. And That I recomend you to employ local or intranet ivy repository with Eclipse, if solving takes a while it'll decelerate loading of the projects.

For instance I placed my ivysettings.xml which i use within my projects. As you can tell for Eclipse there's eclipse-ivy.qualities file. Within this file I order Ivy to make use of local repository inside Eclipse. In Ant script I personally use remote repository automatically, but there's a choice to select local repository.

<?xml version="1.0" encoding="UTF-8" ?>
<settings defaultResolver="${ivy.resolver}" />
<statuses default="development">
    <status name="release" integration="false"/>
    <status name="integration" integration="true"/>
    <status name="development" integration="true"/>
    <ssh name="remote" checkconsistency="true" checkmodified="true" descriptor="required">
        <ivy pattern="ssh://***/home/ivy/repository/[organisation]/[module]/[revision]/ivy.xml"/>
        <artifact pattern="ssh://***/home/ivy/repository/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
    <filesystem name="local">
        <ivy pattern="${user.home}/.local-ivy-repository/[organisation]/[module]/[revision]/ivy.xml"/>
        <artifact pattern="${user.home}/.local-ivy-repository/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>