Bug#587657: locally installed plugins aren't loaded
Niels Thykier
niels at thykier.net
Fri Sep 3 11:35:00 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 2010-09-03 04:36, Kevin Locke wrote:
> Just got hit by this bug again. Jim's suggestion about
> org.apache.lucene was right on. To save time as this bug keeps
> reappearing, here's a quick fix for the future:
>
> sed -ir 's/^([^,]+),[^,]+,([^,]+\/\1)_([^,\/]+).jar,/\1,\3,\2_\3.jar,/' "$(find ~/.eclipse -name bundles.info)"
>
> Note: Regex made ugly because _ appears in namespaces and versions
> and as a separator between the two... (not POSIX-valid use of sed)
>
> It seems to me that the larger problem here isn't that these versions
> are wrong, but that eclipse silently fails to load all plugins when
> one version is wrong and doesn't log the error anywhere, making this
> bug harder to identify for newly-affected users (or am I overlooking
> it somewhere?).
>
> Cheers,
> Kevin
>
>
Hi Kevin and Jim
What version of lucene2 (liblucene2-java) do you have installed?
Kevin, thanks for the sed command; we may end up using it, though I
would refer not having to modify the file manually if I can avoid it.
If/when you experience this again could you please test if running
eclipse -clean
fixes the file? I have heard a loose rumor that parts of upstream would
like to change the format of the bundles.info.
I am going to do another upload of eclipse soon to force stricter
dependencies with lucene2 soon. Hopefully this will be the last incident
for Squeeze.
~Niels
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEAREIAAYFAkyA3WMACgkQVCqoiq1YlqzkUQCgo+hena+poDLEYSuuu5Mtt1xQ
hikAn3VXGA/mvUcfmaVc1BLwmSuTcNz6
=/cKS
-----END PGP SIGNATURE-----
More information about the pkg-java-maintainers
mailing list