[fedora-java] [Eclipse] Odd problem with updating eclipse-wtp-jeetools

Gerard Ryan galileo at fedoraproject.org
Thu May 2 10:40:45 UTC 2013


-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJRgkKtAAoJEG7cfkpivEoV51kP/0TcjoINaUdqihsZcwQPay3Q
VFpCQIBCtESmcBqWQ8qsQIb07AgesXX23/ff4T6GwNYkkgqHGzovr98vaU44oRmt
J5IieUF0h5vd2IH4cxTJrgHxuyfCcJZePA326f2eJjAT/yzQwvPgpS4GxSJKJllo
J2EzGFnFZJfC1AjCT9FLGMEaSEs9FC7HvSofq3UG+JFnqsLNvyx7QzfhoBH4BfhU
1qt8Zgdi0pnWMAWkGsC6xcrIEuBUVQ6+nOPh2Im9k37TejF3zW9xc4sPz9C0Egr8
Gnwm+pEKXiuzFME9ppx1nC3oqZQVqiNAfpo7XNoZxhZorhe6pJfELkkt0lY0/OV9
jfen4Lp4lmo5f1AqF5XCEJPg/4NUE4c2CQlXhAE5ft92pHrJAJ3XBPieKk4dPMIT
L/8Dt8meB4hnt3aTGm8iAFJ+dA+0xsnhOx1CjuSSGnGRR9+Pf0yQt3PhFrGa3iwv
g+2bseg46tfCrowhMlTRPE+UU6PSHZ+wEA3gY4VacQMP4y+aI9cOxRDFPOGCTeJP
3AsaAnHNuvHWYYseon2I5FzzzqKFadbSLoagixxspSXTTUDMrfTclI1dDTOxuzTP
SZq/xYJimQtCZejLOf4R1WWgDpW5svSP61VqjdPnvyLo/XTcaJo1ehUrw3UWfVX9
CpxopDO77vp/Z9ZsF+Aa
=v3iF
-----END PGP SIGNATURE-----


More information about the java-devel mailing list