-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support jars.extra.classpath
in the Manifest editory to avoid confusion with additional.bundles
#1407
Comments
This is a good idea. I'm not suggesting one needs to make things more complicated so this is just an FYI... The scheme generally supports
as parsed by |
Officially also relative path is supported as well as inner jars:
I just think that if one really requires a version or relative path one can do it manually, but e.g additional bundles do only support a BSN and people seem happy with that already (but using it for a different purpose). |
I 100% agree to keep this simple for the common case! |
I'm working on this. |
Great. You are one of the students from CodeDays, aren't you? Much success on this task and don't hesitate to ask for help if you need any. |
Thank you, yes I am from CodeDay. I wanted to reach out for clarification. In build configuration I am able to add jars by using Extra ClassPath Entries and using the add Jars feature, is there anything specific you wanted on top of having this available in the build section? |
Indeed there is already some UI support in the And it even seems to handle relative and 'absolute' URLs properly already. So maybe we should just move it to the |
Do what you think best. |
I never noticed that, its interesting how many features PDE has people often just don't recognize :-D
I think the first thing should be to make it expanded by default currently it is simply to easy to overlook, beside from that I think it makes sense to have it in the "build" section because it is related to the Next I think we should add a link in the description of the "Automated Management of Dependencies" with a link that jumps to that tab, that should be enough for people to discover it, if we then also add a N&N entry for that change it should be enough.
I think it currently does not work as expected (for me), e.g. it only allows to add inner jars from workspace projects, it should also allow to add bundles (either from workspace or target platform) so that needs to be improved to be useful. If we then have a way to even mark some of them as test-only that would probably already help with but that's a different topic of course. |
With #1469, the section is now expanded by default, thanks to @anviik. |
Great so next step would be that it allows to select any bundle from the target platform, if that is in place we should add this to the N&N to make people more aware about this "new" way of specify compile only dependencies. |
Currently there is no UI support for
jars.extra.classpath
in the Manifest editor and du to its prominent placing people instead use oftenadditional.bundles
to add something that should be there for compile but not imported (what serves a different purpose) leading to confusion.Even though
jars.extra.classpath
theoretically supports different styles, we should only support the form where one can specify a single bundleplatform:/plugin/<Bundle-SymbolicName>
as this is also supported by Tycho and easy to adapt by other tools.The text was updated successfully, but these errors were encountered: