Bug 578174 - A problem occured while invoking the director - same as in 544151
Summary: A problem occured while invoking the director - same as in 544151
Status: NEW
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 4.22   Edit
Hardware: PC Windows 10
: P3 blocker with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-12 02:37 EST by Tim Schmid CLA
Modified: 2024-01-03 08:00 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Schmid CLA 2022-01-12 02:37:51 EST
When i want to export my RCP Application. I get that error


C:\Users\TSchmid\eclipse-workspace-dev-RCP\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\package.org.eclipse.pde.container.feature.win32.win32.x86_64.xml:89: The following error occurred while executing this line:
C:\Users\TSchmid\eclipse-workspace-dev-RCP\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\package.org.eclipse.pde.container.feature.win32.win32.x86_64.xml:708: The following error occurred while executing this line:
C:\Users\TSchmid\.p2\pool\plugins\org.eclipse.pde.build_3.11.100.v20210916-0743\scripts\genericTargets.xml:240: A problem occured while invoking the director.
The following error occurred while executing this line:
C:\Users\TSchmid\eclipse-workspace-dev-RCP\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\package.org.eclipse.pde.container.feature.win32.win32.x86_64.xml:708: The following error occurred while executing this line:
C:\Users\TSchmid\.p2\pool\plugins\org.eclipse.pde.build_3.11.100.v20210916-0743\scripts\genericTargets.xml:240: A problem occured while invoking the director.

I´ve also tried it with a new blank rcp projekt but i get the same error.
Comment 1 Phil Beauvoir CLA 2022-01-12 04:53:11 EST
It's my understanding that PDE Build is no longer supported in Eclipse (and deprecated?), and the way to go is to use Tycho with a pom.xml file.
Comment 2 Tim Schmid CLA 2022-01-12 05:06:08 EST
Hm okay interesting, but where can i get these informations?
Comment 3 Phil Beauvoir CLA 2022-01-12 05:11:57 EST
(In reply to Tim Schmid from comment #2)
> Hm okay interesting, but where can i get these informations?

I had to Google it, and look at other people's stuff. Lots of trial and error as my Maven and Tycho Fu is weak.

Here's ours:

https://github.com/archimatetool/archi/blob/master/pom.xml
Comment 4 Tim Schmid CLA 2022-01-12 05:29:35 EST
okay thanks ill try it out
Comment 5 Phil Beauvoir CLA 2022-01-12 05:51:50 EST
(In reply to Phil Beauvoir from comment #1)
> It's my understanding that PDE Build is no longer supported in Eclipse (and
> deprecated?), and the way to go is to use Tycho with a pom.xml file.

Mentioned here:

https://stackoverflow.com/questions/63562566/pde-build-vs-maven-tycho
Comment 6 Phil Beauvoir CLA 2022-01-12 09:31:28 EST
@Tim

I experimented some more. The product export for our RCP app also leads to the same error. But then I tried the advice in this comment:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=546019#c7

I set all the features in our *.product file to have install mode to "root" and it worked!
Comment 7 Tim Schmid CLA 2022-01-12 09:36:06 EST
I gues that wont work for me because my RCP is based on plugins and not on features.
Comment 8 Phil Beauvoir CLA 2022-01-12 09:43:51 EST
(In reply to Tim Schmid from comment #7)
> I gues that wont work for me because my RCP is based on plugins and not on
> features.

Well, as an experiment I set our product file to be based on plug-ins and it also worked. I'm using Eclipse 4.22.

You could try create a feature with all your plug-ins in it and using that?
Comment 9 Tim Schmid CLA 2022-01-12 09:49:23 EST
I gues not Im that expirienced in developing plugins sorry
Comment 10 Tim Schmid CLA 2022-01-12 09:52:11 EST
But making my RCP based on features worked for me.
Thank you for helping me :)
Comment 11 Eclipse Genie CLA 2024-01-03 08:00:21 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.