Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] Internal packages, API and rules

Hi,

There must be standard Eclipse rules somewhere in wiki.
Exporting internal packages was probably not a feature, but an easy workaround without doing lots of changes to the whole codebase. Most of those happened long ago in CVS, which doesn't support moving files, so exporting some internals was easier, as history of those files wasn't lost.

In the new project it would make sense to stricter follow the rules and export only public packages. If something needs to be exposed to users, then it should be moved our of internal package then.

Regards,
Alex


On Thu, Oct 1, 2015 at 5:29 PM, akurtakov <akurtakov@xxxxxxxxx> wrote:
Hi,
Sh module is finally in, hooked in the builds, first round of sonar issues reviewed and etc.
Now it's time to think of API. Are there any written rules how DLTK project handles that?
From my observations current state is keep internal packages exported in the manifest without a clear preference whether they should be marked as x-internal or not.
For the SH module I would like to not even export internal packages (there aren't any currently but I plan to hide most of them and open on case by case analysis). Fine with that?
If not I'm going to mark all org.eclipse.dltk.sh.internal.* packages as x-internal to keep warnings on for people that would decide to use them.

Regards,
Alex

_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/dltk-dev


Back to the top