Community
Participate
Working Groups
Source bundles for javax.annotations and javax.inject are missing in the SDK build. For other similar bundles like javax.el and javax.servlet, source bundles are there.
The (non) source bundles are included in org.eclipse.e4.rcp feature, so will be up to UI to solve. I do see that in their pom.xml the explicitly exclude source for <plugin id="javax.xml"/> <plugin id="javax.annotation"/> <plugin id="javax.inject"/> <plugin id="org.apache.batik.css"/> <plugin id="org.apache.batik.util"/> <plugin id="org.apache.batik.util.gui"/> and others. Not sure if that's because they explicitly did not want ... or, if there is (or should be) an explicit org.eclipse.e4.rcp.source feature? Or, might be that 'source' doesn't exist for these in Orbit? From a quick scan, only "javax.xml" has no source in Orbit, but I did note check versions required.
FWIW, this was also missing with the PDE build.
This is even more severe now that the SDK claims to ship with e4 APIs. A sane developer cannot use any of these annotations without seeing their specification. For RC4, we could at least add attached Javadoc, i.e. add this to org.eclipse.platform.doc.isv's contribution to "org.eclipse.pde.core.javadoc": <javadoc path="http://docs.oracle.com/javaee/6/api/"> <plugin id="javax.inject"/> </javadoc> <javadoc path="http://docs.oracle.com/javase/7/docs/api/"> <plugin id="javax.annotation"/> </javadoc>
I've removed the exclusions from the pom and I've run a local test build. The source bundles get included in the e4.rcp.source feature. for 4.3.1: https://git.eclipse.org/r/15781 PW
Is this a dup of bug 387052, or is there still more to do?
Yes, this looks to be 2 bundles out of the list from bug 387052 PW
(In reply to comment #4) > I've removed the exclusions from the pom and I've run a local test build. > The source bundles get included in the e4.rcp.source feature. > > for 4.3.1: https://git.eclipse.org/r/15781 > > PW Submitted and updated the feature version.
Note that the fix also went into 'master' with http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=1e3198b48b51a9b2cdb4b3dca7818ee767853fec
Verified in build 4.3.0.M20130821-0800.
Per comment 9, state should be Verified
Verified per comment 9