After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 569710 - java-acces-bridge doesn't package all of the classes in the final jar
java-acces-bridge doesn't package all of the classes in the final jar
Status: RESOLVED WONTFIX
Product: at-spi
Classification: Platform
Component: javabridge
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jeff Cai
Jeff Cai
Depends on:
Blocks:
 
 
Reported: 2009-01-29 18:36 UTC by Serkan Kaba
Modified: 2009-08-25 07:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Patch against 1.6.0 to package all the classes in the jar (2.33 KB, patch)
2009-01-30 04:46 UTC, Serkan Kaba
none Details | Review

Description Serkan Kaba 2009-01-29 18:36: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
Comment 1 Jeff Cai 2009-01-30 02:49:10 UTC
I built it on Solaris and it is ok. Which distribution you built on?
Comment 2 Serkan Kaba 2009-01-30 04:45:26 UTC
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.
Comment 3 Serkan Kaba 2009-01-30 04:46:35 UTC
Created attachment 127512 [details] [review]
Patch against 1.6.0 to package all the classes in the jar
Comment 4 Serkan Kaba 2009-01-30 11:45:50 UTC
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.
Comment 5 Serkan Kaba 2009-01-30 15:11:32 UTC
Diego Pettenò commented that it might be the shell (in this case bash) not expanding wildcards recursively.
Comment 6 Serkan Kaba 2009-02-18 09:03:28 UTC
(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.
Comment 7 Jeff Cai 2009-08-25 07:06:17 UTC
Since java-access-bridge will be removed in GNOME 2.28. close this bug.