https://github.com/zendtech/studio-p2.touchpoint
Zend Studio p2 Touchpoint Actions
https://github.com/zendtech/studio-p2.touchpoint
Last synced: 5 months ago
JSON representation
Zend Studio p2 Touchpoint Actions
- Host: GitHub
- URL: https://github.com/zendtech/studio-p2.touchpoint
- Owner: zendtech
- License: epl-1.0
- Created: 2015-05-26T07:42:49.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-08T10:08:23.000Z (about 11 years ago)
- Last Synced: 2023-04-13T12:56:59.355Z (about 3 years ago)
- Language: Java
- Size: 172 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Zend Studio p2 Touchpoint Actions
=================================
This project provides p2 touchpoint actions to extend the capabilities of the update manager for Zend Studio.
updateInfoPlist
---------------
Updates the Info.plist file of the Mac application with the new version of Zend Studio and the correct paths of the newly installed Equinox launcher bundles.
If the currently used Equinox launcher bundles are still available then the write permissions are removed to avoid the update manager deleting them. If the bundles are already deleted then a symbolic link is created in their place pointing to the newly installed launcher bundles.
All the above is done to prevent Zend Studio to fail starting after upgrade, because it makes an attempt to start using old and already deleted launcher bundles.
### Usage
Add the below instructions in the p2.inf file of a plugin fragment that executes only on Mac OS X.
- Make sure the touchpoint action is installed before the product is installed/updated:
```
metaRequirements.0.namespace=com.zend.studio.p2.touchpoint
metaRequirements.0.name=updateInfoPlist
metaRequirements.0.range=[1.0.0, 2.0.0)
```
- Execute the touchpoint action during the Configure phase:
```
instructions.configure = com.zend.studio.p2.touchpoint.updateInfoPlist();
```