On Fri, Jan 28, 2022 at 10:13 AM Andrey Loskutov <losku...@gmx.de> wrote:

> Could you provide a concrete example of such error with explanation what
> and where is broken / wrong configured
>

I'm working in LSP4E, and consuming some test bundles from the SDK
(DisplayHelper and other utilities). So far so good for the last years or
so.
I usually have the dependencies in my target-platform (not that visibility
of content is not influenced at all by the test flag here, it's plain
PDE/OSGi resolution ruling), so far so good.
Now I open one of the Platform test bundles I depend on. It does configure
the test flag for its source folder; then all of a sudden, my LSP4E test
bundle show errors and PDE refuses to process it because it requires me to
change a flag it order to see content of this bundle (which I can
perferctly see in the PDE/OSGi world where this flag is absent).
So I have no other choice that setting this flag in LSP4E or I cannot
develop. It's interrupting my workflow and I do not see any value to
compensate this interruption; and luckily I know deeply all those projects
to easily find how to remediate, I can imagine some people who are less
aware of those things get lost.


> how it can be improved?
>

Just removing the "not main code of the project, need a flag to consume"
flag for the main content of those bundles would be correct.

Also I'm not sure PDE adds something to metadata to enforce this warning.
>

It has some operations that do set the flag according to the bundle name,
but maybe not automatically, could be on import.
_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev

Reply via email to