Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Target definition import fails
Target definition import fails [message #841421] Wed, 11 April 2012 05:23
Thorsten Meinl is currently offline Thorsten Meinl
Messages: 85
Registered: July 2009
Member
Hi all,

I'm experiencing errors while importing a target definition. If
have a target definition file that contains a plug-in which has an
install action that creates a directory in the eclipse installation
directory (called "licenses", see below). Creating this directory fails,
when the features is installed into the target definition:

INFO: importtargetdefinition 'Professional_1.0.0.target'
Unable to load all units for Software Site container of target
Professional_1.0.0.target
[0]An error occurred while installing the items
[0.2]session context
was:(profile=TARGET_DEFINITION:resource:Professional_1.0.0.target,
phase=org.eclipse.equinox.internal.p2.engine.phases.Install,
operand=null --> com.knime.licenses 4.1.0.0032568,
action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.MkdirAction).
[0.2]Could not create directory
..../ws/.metadata/.plugins/org.eclipse.pde.core/.install_folders/1334072366393/licenses.


The simple reason is that once the touchpoint is executed the two parent
directories ".install_folders/1334072366393" do not exist yet and the
mkdir action onyl creates one directory level and fails otherwise. This
looks like a bug to me but is there are way to work around this?

Cheers,

Thorsten
Previous Topic:Invoking the "run" button command in plugin
Next Topic:Missing executable from headless build
Goto Forum:
  


Current Time: Fri Jul 25 16:03:58 EDT 2014

Powered by FUDForum. Page generated in 0.05235 seconds