Community
Participate
Working Groups
Build Identifier: I have a problem with creating a server connector for Mylyn Builds. As I read through the reference implementation of the Hudson connector, I believe that the BuildServerBehavior class must be extended. However, I have a problem with the classes it requires (IBuild, IOperationMonitor, GetBuildRequest, BuildServerBehavior, etc.) - the containing packages of those classes were marked x-internal = true in org.eclipse.mylyn.builds.core's manifest.mf. I believe it is quite urgent as Eclipse is actually giving error (instead of warning) whenever I touch IOperationMonitor, which is required by most of the BuildServerBehavior class. Reproducible: Always
The export of all packages as x-internal is intentional since the bundles are still in Incubation and the API is not finalized. Nevertheless we treat package that do not have an internal segment as API. Only in exceptional cases we reserve the option to change existing API in a way that breaks binary compatibility. You can change the compiler settings for your bundles to warn or ignore internal access in the project properties under Plug-in Manifest Compiler in the References section. For Mylyn we often make internal classes explicitly visible in the .classpath file, .e.g.: <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"> <accessrules> <accessrule kind="accessible" pattern="org/eclipse/mylyn/**"/> </accessrules> </classpathentry>