IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Eclipse Platform Discussion :

Product could not be found


Sujet :

Eclipse Platform

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre éclairé
    Profil pro
    Inscrit en
    Octobre 2005
    Messages
    795
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2005
    Messages : 795
    Par défaut Product could not be found
    Bonjour à tous,

    J'ai un petit souci. J'ai récupéré une application Eclipse et j'aimerais la tester / debugger.
    J'ai donc compilé les sources puis j'ai essayé de lancer cette application.

    J'ai suivi la documentation fournie : http://www.eclipse.org/epf/composer_.../run_debug.php

    Il y a une chose que je ne comprend pas :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    specify the workspace information and the product identifier
    le worspace ça va mais le product identifier, je ne comprend pas à quoi cela correspond et ou le renseigner ?
    De plus, dans la liste des produits, je n'ai pas org.eclipse.epf.rcp.beacon ... J'ai choisi org.eclipse.epf.rcp.ui.composer qui me semblait le plus approprié

    Lorsque je lance l'application j'ai un message d'erreur :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    The application could not start
    plus un fichier log que je réduit volontairement
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    !ENTRY org.eclipse.equinox.app 2009-08-04 12:21:20.268
    !MESSAGE Product org.eclipse.epf.rcp.ui.composer could not be found.
    java.lang.RuntimeException: No application id has been found.

  2. #2
    Membre éclairé
    Profil pro
    Inscrit en
    Octobre 2005
    Messages
    795
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2005
    Messages : 795
    Par défaut
    Après pas mal de recherche, il semblerait que ce genre d'erreur peut s'expliquer par un mauvais config.ini
    Je donne donc le mien :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    # Eclipse runtime configuration file
    # This file contains a number of key/value pairs that are merged into the 
    # System properties on system startup.  The values control the way the 
    # runtime is structured and runs.
     
    # Note:  Only platform:/base/ and file: URLs are supported.  In general the 
    # URLs given may include a version number (e.g., .../location_1.2.3).  
    # If a version is not specified, the system binds
    # to the location which matches exactly or to the versioned location with the
    # latest version number.  If a version number is given then only exact matches
    # are considered.
     
    # The URL for the runtime entry point.  The default value is
    # platform:/base/plugins/org.eclipse.osgi 
    #osgi.framework=platform:/base/plugins/org.eclipse.osgi
     
    # The classpath for the framework found at the osgi.framework location.  This 
    # comma-separated list contains either URLs or simple element names.  Simple
    # names are assumed to be relative to the framework's install directory.  
    # Typically this value need not be set as it is initialized by the framework itself.
    # Version match searching is not done for URLs listed here.
    #osgi.frameworkClassPath =
     
    # The comma-separated list of locations to search for the splash screen file (splash.bmp).
    # For each list element a subdirectory structure based on the pattern nl/<locale> is searched.
    # The system binds to the first matching file.  There is no default value.
    #osgi.splashPath=
     
    # The location of the splash screen file.  If this value is set at system startup it is used 
    # in favour of the osgi.splashPath searching outlined above.  If the value is not set 
    # the searching is done and this key is bound to the result of the search.
    #osgi.splashLocation =
     
    # The comma-separated list of bundles which are automatically installed and optionally started
    # once the system is up and running.  Each entry if of the form
    #     <URL | simple bundle location>[@ [<startlevel>] [":start"]]
    # If the startlevel is omitted then the framework will use the default start level for the bundle.
    # If the "start" tag is added then the bundle will be marked as started after being installed.
    # Simple bundle locations are interepreted as relative to the framework's parent directory.
    # The startlevel indicates the OSGi start level at which the bundle should run.
    # If this value is not set, the system computes an appropriate default.
    #osgi.bundles=org.eclipse.core.runtime@2:start,com.ibm.rmc.library,org.eclipse.ui.ide,org.eclipse.help.appserver,org.eclipse.help.base,org.eclipse.update.ui,com.ibm.uma,com.ibm.uma.core,com.ibm.umaf.ecore,com.ibm.tngui.edit,org.eclipse.core.resources,org.eclipse.emf,org.eclipse.emf.ecore.xmi,org.eclipse.emf.edit,org.eclipse.emf.edit.ui,org.eclipse.ui,org.eclipse.ui.ide
     
    # The product to run.  A given Eclipse configuration may contain many products.
    # The product identified will supply the branding (window icons, title bar text) etc 
    # as well as define the default application to run.  
    eclipse.product=org.eclipse.platform
     
    # The application to run.  The value specified here is the id of the application extension
    # the runtime will find, instantiate and execute once the system is up.  Note that typically 
    # the identified eclipse.product defines the default application to run.
    eclipse.application=org.eclipse.epf.rcp.ui.MainApplication
     
    # The build identifier
    eclipse.buildId=M200409161125
     
    # End of file marker - must be here
    eof=eof
    Je pense qu'il y faut peut être décommenter la ligne osgi.bundles= mais j'en sais pas beaucoup plus donc si quelqu'un à une information
    Si je fais fausse route, merci de me réorienter ...

  3. #3
    BiM
    BiM est déconnecté
    Expert confirmé
    Avatar de BiM
    Femme Profil pro
    Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT
    Inscrit en
    Janvier 2005
    Messages
    7 796
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 39
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT

    Informations forums :
    Inscription : Janvier 2005
    Messages : 7 796
    Par défaut
    Bonjour,

    Regarde dans le plugin.xml si tu n'as pas une partie qui correspond au product.

  4. #4
    Membre éclairé
    Profil pro
    Inscrit en
    Octobre 2005
    Messages
    795
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2005
    Messages : 795
    Par défaut
    D'abord merci d'essayer de m'aider

    apparemment il y a bien une partie product
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
     <extension
             id="composer"
             point="org.eclipse.core.runtime.products">
          <product
                application="org.eclipse.epf.rcp.ui.MainApplication"
                name="Eclipse Process Framework Composer">
             <property
                   name="preferenceCustomization"
                   value="plugin_customization.ini"/>
             <property
                   name="startupForegroundColor"
                   value="C8D5EA"/>
             <property
                   name="startupMessageRect"
                   value="7,220,441,20"/>
             <property
                   name="startupProgressRect"
                   value="0,280,455,15"/>
             <property
                   name="aboutImage"
                   value="icons/about.gif"/>
             <property
                   name="aboutText"
                   value="%aboutText"/>
             <property
                   name="windowImages"
                   value="icons/full/obj16/product.gif,icons/full/obj32/product32.gif"/>
             <property
                   name="appName"
                   value="Eclipse Process Framework Composer">
             </property>
          </product>
       </extension>
    C'est un peu (beaucoup) obscure pour moi
    Ça change quelque chose ?

  5. #5
    BiM
    BiM est déconnecté
    Expert confirmé
    Avatar de BiM
    Femme Profil pro
    Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT
    Inscrit en
    Janvier 2005
    Messages
    7 796
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 39
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Consultante/Formatrice BIRT & Ingénieur Java/J2EE/GWT

    Informations forums :
    Inscription : Janvier 2005
    Messages : 7 796
    Par défaut
    En tant que product identifier, met "composer".

    Pour moi aussi c'est obscur encore ^^

  6. #6
    Membre éclairé
    Profil pro
    Inscrit en
    Octobre 2005
    Messages
    795
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2005
    Messages : 795
    Par défaut
    le product identifier correspond bien au champ Name que l'on a dans fenêtre de configuration ?
    Si oui, ça change rien
    Images attachées Images attachées  

Discussions similaires

  1. [Struts Menu] The menu repository could not be found !
    Par khaoula_14_05 dans le forum Struts 1
    Réponses: 9
    Dernier message: 16/09/2008, 10h28
  2. vb6fr.dll could not be found
    Par alfi3000 dans le forum Excel
    Réponses: 2
    Dernier message: 18/12/2007, 16h56
  3. Réponses: 3
    Dernier message: 16/05/2007, 11h35
  4. The JRE could not be found
    Par hynposat7 dans le forum Servlets/JSP
    Réponses: 4
    Dernier message: 21/07/2006, 07h33
  5. [3.0.1 to 3.0.2] org.eclipse.platform.ide could not be found
    Par Sfeabg dans le forum Eclipse Java
    Réponses: 1
    Dernier message: 27/05/2005, 14h26

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo