-
Notifications
You must be signed in to change notification settings - Fork 0
Install guide
Bryan Hunt edited this page Aug 18, 2013
·
10 revisions
Open the build.bnd file in the cnf project and add an Indexed Repository for eUnit with the URL: http://bryanhunt.github.com/eUnit/releases/1.0.0/index.xml.gz (use the URL for the appropriate relsease version).
It may be easier to use the Source tab to make the changes since you will probably want to include ${ext.repositories.-plugin} and my 3rd party libraries. For example:
-plugin: ${ext.repositories.-plugin},\
aQute.bnd.deployer.repository.FixedIndexedRepo;name=3p2;locations=http://bryanhunt.github.com/3rd-party-libs/index.xml.gz,\
aQute.bnd.deployer.repository.FixedIndexedRepo;name=eUnit;locations=http://bryanhunt.github.com/eUnit/releases/1.0.0/index.xml.gz
###Create a target definition
- Select File -> New -> Target Definition
- Click Next
- Select the project to contain the target file, give the file a name.target, and click Finish
###Add the dependencies
eUnit depends on JUnit and Hamcrest. You may use any p2 repository for those dependencies, or you may use my 3rd party library repository.
- In the target editor, click Add...
- Select Software Site and click Next
- Work with: http://bryanhunt.github.com/3rd-party-libs and press Return
- Check Hamcrest and JUnit then click Finish
###Add the eUnit repository.
- In the target editor, click Add...
- Select Software Site then click Next
- Work with: http://bryanhunt.github.com/eUnit/releases/1.0.0/ (use the URL for the appropriate relsease version) and press Return Check eUnit then click Finish
###Set the target platform
- Save the target definition file
- Click Set as Target Platform in the editor