Kann kein Produkt erstellen /Eclipse 2021-03 #661

CLOSED
Submitted 3 years ago

Hallo Herr Vogel,

ich bin bei 1. Using features and products to define your custom IDE und benutze eclipse 2021-03. Die Anwendung in Produktdatei "ide.product" in "Testing" Bereich "Launch an Eclipse application" funktioniert wie beschrieben. Ich möchte aber ein Produkt erstellen, mit "Exporting"→ "Eclipse Product export wizard" /Nur eine lere Zielordner wurde eingetragen/, dann bekomme ich diese Fehlermeldung und die Erstellung bricht ab:

C:\Users\XXX\develop\plugin_workspace\vogella\.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\XXX\develop\plugin_workspace\vogella\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\package.org.eclipse.pde.container.feature.win32.win32.x86_64.xml:1353: The following error occurred while executing this line: C:\Users\XXX\develop\Downloads\eclipse\eclipse_rpc_2021-03\eclipse\plugins\org.eclipse.pde.build_3.10.1000.v20210130-0813\scripts\genericTargets.xml:240: A problem occured while invoking the director. The following error occurred while executing this line: C:\Users\XXX\develop\plugin_workspace\vogella\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\package.org.eclipse.pde.container.feature.win32.win32.x86_64.xml:1353: The following error occurred while executing this line: C:\Users\XXX\develop\Downloads\eclipse\eclipse_rpc_2021-03\eclipse\plugins\org.eclipse.pde.build_3.10.1000.v20210130-0813\scripts\genericTargets.xml:240: A problem occured while invoking the director.

Könnten sie mich auf die Sprünge helfen?

Danke, M.Maaß

Comments

  3 years ago

Hallo Herr Maaß,

leider ist der PDE Expert nicht mehr aktiv gewartet, von daher treten hier häufiger Probleme auf. In der Schulung exportieren wir das Produkt mit einem Commandline Build. Beschrieben ist das hier https://learn.vogella.com/exercises/rich-client-platform/exercise-building-eclipse-rcp-applications-with-maven-3chf8

Viele Grüße, Lars Vogel

  3 years ago

Antwort von Herr Maaß:

Hallo Herr Vogel,

vielen dank für die schnelle Antwort. Ich habe noch ein Verständnissfrage zu den Seite, den Sie mir geschickt haben. In "3.2.2. Update releng pom" schreiben Sie :

>…​ >Now can you activate the usage of the target platform.

>This is done by adding the following configuration to the target-platform-configuration part of the build file.

Welche Datei ist mit "build file" hier gemeint? Der Pom.xml in den Workspace Ordner oder was anderes?

Viele Grüße M.Maaß

  3 years ago

Antwort kommt gleich, ich verbessere direkt die Beschreibung in der Übung…​

  3 years ago

Hallo Herr Maaß,

ich habe die Übung angepaßt, sollte jetzt hoffentlich klarer sein:

This is done by adding the target configuration to the target-platform-configuration part to the top-level pom file. This allows you also to remove your p2 update sites from the pom file.

See below for a full listing of the top-level pom file.

<!-- this part already exists…​…​-→ <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>target-platform-configuration</artifactId> <version>${tycho.version}</version> <configuration> <!-- this part is new -→ <target> <artifact> <groupId>com.vogella.tycho</groupId> <artifactId>target-platform</artifactId> <version>1.0.0-SNAPSHOT</version> </artifact> </target> Here is complete top-level pom file:

--→ Und dann steht da das neue top-level pom file.

Viele Grüße, Lars Vogel

  3 years ago

Please login to write a comment.