Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Equinox p2 Touchpoint Instructions"

(Native Touchpoint)
Line 6: Line 6:
 
The native touchpoint is used to install things "outside of eclipse".
 
The native touchpoint is used to install things "outside of eclipse".
  
* cleanupzip(source, target)
+
{| {{Greytable}}
* unzip(source, target)
+
|-valign="top"
* chmod(targetDir, targetFile, permissions)
+
| '''instruction'''
* collect(???)
+
| '''description'''
* link(???)
+
|- valign="top"
 +
| cleanupzip(source, target)
 +
|
 +
|- valign="top"
 +
| unzip(source, target)
 +
|
 +
|- valign="top"
 +
| chmod(targetDir, targetFile, permissions)
 +
| changes mode on the targetFile in the targetDir (a path), permissions is written the same way as to the system command "chmod",
 +
|- valign="top"
 +
| collect(???)
 +
|
 +
|- valign="top"
 +
| link(???)
 +
|
 +
|}
  
 
=Eclipse Touchpoint=
 
=Eclipse Touchpoint=

Revision as of 21:23, 18 June 2008

Work in Progress

A P2 installable Unit (IU) can be installed into one touchpoint. The IU meta data consists of a reference to the touchpoint (Touchpoint Type), and describes a set of actions/instructions to execute on the referenced touchpoint. Currently, two touchpoints (native, and eclipse) have been implemented. The native touchpoint has aprox 5 different actions, and the eclipse touchpoint has aprox 20. Some of these actions take parameters. The actions and parameters are encoded in a Map where they keys are the references to actions, and the value is a single parameter, or a map of multiple parameters. This wiki page describes the two touchpoints, and the instructions they understand.

Native Touchpoint

The native touchpoint is used to install things "outside of eclipse".

instruction description
cleanupzip(source, target)
unzip(source, target)
chmod(targetDir, targetFile, permissions) changes mode on the targetFile in the targetDir (a path), permissions is written the same way as to the system command "chmod",
collect(???)
link(???)

Eclipse Touchpoint

  • collect
  • installBundle
  • uninstallBundle
  • addSourceBundle
  • removeSourceBundle
  • installFeature
  • uninstallFeature
  • setLauncherName
  • addProgramArgument
  • removeProgramArgument
  • setStartLevel
  • markStarted
  • setFrameworkDependentProperty
  • setFrameworkIndependentProperty
  • setProgramProperty
  • addJVMArgument
  • mkdir
  • rmdir
  • link
  • chmod
  • checkTrust

Back to the top