HowTo build SONIVISTool from command line

From SONIVIS:Wiki

Jump to: navigation, search

Following the guide at http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.pde.doc.user/guide/tasks/pde_product_build.htm

  • Next create a directory - called buildDirectory - and check out all SONIVIS plugins as source code to a plugins subdirectory of that buildDirectory. The product file should be in one of this plugins (de.sonivis.tool.installer atm)
  • Then create another directory - called buildConfiguration or configDirectory - and copy build.properties from the plugin org.eclipse.pde.build/templates/headless-build to it. Edit this file and set the following properties:
product: the location of your product configuration file in the form "/<plugin or feature id>/path/to/.product"
baseLocation: the location of an eclipse install containing all the pre-built features and plug-ins that your product requires in features/ and plugins/ subdirectories. The RCP delta pack (it is available from the eclipse download page) is mandatory as it includes the org.eclipse.platform.launchers feature which contains the launchers and root files necessary for a product.
buildDirectory: the directory the build will take place in. Set this to the full path of the build directory created previously.
configs: list the configurations for which you want your product to be built. You can uncomment the configuration(s) provided (be careful of the line continuations).
archivePrefix: the name of the directory of your product once installed on disk.
  • Build the Tool :-) Type
java -jar <baseLocation>/plugins/org.eclipse.equinox.launcher_<version>.jar 
 -application org.eclipse.ant.core.antRunner 
 -buildfile <baseLocation>/plugins/org.eclipse.pde.build_<version>/scripts/productBuild/productBuild.xml
 -Dbuilder=<path to configDirectoryr>
Personal tools