2012-06-12 14 views
15

Si verifica uno strano errore quando si tenta di esportare un plug-in IMP da eclissi. Quando si utilizza l'indaco eclissi ottengo:errore eclissi esportazione plug-in

C:\Users\Shachar\workspace jee\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:88: The following error occurred while executing this line: 
C:\Users\Shachar\workspace jee\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:103: The following error occurred while executing this line: 
C:\Users\Shachar\workspace jee\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:26: The following error occurred while executing this line: 
C:\Users\Shachar\workspace jee\ide\build.xml:293: The following error occurred while executing this line: 
C:\Users\Shachar\workspace jee\ide\build.xml:368: Problem: failed to create task or type apitooling.apigeneration 
Cause: The name is undefined. 
Action: Check the spelling. 
Action: Check that any custom tasks/types have been declared. 
Action: Check that any <presetdef>/<macrodef> declarations have taken place. 

The following error occurred while executing this line: 
C:\Users\Shachar\workspace jee\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:103: The following error occurred while executing this line: 
C:\Users\Shachar\workspace jee\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:26: The following error occurred while executing this line: 
C:\Users\Shachar\workspace jee\ide\build.xml:293: The following error occurred while executing this line: 
C:\Users\Shachar\workspace jee\ide\build.xml:368: Problem: failed to create task or type apitooling.apigeneration 
Cause: The name is undefined. 
Action: Check the spelling. 
Action: Check that any custom tasks/types have been declared. 
Action: Check that any <presetdef>/<macrodef> declarations have taken place. 

Lo stesso errore viene visualizzato quando si utilizza Eclipse RCP indaco & versione rap.

Per lo stesso motivo non è possibile creare un sito di aggiornamento per il plug-in.

Questo errore non sembra accadere nella versione jee di eclipse. Mentre l'esportazione riesce, il plugin stesso non funziona (e funziona quando eseguo il progetto).

+0

hai mai capito questo? Sto avendo lo stesso problema. –

+1

@ MattCrinklaw-Vogt Sembra che il percorso dell'area di lavoro contenga il carattere 'spazio'. Prova uno spazio di lavoro senza spazio. – Kane

risposta

8

Ho avuto lo stesso problema. La reinstallazione del plug-in "Eclipse Plug-in Development Environment" ha risolto il problema per me.

+0

Penso che il pacchetto mancante sia org.eclipse.pde.api.tools almeno quello che sembrava essere il pacchetto mancante quando mi sono imbattuto recentemente in questo. Ho risolto semplicemente aggiungendo PDE in Aiuto -> Installa nuovo software ... " – BjornArnelid

Problemi correlati