Ivy configuration
In order to work as you want, EasyAnt sometimes need some settings. Actually, EasyAnt can work with no specific settings at all, see the default settings documentation for details about that. Ivy is able to work in very different contexts. You just have to configure it properly.Settings are specified through an xml file, usually called ivysettings.xml.
Here is an example of settings file :
<ivysettings>Mainly, the settings enable to configure the default cache directory used by ivy and the dependency resolvers that it will use to resolve dependencies.
<properties file="${ivy.settings.dir}/ivysettings-file.properties" />
<settings defaultCache="${cache.dir}" defaultResolver="ibiblio" checkUpToDate="false" />
<resolvers>
<ibiblio name="ibiblio" />
<filesystem name="internal">
<ivy pattern="${repository.dir}/[module]/ivy-[revision].xml" />
<artifact pattern="${repository.dir}/[module]/[artifact]-[revision].[ext]" />
</filesystem>
</resolvers>
<modules>
<module organisation="jayasoft" name=".*" resolver="internal" />
</modules>
</ivysettings>
Note: To work, this settings file needs a property file named ivysettings-file.properties in the same directory as the settings file, with ivy variables you want in it.
If you want to have more details on this settings file we strongly recommend you to read the reference documentation of settings fileEasyAnt uses two ivy instance :
- used to resolve/retrieve EasyAnt modules (which can be buildtypes/ plugins or skeletons) dependencies
- used to resolve/retrieve project dependencies
Both instance are configurable.
- Project ivy instance can be configured through an ivysettings file defined through properties. Click here if you want more details.
- EasyAnt ivy instance can be configured through an ivysettings file defined in easyant-config. Click here if you want more details.