Does an eclipse plugin come with it's own dependencies?
I have an eclipse plugin in which I want to use the latest CDT
plugin extension points ( I have a .target
file where I configure the version).
Assume that my plugin is installed in an eclipse based product
(with a different .target
file) which comes with an older CDT
version (which doesn't have the extension points required by my plugin).
What is happening when the plugin is installed in that product?
Does the plugin come with it's own CDT
dependencies and there won't be any problems?
Will eclipse load the CDT plugin based on the requirements of the plugin?
eclipse eclipse-plugin eclipse-rcp eclipse-pde
add a comment |
I have an eclipse plugin in which I want to use the latest CDT
plugin extension points ( I have a .target
file where I configure the version).
Assume that my plugin is installed in an eclipse based product
(with a different .target
file) which comes with an older CDT
version (which doesn't have the extension points required by my plugin).
What is happening when the plugin is installed in that product?
Does the plugin come with it's own CDT
dependencies and there won't be any problems?
Will eclipse load the CDT plugin based on the requirements of the plugin?
eclipse eclipse-plugin eclipse-rcp eclipse-pde
add a comment |
I have an eclipse plugin in which I want to use the latest CDT
plugin extension points ( I have a .target
file where I configure the version).
Assume that my plugin is installed in an eclipse based product
(with a different .target
file) which comes with an older CDT
version (which doesn't have the extension points required by my plugin).
What is happening when the plugin is installed in that product?
Does the plugin come with it's own CDT
dependencies and there won't be any problems?
Will eclipse load the CDT plugin based on the requirements of the plugin?
eclipse eclipse-plugin eclipse-rcp eclipse-pde
I have an eclipse plugin in which I want to use the latest CDT
plugin extension points ( I have a .target
file where I configure the version).
Assume that my plugin is installed in an eclipse based product
(with a different .target
file) which comes with an older CDT
version (which doesn't have the extension points required by my plugin).
What is happening when the plugin is installed in that product?
Does the plugin come with it's own CDT
dependencies and there won't be any problems?
Will eclipse load the CDT plugin based on the requirements of the plugin?
eclipse eclipse-plugin eclipse-rcp eclipse-pde
eclipse eclipse-plugin eclipse-rcp eclipse-pde
edited Nov 21 '18 at 10:20
asked Nov 21 '18 at 8:35
Garry White
437
437
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The MANIFEST.MF of a plug-in specifies its dependencies. Eclipse will resolve these when it loads the plug-in from the currently installed plug-ins.
The Require-Bundle
in the MANIFEST.MF specifies which other plug-ins are required and can specify which versions of the plug-in are acceptable.
The MANIFEST.MF can also use Import-Package
to name packages that it needs without saying which plug-in contains them,
So anyhow, the requirements fromMANIFEST.MF
of the plugin should be available in theeclipse product
where the plugin is installed, right?
– Garry White
Nov 21 '18 at 11:42
1
Depending on exactly how you install the plugin Eclipse may try to resolve missing dependencies by looking in known repositories. Otherwise it will fail to install with unresolved dependencies.
– greg-449
Nov 21 '18 at 11:45
I just create at theconfiguration
folder level alinks
folder with a*.link
file inside it which contains the path to the plugin ( e.g.path=d:/ts_mirr/a_swatt/v1.10/eclipse
)
– Garry White
Nov 21 '18 at 11:51
It will fail most likely
– Garry White
Nov 21 '18 at 11:51
1
You may even have to start Eclipse with the -clean option to get it to notice that file. It will certainly not try to find missing dependencies.
– greg-449
Nov 21 '18 at 11:52
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53408030%2fdoes-an-eclipse-plugin-come-with-its-own-dependencies%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The MANIFEST.MF of a plug-in specifies its dependencies. Eclipse will resolve these when it loads the plug-in from the currently installed plug-ins.
The Require-Bundle
in the MANIFEST.MF specifies which other plug-ins are required and can specify which versions of the plug-in are acceptable.
The MANIFEST.MF can also use Import-Package
to name packages that it needs without saying which plug-in contains them,
So anyhow, the requirements fromMANIFEST.MF
of the plugin should be available in theeclipse product
where the plugin is installed, right?
– Garry White
Nov 21 '18 at 11:42
1
Depending on exactly how you install the plugin Eclipse may try to resolve missing dependencies by looking in known repositories. Otherwise it will fail to install with unresolved dependencies.
– greg-449
Nov 21 '18 at 11:45
I just create at theconfiguration
folder level alinks
folder with a*.link
file inside it which contains the path to the plugin ( e.g.path=d:/ts_mirr/a_swatt/v1.10/eclipse
)
– Garry White
Nov 21 '18 at 11:51
It will fail most likely
– Garry White
Nov 21 '18 at 11:51
1
You may even have to start Eclipse with the -clean option to get it to notice that file. It will certainly not try to find missing dependencies.
– greg-449
Nov 21 '18 at 11:52
add a comment |
The MANIFEST.MF of a plug-in specifies its dependencies. Eclipse will resolve these when it loads the plug-in from the currently installed plug-ins.
The Require-Bundle
in the MANIFEST.MF specifies which other plug-ins are required and can specify which versions of the plug-in are acceptable.
The MANIFEST.MF can also use Import-Package
to name packages that it needs without saying which plug-in contains them,
So anyhow, the requirements fromMANIFEST.MF
of the plugin should be available in theeclipse product
where the plugin is installed, right?
– Garry White
Nov 21 '18 at 11:42
1
Depending on exactly how you install the plugin Eclipse may try to resolve missing dependencies by looking in known repositories. Otherwise it will fail to install with unresolved dependencies.
– greg-449
Nov 21 '18 at 11:45
I just create at theconfiguration
folder level alinks
folder with a*.link
file inside it which contains the path to the plugin ( e.g.path=d:/ts_mirr/a_swatt/v1.10/eclipse
)
– Garry White
Nov 21 '18 at 11:51
It will fail most likely
– Garry White
Nov 21 '18 at 11:51
1
You may even have to start Eclipse with the -clean option to get it to notice that file. It will certainly not try to find missing dependencies.
– greg-449
Nov 21 '18 at 11:52
add a comment |
The MANIFEST.MF of a plug-in specifies its dependencies. Eclipse will resolve these when it loads the plug-in from the currently installed plug-ins.
The Require-Bundle
in the MANIFEST.MF specifies which other plug-ins are required and can specify which versions of the plug-in are acceptable.
The MANIFEST.MF can also use Import-Package
to name packages that it needs without saying which plug-in contains them,
The MANIFEST.MF of a plug-in specifies its dependencies. Eclipse will resolve these when it loads the plug-in from the currently installed plug-ins.
The Require-Bundle
in the MANIFEST.MF specifies which other plug-ins are required and can specify which versions of the plug-in are acceptable.
The MANIFEST.MF can also use Import-Package
to name packages that it needs without saying which plug-in contains them,
answered Nov 21 '18 at 10:38
greg-449
88.1k166296
88.1k166296
So anyhow, the requirements fromMANIFEST.MF
of the plugin should be available in theeclipse product
where the plugin is installed, right?
– Garry White
Nov 21 '18 at 11:42
1
Depending on exactly how you install the plugin Eclipse may try to resolve missing dependencies by looking in known repositories. Otherwise it will fail to install with unresolved dependencies.
– greg-449
Nov 21 '18 at 11:45
I just create at theconfiguration
folder level alinks
folder with a*.link
file inside it which contains the path to the plugin ( e.g.path=d:/ts_mirr/a_swatt/v1.10/eclipse
)
– Garry White
Nov 21 '18 at 11:51
It will fail most likely
– Garry White
Nov 21 '18 at 11:51
1
You may even have to start Eclipse with the -clean option to get it to notice that file. It will certainly not try to find missing dependencies.
– greg-449
Nov 21 '18 at 11:52
add a comment |
So anyhow, the requirements fromMANIFEST.MF
of the plugin should be available in theeclipse product
where the plugin is installed, right?
– Garry White
Nov 21 '18 at 11:42
1
Depending on exactly how you install the plugin Eclipse may try to resolve missing dependencies by looking in known repositories. Otherwise it will fail to install with unresolved dependencies.
– greg-449
Nov 21 '18 at 11:45
I just create at theconfiguration
folder level alinks
folder with a*.link
file inside it which contains the path to the plugin ( e.g.path=d:/ts_mirr/a_swatt/v1.10/eclipse
)
– Garry White
Nov 21 '18 at 11:51
It will fail most likely
– Garry White
Nov 21 '18 at 11:51
1
You may even have to start Eclipse with the -clean option to get it to notice that file. It will certainly not try to find missing dependencies.
– greg-449
Nov 21 '18 at 11:52
So anyhow, the requirements from
MANIFEST.MF
of the plugin should be available in the eclipse product
where the plugin is installed, right?– Garry White
Nov 21 '18 at 11:42
So anyhow, the requirements from
MANIFEST.MF
of the plugin should be available in the eclipse product
where the plugin is installed, right?– Garry White
Nov 21 '18 at 11:42
1
1
Depending on exactly how you install the plugin Eclipse may try to resolve missing dependencies by looking in known repositories. Otherwise it will fail to install with unresolved dependencies.
– greg-449
Nov 21 '18 at 11:45
Depending on exactly how you install the plugin Eclipse may try to resolve missing dependencies by looking in known repositories. Otherwise it will fail to install with unresolved dependencies.
– greg-449
Nov 21 '18 at 11:45
I just create at the
configuration
folder level a links
folder with a *.link
file inside it which contains the path to the plugin ( e.g. path=d:/ts_mirr/a_swatt/v1.10/eclipse
)– Garry White
Nov 21 '18 at 11:51
I just create at the
configuration
folder level a links
folder with a *.link
file inside it which contains the path to the plugin ( e.g. path=d:/ts_mirr/a_swatt/v1.10/eclipse
)– Garry White
Nov 21 '18 at 11:51
It will fail most likely
– Garry White
Nov 21 '18 at 11:51
It will fail most likely
– Garry White
Nov 21 '18 at 11:51
1
1
You may even have to start Eclipse with the -clean option to get it to notice that file. It will certainly not try to find missing dependencies.
– greg-449
Nov 21 '18 at 11:52
You may even have to start Eclipse with the -clean option to get it to notice that file. It will certainly not try to find missing dependencies.
– greg-449
Nov 21 '18 at 11:52
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53408030%2fdoes-an-eclipse-plugin-come-with-its-own-dependencies%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown