Comment 12 for bug 126069

Revision history for this message
Scott Howard (showard314) wrote :

Ok, I hit a snag and can report it here:

TripleA relies on class from AppleJavaExtensions.jar. Apple does give us a license to distribute that code [1], but not the source code. AppleJavaExtensions would have to be packaged first as a non-free package, so triplea would be contrib. However, I don't know how necessary that is . . .

another java package handled it by faking the classes [2,3]. I'm trying thatsolution now, but am now getting:

    [javac] BasicGameMenuBar.java:285: addApplicationListener(com.apple.eawt.ApplicationListener) in com.apple.eawt.Application cannot be applied to (<anonymous com.apple.eawt.ApplicationAdapter>)
    [javac] Application.getApplication().addApplicationListener(new ApplicationAdapter()
    [javac] ^

and similar errors...

also, I can't get the test target to work, even with the original source code. Don't know how important that is.

[1] http://developer.apple.com/library/mac/#samplecode/AppleJavaExtensions/Listings/README_txt.html#//apple_ref/doc/uid/DTS10000677-README_txt-DontLinkElementID_3
[2] http://anonscm.debian.org/viewvc/debian-science/packages/jeuclid/trunk/debian/README.Debian?view=markup
[3] http://patch-tracker.debian.org/patch/series/view/jeuclid/3.1.9-1/AppleJavaExtensions.patch