Visualizzazione dei risultati da 1 a 10 su 10
  1. #1
    Utente di HTML.it L'avatar di jegger
    Registrato dal
    Mar 2005
    Messaggi
    74

    errore con plugin in eclipse

    Ho un errore, legato ad una serie di plugin eclipse, che non riesco a risolvere.
    Ho costruito un plugin legato ad altri già presenti; quando faccio partire la java application, questa funziona correttamente ma nella console mi viene visualizzato il seguente errore:

    26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.build.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.build that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.filesystem.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.filesystem that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.foundation.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.foundation that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.interop.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.interop that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.process.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.process that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.reports.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.reports that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.repository.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.repository that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.repository.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.links that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.scm.admin.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.scm.admin.common that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.scm.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.scm that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.workitem.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.workitem that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.workitem.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.workitem.query that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.process.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.process that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.workitem.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.workitem that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.workitem.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.workitem.query that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.foundation.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.foundation that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.repository.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.repository that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.repository.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.links that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.scm.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.scm that is not unique. 26-Giu-2009 10.18.41 com.ibm.team.repository.common.util.ExtensionRegis tryReader logError GRAVE: The com.ibm.team.filesystem.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.filesystem that is not unique.

    Secondo voi quale potrebbe essere il motivo?
    Forse ho importato 2 volte i plugin? Grazie.

  2. #2
    Moderatore di Programmazione L'avatar di LeleFT
    Registrato dal
    Jun 2003
    Messaggi
    17,328

    Moderazione

    Se si parla di Java, c'è il forum Java.
    Ad ogni modo, da quel che si legge c'è scritto (nella seconda e terza riga):

    com.ibm.team.build.common bundle's plugin.xml file contains a <component> element with the id attribute value com.ibm.team.build that is not unique. 26-Giu-2009 10.18.41
    Ovvero, c'è un file "plugin.xml" che contiene un tag "<component>" con un ID non unico.

    Quindi, dovresti controllare questo file e sistemare...


    Sposto in Java, anche se è abbastanza border-line.


    Ciao.
    "Perchè spendere anche solo 5 dollari per un S.O., quando posso averne uno gratis e spendere quei 5 dollari per 5 bottiglie di birra?" [Jon "maddog" Hall]
    Fatti non foste a viver come bruti, ma per seguir virtute e canoscenza

  3. #3
    Utente di HTML.it L'avatar di jegger
    Registrato dal
    Mar 2005
    Messaggi
    74
    Grazie LeleFT e scusa x la sezione sbagliata. Comunque è quello che avevo fatto:
    ero entrato in plugin.xml ed avevo cercato il tag component da modificare, ma il relativo attributo id non è stato inserito 2 volte. x spiegarmi meglio ecco un esempio:

    <component
    id="com.ibm.team.filesystem"
    name="Filesystem">
    <service
    description="Internal communication service for the Filesystem component"
    kind="RPC"
    name="Filesystem Service"
    uri="com.ibm.team.filesystem.common.IFilesystemSer vice"
    version="10">
    </service>
    <service
    uri="com.ibm.team.filesystem.common.internal.rest. IFilesystemRestService"
    kind="RAW_HTTP"
    version="1"
    name="Filesystem Rest Service"/>
    <model
    description="Storage model for all persistable Filesystem item types"
    name="Filesystem Storage Model"
    uri="com.ibm.team.filesystem"
    version="0.8">
    </model>
    <service
    description="Service for storing file content"
    kind="RAW_HTTP"
    name="Filesystem Content Service"
    uri="com.ibm.team.filesystem.common.IFileContentSe rvice"
    version="1">
    </service>
    </component>

    Come si vede l'attributo id è unico x il tag component.

  4. #4
    se hai una copia di bu di eclipse (cosa che è sempre consigliato fare) ti consiglio di rimettere quella e di riprovare a scricare i plugin.
    comunque quale versione di eclipse stai utilizzando?

  5. #5
    Utente di HTML.it L'avatar di jegger
    Registrato dal
    Mar 2005
    Messaggi
    74
    Ehm non ce l'ho la copia di backup.

    Eclipse version 3.4

    Boh non capisco come risolvere.

  6. #6
    è per caso il plug in di visual editor?

  7. #7
    Utente di HTML.it L'avatar di jegger
    Registrato dal
    Mar 2005
    Messaggi
    74
    Originariamente inviato da darksoullight88
    è per caso il plug in di visual editor?
    No, sto modificando un plugin di IBM: Rational Team Concert che serve a gestire lo sviluppo di progetti, aggiungendo nuove funzionalità.
    Sono ancora all'inizio, ma il plugin aggiuntivo aggiuntivo x quello funziona, il problema è che da console mi dà quell'errore legato ai plugin.

    Forse ho fatto qualche casino legato alle dipendenze nel file MANIFEST.MF.

    Se ualcuno è esperto di plugin di eclipse e potesse darmi una mano gliene sarei molto grato.

  8. #8
    Utente di HTML.it L'avatar di jegger
    Registrato dal
    Mar 2005
    Messaggi
    74
    Qualcuno sa rispondermi x caso?
    Non sono ancora riuscito a risolvere questo annoso problema.

    Grazie a chi potrà darmi una mano.

  9. #9
    Moderatore di Programmazione L'avatar di LeleFT
    Registrato dal
    Jun 2003
    Messaggi
    17,328
    Allora, io non uso Eclipse, non uso plug-in e non so nulla di Eclipse.
    Ma quell'errore non dice che c'è due volte l'attributo ID, ma che il valore dell'attributo ID è presente due volte all'interno del file XML. Ovvero ci sono due tag che hanno lo stesso valore per l'attributo ID. Questi potrebbero essere (per quel che ne so io), due tag diversi (ad esempio, <component> e <pippo_franco>), oppure due tag uguali (esempio, due tag <component>).

    Se l'attributo si chiama "id", è molto probabile che questo attributo debba contenere valori univoci, ovvero non possono esserci due attributi "id" con lo stesso valore.

    La parte di XML che hai postato fa vedere solo che quel tag <component> ha un attributo id con un valore... ma nessuno sa se all'interno del file XML ci siano altri tag con lo stesso valore per l'attributo id. E l'errore dice proprio questo.

    PS: quando posti del codice, anche XML, usa i tag CODE, così si mantiene la formattazione e l'indentazione, rendendo più facile la lettura.


    Ciao.
    "Perchè spendere anche solo 5 dollari per un S.O., quando posso averne uno gratis e spendere quei 5 dollari per 5 bottiglie di birra?" [Jon "maddog" Hall]
    Fatti non foste a viver come bruti, ma per seguir virtute e canoscenza

  10. #10
    Utente di HTML.it L'avatar di jegger
    Registrato dal
    Mar 2005
    Messaggi
    74
    Sono riuscito a risolvere anche se non ho capito bene il motivo.
    Mi è bastato importare lo stesso plugin, ma di una differente versione.

    Non ho capito bene perchè ho risolto e ciò mi scoccia, ma almeno in exe non vedrò più questi fastidiosi errori.

    grazie lo stesso.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.