WebDSL plugin is incompatible with existing Spoofax/IMP installations
Maybe this can be fixed by making Spoofax a dependency instead of an included feature?
Submitted by Lennart Kats on 12 February 2010 at 09:25
Issue Log
I tried including Spoofax/IMP as dependency, then it gives the following error when trying to install:
Cannot complete the install because one or more required items could not be found.
Software being installed: WebDSL editor 1.0.0.201002172348 (webdsl.editor.feature.feature.group 1.0.0.201002172348)
Missing requirement: WebDSL editor 1.0.0.201002172348 (webdsl.editor.feature.feature.group 1.0.0.201002172348) requires ‘org.strategoxt.imp.feature.group 0.3.2.3’ but it could not be foundI also tried the compute dependencies option, but it also results in an error:
Cannot complete the install because one or more required items could not be found.
Software being installed: WebDSL editor 1.0.0.201002172344 (webdsl.editor.feature.feature.group 1.0.0.201002172344)
Missing requirement: WebDSL Plug-in 1.0.0.201002172344 (webdsl.editor 1.0.0.201002172344) requires ‘bundle org.eclipse.imp.runtime 0.0.0’ but it could not be found
Cannot satisfy dependency:
From: WebDSL editor 1.0.0.201002172344 (webdsl.editor.feature.feature.group 1.0.0.201002172344)
To: webdsl.editor [1.0.0.201002172344]After changing it back to included feature, it didn’t want to build the updatesite anymore, error:
Unable to find plug-in: org.strategoxt.imp.editors.stratego_0.1.1.201001311524. Please check the error log for more details.
The version is set to 0.3.2.3 in included features.
It seems adding Spoofax to the dependencies and including it in the associateSites.xml also doesn’t fix it…
I tried to reproduce this problem (or rather not reproduce it) with a small test plugin to see what are the proper settings for deploying Spoofax plugins. I think that it may work if you specify that Spoofax/IMP should be an “included feature” and allow updates from “both sites”.
From the log:
!MESSAGE Cannot complete the install because of a conflicting dependency.
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.399
!MESSAGE Software being installed: Spoofax/IMP 0.3.3.2 (org.strategoxt.imp.feature.group 0.3.3.2)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.399
!MESSAGE Software currently installed: WebDSL editor 1.0.5.201002261607 (webdsl.editor.feature.feature.group 1.0.5.201002261607)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 1 2010-03-02 15:55:50.399
!MESSAGE Only one of the following can be installed at once:
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.399
!MESSAGE IMP Language Support Meta-Tooling (Incubation) 0.1.92.201002281455 (org.eclipse.imp.metatooling 0.1.92.201002281455)
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.399
!MESSAGE IMP Language Support Meta-Tooling (Incubation) 0.1.92.201002222018 (org.eclipse.imp.metatooling 0.1.92.201002222018)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 1 2010-03-02 15:55:50.399
!MESSAGE Cannot satisfy dependency:
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.399
!MESSAGE From: Spoofax/IMP 0.3.3.1 (org.strategoxt.imp.feature.group 0.3.3.1)
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.399
!MESSAGE To: org.eclipse.imp.metatooling [0.1.92.201002222018]
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 1 2010-03-02 15:55:50.399
!MESSAGE Cannot satisfy dependency:
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.399
!MESSAGE From: Spoofax/IMP 0.3.3.2 (org.strategoxt.imp.feature.group 0.3.3.2)
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.399
!MESSAGE To: org.eclipse.imp.metatooling [0.1.92.201002281455]
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 1 2010-03-02 15:55:50.399
!MESSAGE Cannot satisfy dependency:
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.399
!MESSAGE From: WebDSL editor 1.0.5.201002261607 (webdsl.editor.feature.feature.group 1.0.5.201002261607)
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.399
!MESSAGE To: org.strategoxt.imp.feature.group [0.3.3.1]!ENTRY org.eclipse.equinox.p2.ui 4 0 2010-03-02 15:55:50.400
!MESSAGE Operation details
!SUBENTRY 1 org.eclipse.equinox.p2.ui 1 10001 2010-03-02 15:55:50.400
!MESSAGE Your original request has been modified.
!SUBENTRY 2 org.eclipse.equinox.p2.ui 1 10003 2010-03-02 15:55:50.400
!MESSAGE “Spoofax/IMP” is already installed, so an update will be performed instead.
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2010-03-02 15:55:50.400
!MESSAGE Cannot complete the install because of a conflicting dependency.
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.400
!MESSAGE Software being installed: Spoofax/IMP 0.3.3.2 (org.strategoxt.imp.feature.group 0.3.3.2)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.400
!MESSAGE Software currently installed: WebDSL editor 1.0.5.201002261607 (webdsl.editor.feature.feature.group 1.0.5.201002261607)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 1 2010-03-02 15:55:50.400
!MESSAGE Only one of the following can be installed at once:
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.400
!MESSAGE IMP Language Support Meta-Tooling (Incubation) 0.1.92.201002281455 (org.eclipse.imp.metatooling 0.1.92.201002281455)
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.400
!MESSAGE IMP Language Support Meta-Tooling (Incubation) 0.1.92.201002222018 (org.eclipse.imp.metatooling 0.1.92.201002222018)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 1 2010-03-02 15:55:50.400
!MESSAGE Cannot satisfy dependency:
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.400
!MESSAGE From: Spoofax/IMP 0.3.3.1 (org.strategoxt.imp.feature.group 0.3.3.1)
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.400
!MESSAGE To: org.eclipse.imp.metatooling [0.1.92.201002222018]
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 1 2010-03-02 15:55:50.400
!MESSAGE Cannot satisfy dependency:
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.400
!MESSAGE From: Spoofax/IMP 0.3.3.2 (org.strategoxt.imp.feature.group 0.3.3.2)
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.400
!MESSAGE To: org.eclipse.imp.metatooling [0.1.92.201002281455]
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 1 2010-03-02 15:55:50.400
!MESSAGE Cannot satisfy dependency:
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.400
!MESSAGE From: WebDSL editor 1.0.5.201002261607 (webdsl.editor.feature.feature.group 1.0.5.201002261607)
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.400
!MESSAGE To: org.strategoxt.imp.feature.group [0.3.3.1]!ENTRY org.eclipse.equinox.p2.ui 4 0 2010-03-02 15:55:50.402
!MESSAGE Operation details
!SUBENTRY 1 org.eclipse.equinox.p2.ui 1 10001 2010-03-02 15:55:50.402
!MESSAGE Your original request has been modified.
!SUBENTRY 2 org.eclipse.equinox.p2.ui 1 10003 2010-03-02 15:55:50.402
!MESSAGE “Spoofax/IMP” is already installed, so an update will be performed instead.
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2010-03-02 15:55:50.402
!MESSAGE Cannot complete the install because of a conflicting dependency.
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.402
!MESSAGE Software being installed: Spoofax/IMP 0.3.3.2 (org.strategoxt.imp.feature.group 0.3.3.2)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.402
!MESSAGE Software currently installed: WebDSL editor 1.0.5.201002261607 (webdsl.editor.feature.feature.group 1.0.5.201002261607)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 1 2010-03-02 15:55:50.402
!MESSAGE Only one of the following can be installed at once:
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.402
!MESSAGE IMP Language Support Meta-Tooling (Incubation) 0.1.92.201002281455 (org.eclipse.imp.metatooling 0.1.92.201002281455)
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.402
!MESSAGE IMP Language Support Meta-Tooling (Incubation) 0.1.92.201002222018 (org.eclipse.imp.metatooling 0.1.92.201002222018)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 1 2010-03-02 15:55:50.402
!MESSAGE Cannot satisfy dependency:
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.402
!MESSAGE From: Spoofax/IMP 0.3.3.1 (org.strategoxt.imp.feature.group 0.3.3.1)
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.402
!MESSAGE To: org.eclipse.imp.metatooling [0.1.92.201002222018]
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 1 2010-03-02 15:55:50.402
!MESSAGE Cannot satisfy dependency:
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.402
!MESSAGE From: Spoofax/IMP 0.3.3.2 (org.strategoxt.imp.feature.group 0.3.3.2)
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.402
And later:
!MESSAGE Cannot complete the install because of a conflicting dependency.
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.399
!MESSAGE Software being installed: Spoofax/IMP 0.3.3.2 (org.strategoxt.imp.feature.group 0.3.3.2)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.399
!MESSAGE Software currently installed: WebDSL editor 1.0.5.201002261607 (webdsl.editor.feature.feature.group 1.0.5.201002261607)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 1 2010-03-02 15:55:50.399
!MESSAGE Only one of the following can be installed at once:
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.399
!MESSAGE IMP Language Support Meta-Tooling (Incubation) 0.1.92.201002281455 (org.eclipse.imp.metatooling 0.1.92.201002281455)
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2010-03-02 15:55:50.399
!MESSAGE IMP Language Support Meta-Tooling (Incubation) 0.1.92.201002222018 (org.eclipse.imp.metatooling 0.1.92.201002222018)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 1 2010-03-02 15:55:50.399
Discussion:
16:23:40 ik hoop dat daar iets uit te halen is, er komt nog wel meer achter
16:26:03 <Chip_Zero> log suggereert dat het niet kan omdat IMP 0.oud nodig is voor Spoofax 0.oud en tegelijk IMP 0.3.3.1 nodig is voor Spoofax 0.3.3.2
16:26:16 <Chip_Zero> en hij kan maar 1 van de twee IMP versies tegelijk installeren
16:26:39 <Chip_Zero> Danny1: heeft webdsl ergens een dependency op org.eclipse.imp.metatooling?
16:27:04 niet dat ik weet
16:28:01 <Chip_Zero> ook niet dat ik weet maar daarom vraag ik het :)
16:28:11 <Chip_Zero> dat zou het kunnen verklaren
16:28:22 is dat te zien met die compute dependencies?
16:29:15 <Chip_Zero> ik zou denken dat het er al bij zou moeten staan
16:29:31 <Chip_Zero> maar misschien dat compute dependencies ook een aanwijzing geeft
16:29:33 in dat geval niet
16:30:18 compute geeft org.eclipse.imp.runtime
Danny and/or Nathan fixed this issue.
Log in to post comments