Thursday, June 30, 2011

setting in about.mappings

Pass when you perform your site.p2 action

The Buckminster property expansion falls back to Eclipse variable
expansion so this should work:

build_id = ${env_var:BUILD_ID}

That timestamp will differ between projects. It finds the last
modification in the subtree and uses that so it's not suitable to use as
a build_id.

Wednesday, June 29, 2011

Find ImageDescriptor

public static ImageDescriptor findImageDescriptor(String path) {
  final IPath p = new Path(path);
  if (p.isAbsolute() && p.segmentCount() > 1) {
   return AbstractUIPlugin.imageDescriptorFromPlugin(p.segment(0), p
  } else {
   return getBundledImageDescriptor(p.makeAbsolute().toString());

Friday, June 24, 2011

Change default messages when using EMF Validation Framework

The easiest way to do it if feature names are no issue is to create fragment with host o.e.emf.ecore and define file with values for message keys changed to your needs.

Tuesday, June 21, 2011 fails to replace referenced key string

If this happens make sure Bundle-Localization: plugin is in

Blogger Syntax Highliter