Skip to content

how to compile ivyp4

fdrueke edited this page May 19, 2011 · 1 revision

In order to get ivyp4 compiled do the following steps:

  1. Create build.properties
    Copy build.properties.example to build.properties and enter a version-number for the property "version"

  2. Create ivysettings.xml
    Copy ivysettings.xml.example* to ivysettings.xml`.
    Uncomment the "..." part if you want a custom cachedir. The default is your ${user.home}/.ivy2.
    If you want the ivyroundup-cache in a custom directory, then replace the strings "/path/to/your/packagerdir" with a valid directoryname (for example in your cachedir). If you don't want custom directories, then simply remove the buildRoot and resourceCache attributes.

  3. Create test.properties
    In order to run unit-tests you need to create test/com/orga/ivy/plugins/p4resolver/test.properties by copiing test/com/orga/ivy/plugins/p4resolver/test.properties.examples.
    Edit the properties in test.properties to match your perforce server.
    Running the unit-tests creates a bunch of files and submits on your server. You should define the p4.repopath to a place on your server where this doesn't disturb anyone.

Clone this wiki locally