[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] Using p2 provisioning actions and touchpoints

I’m trying to use the p2 provisioning actions and touchpoints on plugin install, but I can’t seem to get anything to happen (and no errors are being logged).


My goal is to be able to unzip a file somewhere (preferably a user-configurable location).  A nice-to-have would be to be able to run some additional java code afterwards.  The native touchpoint’s “unzip” provisioning action seemed like a great place to start, but I can’t work out how to get it to work.  Here’s my p2.inf (I figured I would start with hard-coded values, and work my way up from there):




Both locations already exist.  Am I missing something obvious, or maybe this just doesn’t work in Juno?  Do I need to also add anything to my plugin.xml or Manifest.mf?


I’ve read (and tried various things from) all of the following:






Since I couldn’t get the built-in ones to work, I figured I would try using the projects in the example, and after I fixed some compile issues due to changes in locations of classes, and added these plugins to a feature and an update site, again, nothing happens on install (I modified the code to log an error, then create a file somewhere, still nothing):



This is unrelated to this particular mailing list, but in reality, my end goal is to create a server adapter that is installable from a zip embedded in the plugin, but I want my server to be recognized as a Virgo server so that we can leverage the Virgo tooling.  It’s really virgo+some extras.


Kristina Taylor
Senior Software Development Engineer

Integrity Business Unit


T 226.772.3478
E krtaylor@xxxxxxx

This e-mail message may contain information that is confidential and/or legally privileged. It is intended only for the named addressee(s) and any use or disclosure by others is strictly prohibited. If you have received this e-mail in error please notify the sender immediately and destroy all copies of the e-mail. Thank you.