- Documentation (2.2.0.final)
- Release Notes
- Classpath Container
- Non-Java dependencies
- Ivy file editor
- Ivy settings editor
- Eclipse global preferences
- Eclipse variables
- Ivy Console
- Eclipse's Ant integration
- Reverse Dependency Explorer
- Resolve Visualizer
- Developer doc
Ivy is a generic dependency manager and can manipulate jars as well as any other kind of resources. IvyDE leverages this feature by bringing dependency management to non Java Eclipse projects.
Import the sample project into EclipseThe full project sample can be downloaded from there. Unzip it somewhere and import it into Eclipse (see "Existing Projects into Workspace" in the "Import" menu).
In the sample project, an Ivyde classpath container is already configured, so the Eclipse project already has the "Ivy" nature.
In case your project doesn't has it, right click on the project and in the menu "Configure" select "Add Ivy dependency management".
NameIt gives a human readable name to the retrieve setup. This name will be used later in the context menu to actually launch a retreive of the dependencies.
Ivy fileThe ivy file which declares the dependencies to retrieve.
For the sample project, we will use the same one has the one which is used for the Java dependencies (it is not required).
Retrieve patternIt defines where the dependencies should be retrieved.
For the sample project we want them there: src/org/apache/ivyde/sample/webappjsrepo/js/[artifact]-[revision].[ext].
Delete old retrieved artifactsBefore doing a retrieve, the location where the dependencies are dowloaded will be wiped out is this option is selected.
ConfigurationsThis is a comma separated list of configuration names which will be used for the resolve (* means All).
For the sample project, we want it to be js.
TypesThis is a comma seperated list of type names which is be retrieved (* means All).
For the sample project, we want them all: *.
Now in the "Settings" tab, the setup entries are the same as the global ones. Click on "Enable project specific settings" to customize for your setup.
Finally, click OK to finish.
Select the entry to actually launch the retrieve. The Eclipse project get automatically refreshed with the retrieved files. For the sample project look into src/org/apache/ivyde/sample/webappjsrepo/js/jquery-1.7.1.min.js.
Launch the sample webappTo see the result, we'll launch the Java webapp and look it it your browser locally.
Right click the Java class org.apache.ivyde.sample.webappjsrepo.HTTPServer and select "Run As" / "Java Application".
Now open the web page http://localhost:8888/index.html