GNOME Bugzilla – Bug 569710
java-acces-bridge doesn't package all of the classes in the final jar
Last modified: 2009-08-25 07:06:17 UTC
It packages classes in org.GNOME.Bonobo and org.GNOME.Accessibility but not the subpackages. The missing classes are compiled and referenced from the packaged classes but do not make their way into the jar. I tested 1.6.0 available in portage and examined the built jar of 1.24.2 which still only packages portion of the compiled classes. I'm pasting a list of classes referenced but not packaged classes for 1.6.0. Thanks in advance. Serkan org/GNOME/Accessibility/CollectionPackage/TreeTraversalTypeHelper.class org/GNOME/Bonobo/StoragePackage/NotStreamHelper.class org/GNOME/Accessibility/ContentStreamPackage/iobufHolder.class org/GNOME/Bonobo/StoragePackage/NoPermission.class org/GNOME/Accessibility/_LoginHelperPackage/WindowListHelper.class org/GNOME/Accessibility/SelectorPackage/CommandResultHelper.class org/GNOME/Bonobo/StreamPackage/iobufHolder.class org/GNOME/Bonobo/StreamPackage/SeekType.class org/GNOME/Bonobo/StreamPackage/NoPermissionHelper.class org/GNOME/Bonobo/StreamPackage/SeekTypeHelper.class org/GNOME/Accessibility/ContentStreamPackage/NotSupportedHelper.class org/GNOME/Bonobo/StoragePackage/NameExistsHelper.class org/GNOME/Bonobo/StreamPackage/NotSupported.class org/GNOME/Bonobo/StreamPackage/IOError.class org/GNOME/Bonobo/StoragePackage/NameExists.class org/GNOME/Bonobo/StoragePackage/NotFoundHelper.class org/GNOME/Accessibility/ContentStreamPackage/SeekType.class org/GNOME/Bonobo/StoragePackage/NotStream.class org/GNOME/Bonobo/StreamPackage/NoPermission.class org/GNOME/Bonobo/StoragePackage/NotEmpty.class org/GNOME/Accessibility/ContentStreamPackage/SeekTypeHelper.class org/GNOME/Bonobo/StreamPackage/IOErrorHelper.class org/GNOME/Bonobo/StoragePackage/NotSupported.class org/GNOME/Accessibility/CollectionPackage/SortOrder.class org/GNOME/Accessibility/_LoginHelperPackage/WindowInfo.class org/GNOME/Bonobo/StoragePackage/IOError.class org/GNOME/Bonobo/StoragePackage/NotStorageHelper.class org/GNOME/Bonobo/StoragePackage/NotEmptyHelper.class org/GNOME/Accessibility/CollectionPackage/TreeTraversalType.class org/GNOME/Accessibility/ContentStreamPackage/NoPermission.class org/GNOME/Accessibility/CollectionPackage/MatchTypeHelper.class org/GNOME/Accessibility/_LoginHelperPackage/DeviceReq.class org/GNOME/Accessibility/ContentStreamPackage/iobufHelper.class org/GNOME/Accessibility/ContentStreamPackage/NoPermissionHelper.class org/GNOME/Accessibility/ContentStreamPackage/IOError.class org/GNOME/Bonobo/StoragePackage/NotSupportedHelper.class org/GNOME/Accessibility/SelectorPackage/CommandResult.class org/GNOME/Bonobo/StoragePackage/IOErrorHelper.class org/GNOME/Bonobo/StoragePackage/NotFound.class org/GNOME/Accessibility/CollectionPackage/MatchType.class org/GNOME/Bonobo/StoragePackage/NotStorage.class org/GNOME/Accessibility/ContentStreamPackage/IOErrorHelper.class org/GNOME/Bonobo/StreamPackage/NotSupportedHelper.class org/GNOME/Bonobo/StoragePackage/OpenModeHelper.class org/GNOME/Bonobo/StoragePackage/NoPermissionHelper.class org/GNOME/Bonobo/StoragePackage/DirectoryListHelper.class org/GNOME/Accessibility/_LoginHelperPackage/DeviceReqListHelper.class org/GNOME/Accessibility/TextPackage/RangeListHelper.class org/GNOME/Accessibility/CollectionPackage/SortOrderHelper.class org/GNOME/Accessibility/TextPackage/Range.class org/GNOME/Bonobo/StreamPackage/iobufHelper.class org/GNOME/Accessibility/ContentStreamPackage/NotSupported.class
I built it on Solaris and it is ok. Which distribution you built on?
Gentoo. The jar lines in makefile.{in,am}'s have org/GNOME/Bonobo/*.class and org/GNOME/Accessibility/*.class which in turn doesn't recurse into subpackages. I guess jar works differently on Solaris. I was able to create a patch against 1.6 to get it working on Linux which will follow.
Created attachment 127512 [details] [review] Patch against 1.6.0 to package all the classes in the jar
I just checked ubuntu deb package available at http://packages.ubuntu.com/source/intrepid/java-access-bridge and verified that they have an incomplete jar as well.
Diego Pettenò commented that it might be the shell (in this case bash) not expanding wildcards recursively.
(In reply to comment #3) > Created an attachment (id=127512) [edit] > Patch against 1.6.0 to package all the classes in the jar > The patch applies to 1.24.2 and I included the patch in both 1.6.0 and 1.24.2 versions in Gentoo.
Since java-access-bridge will be removed in GNOME 2.28. close this bug.