-
Notifications
You must be signed in to change notification settings - Fork 71
[0] Generating a notes platform
For this process, a valid, licensed installation of Notes 9+ Social Edition with the OpenSocial Component installed is required. The OpenSocial Component can be selected on the Custom Setup page of the Notes installer. Eclipse 3.8+ is required as well.
The platform generation is required only for the command line build.
If you work within an Eclipse environment, you can use the notes.platorm platform definition from within the com.ibm.sbt project root folder.
You will need to configure the notes_install_path variable to point to your local notes installation.
Look here for how to configure variables in Eclipse based IDE
If you have access to domino you can use that as well, using the domino.platform target definition.
The p2 platform creation is performed by the Eclipse FeaturesAndBundlesPublisher task, launched for all of the Notes component folders.
These two commands will put all plugins needed in the target folder. The append flag will merge the content from the rcp and shared folders.
eclipse -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -metadataRepository [repository] -artifactRepository [repository] -publishArtifacts -compress -append -bundles "[notes]\framework\rcp\eclipse\plugins" -features "[notes]\framework\rcp\eclipse\features"
eclipse -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -metadataRepository [repository] -artifactRepository [repository] -publishArtifacts -compress -append -bundles "[notes]\framework\shared\eclipse\plugins" -features "[notes]\framework\shared\eclipse\features"
use appropriate value for:
- [repository] the location you want the repository to be created - use the **URI **sintax here, i.e. file:///
- [notes] the location of the notes installation directory
more information about this task here:
After creating a target platform, create a new target definition in eclipse using the current target as template, then add in the directory where the notes platform was created
more information about this task here:
http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Fconcepts%2Ftarget.htm
Launch the build passing a URI to the newly created target platform as a java system property named notes-platform, i.e.
mvn install -Dnotes-platform=[repository]