Eclipse global preferences


IvyDE maintains a global configuration, which controls the behaviour of every Ivy instance in every project in the workspace. This global configuration can be overrided in each project.

The global configuration can be found in the preferences of Eclipse (menu Window > Preferences for Windows and Linux users, Eclipse > Preferences for mac users), and select the item Ivy.

Global Ivy preferences

  • On Eclipse startup: Specifies what IvyDE should do in every project containing an IvyDE managed classpath container when Eclipse is starting up.
  • On Ivy file change: Controls whether a resolve is performed each time Eclipse detects a change on an ivy.xml file configured by an IvyDE container via a save in the editor, a refresh, or a team/update.
  • Organisation: Your company name for Ivy editor completion.
  • Organisation URL: Your company web site url for Ivy editor completion.

Classpath configuration

  • Resolve dependencies in workpace: IvyDE allows Ivy dependencies between projects in the workspace to be realized through project references rather than jars from the repository. See the documentation for further information on this feature.
  • Resolve before launch: an IvyDE container can be used in the classpath of a launch configuration, and the container can be resolved on each launch. See the documentation about launch configurations for further information on this feature.
  • Order of the classpath entries: By default, the classpath container entries are ordered by order of declaration in the ivy.xml. When there are many entries, it can be useful to have them ordered lexically for enhanced readability.
  • Accepted types: A comma separated list of extensions which will make IvyDE add the artifact to the classpath
  • Sources types: A comma separated list of Ivy "type" names which should be considered sources.
  • Sources suffixes: a comma separated list of suffixes which will make IvyDE attach as source the artifact with the suffix to the artifact without the suffix. For instance, "commons-lang-sources.jar" will be attached as source to "commons-lang.jar" with the default value.
  • Javadoc types: same as sources types but for javadocs
  • Javadoc suffixes: same as sources suffixes but for javadocs

Retrieve setup

    If checked, a retrieve job will be triggered after each the resolve.
  • Retrieve pattern: The pattern to use for the retrieve. Check Ivy documentation for pattern explanation.
  • Delete old retrieve artifacts: On each retrieve, the previously retrieved libraries will be removed (similar to the sync argument in the Ant task).
  • Retrieve configurations: The configurations to retrieve (a comma separated list)
  • Retrieve types: The types of artifact to retrieve (a comma separated list)

Ivy settings

  • Reload the settings only on demand: By default, IvyDE will parse the ivy settings file each times it is needed (each resolve, refresh, clean cache or completion in the ivy editor). For remote ivysettings this can slow the UI dramatically, so it is possible to make IvyDE keep the settings in a cache and only reload them via the context menu on the container).
  • Ivy settings path: The path to your ivy settings file. Leave it blank to use Ivy default resolvers. See also the documentation about Eclipse variables.
  • Property files: This is a comma separated list of Java properties files to be loaded along with the settings.

Workspace resolver

  • Closing trigger resolve: Closing a project which has the workspace resolver enabled will trigger a resolve on every project that depends on it.
  • Opening trigger resolve: When a project is opened, IvyDE will trigger the resolve of every other project which has the workspace resolver enabled.
  • Ignore version when resolving workspace projects: This option forces the workspace resolver to ignore the version of a module specified in an ivy.xml if a project containing an Ivy file with that module organization and name is found in the workspace, instead substituting a project reference. This may have unintended consequences.

Printer Friendly