-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi folks,
I'm trying to update eclipse-wtp-jeetools but I'm running into a problem that's probably something obvious that I should know, but it's not coming to me:
Bundle A (org.eclipse.jst.common.annotations.core) requires bundle B (org.eclipse.jem.util - from eclipse-wtp-common). Bundle A specifies in its MANIFEST.MF to 'Require-Bundle' on bundle B. Bundle B is available during the build in the '-d' parameter to the eclipse-pdebuild command.
The problem arises when compilation reaches a file in bundle A that has an 'import' for a file in bundle B -- errors such as the following occur:
[javac] 12. ERROR in /builddir/build/BUILD/eclipse-wtp-jeetools-3.4.0/webtools.javaee-201304111500/plugins/org.eclipse.jst.common.annotations.core/src/org/eclipse/jst/common/internal/annotations/core/Annotat ionsProviderManager.java (at line 8) [javac] import org.eclipse.jem.util.RegistryReader; [javac] ^^^^^^^^^^^^^^^ [javac] The import org.eclipse.jem cannot be resolved
I've also tried adding 'Import-Package' on the specific packages from Bundle B into the MANIFEST.MF for Bundle A, but that didn't work either.
Does anybody have any suggestions as to what is going wrong, or where I should be looking? I bet I'm looking in completely the wrong place.
If you think it would be helpful, there's a copy of the srpm that I'm trying is at [1] (there are a lot of changes - plan is to get the update working, then tidy up the package). There's also a copy of the build.log I've been experiencing at [2].
Thanks for any advice or insights that you can provide, Gerard,
[1] http://galileo.fedorapeople.org/eclipse-wtp-jeetools-3.4.0-6.fc20.src.rpm [2] http://galileo.fedorapeople.org/jeetools-build.log
java-devel@lists.fedoraproject.org