Create a container

First you should have somewhere an ivy.xml file or a maven pom.xml ready to be used to build a classpath, along if needed with an ivysettings.xml.

Standard creation

The standard way to add the IvyDE classpath container is to manipulate the Eclipse's "Build Path":
  • Select the project in which you want to create a IvyDE classpath container and open the "Add Libraries" form of Eclipse (In package Explorer, in popup menu of your project choose : [Build Path]/[Add Libraries]).

  • Select "IvyDE Managed Dependencies" item.

  • Select an ivy.xml file or a maven pom.xml and the desired configurations.

  • You then might want to use specific settings for your project, a configuration different from the global one. For the ivy settings, click on the "Enable project specific settings" check box.

  • Your class path is set and you can see all dependencies in one unique folder of the package explorer (folder name = <ivy file name>[<configuration>]).

    Fast creation

    For most of the projects, the ivy.xml file (or the pom.xml) is in the java project. So you can just right click on the ivy.xml and select "Add Ivy Library..." and you will direclty access the prefilled setup of the IvyDE classpath container

    Printer Friendly