Skip to content
Bryan Hunt edited this page Aug 18, 2013 · 10 revisions

Bndtools

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

p2/PDE

###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.

###Add the eUnit repository.

###Set the target platform

  • Save the target definition file
  • Click Set as Target Platform in the editor

Clone this wiki locally