Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Eclipse product export fails if plug-ins have different EEs and "Generate p2 repository" s
Eclipse product export fails if plug-ins have different EEs and "Generate p2 repository" s [message #1832025] Sun, 06 September 2020 09:38
Phil Beauvoir is currently offline Phil BeauvoirFriend
Messages: 62
Registered: October 2012
Member
Eclipse product export wizard fails if plug-ins specify different Execution Environments and "Generate p2 repository" selected.

Has anyone come across this issue:

1. A Product consisting of different features/plug-ins where the Java Execution Environments may differ in the plug-in manifests. For example one plug-in might specify "JavaSE-1.8" and another "JavaSE-11" (such is the case with Eclipse 4.17 where the help plug-ins mentioned above are set to "JavaSE-11")
2. The Product Export Wizard has "Generate p2 repository" checked.

Under these conditions the product export fails with error:

A problem occured while invoking the director.
	at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:571)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:440)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)


Note - if "Generate p2 repository" is not checked then the export succeeds (However, this is not an option for our RCP product as the p2 files that we need are not generated.)

I've opened a bug at https://bugs.eclipse.org/bugs/show_bug.cgi?id=566701 but for some reason you need to be logged in to see it.

[Updated on: Sun, 06 September 2020 12:13]

Report message to a moderator

Previous Topic:Ant ClassNotFoundException While Exporting A Plug-In
Next Topic:I can't run Eclipse IDE
Goto Forum:
  


Current Time: Fri Apr 26 07:44:21 GMT 2024

Powered by FUDForum. Page generated in 0.02794 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top