This is an ebuild for Sun's JDK 1.2.2, both the binary (_015/15) and the documentation (006).
Created attachment 11262 [details] documentation change log
Created attachment 11263 [details] documentation ebuild
Created attachment 11264 [details] binary change log
Created attachment 11265 [details] binary ebuild
Created attachment 11326 [details] sun-bcla-j2sdk-1.2.x
I couldn't get this to work, I just get: >>> Install sun-jdk-1.2.2.015 into /var/tmp/portage/sun-jdk-1.2.2.015/image/ category dev-java cp: failed to preserve ownership for /var/tmp/portage/sun-jdk-1.2.2.015/image//opt/sun-jdk-1.2.2.015/bin/jar: No such file or directory cp: failed to preserve ownership for /var/tmp/portage/sun-jdk-1.2.2.015/image//opt/sun-jdk-1.2.2.015/bin/jdb: No such file or directory cp: failed to preserve ownership for /var/tmp/portage/sun-jdk-1.2.2.015/image//opt/sun-jdk-1.2.2.015/bin/java: No such file or directory cp: failed to preserve ownership for /var/tmp/portage/sun-jdk-1.2.2.015/image//opt/sun-jdk-1.2.2.015/bin/rmic: No such file or directory cp: failed to preserve ownership for /var/tmp/portage/sun-jdk-1.2.2.015/image//opt/sun-jdk-1.2.2.015/bin/rmid: No such file or directory cp: failed to preserve ownership for /var/tmp/portage/sun-jdk-1.2.2.015/image//opt/sun-jdk-1.2.2.015/bin/serialver: No such file or directory cp: failed to preserve ownership for /var/tmp/portage/sun-jdk-1.2.2.015/image//opt/sun-jdk-1.2.2.015/bin/extcheck: No such file or directory cp: failed to preserve ownership for /var/tmp/portage/sun-jdk-1.2.2.015/image//opt/sun-jdk-1.2.2.015/bin/keytool: No such file or directory cp: failed to preserve ownership for /var/tmp/portage/sun-jdk-1.2.2.015/image//opt/sun-jdk-1.2.2.015/bin/javac: No such file or directory cp: failed to preserve ownership for /var/tmp/portage/sun-jdk-1.2.2.015/image//opt/sun-jdk-1.2.2.015/bin/javah: No such file or directory cp: failed to preserve ownership for /var/tmp/portage/sun-jdk-1.2.2.015/image//opt/sun-jdk-1.2.2.015/bin/javap: No such file or directory cp: failed to preserve ownership for /var/tmp/portage/sun-jdk-1.2.2.015/image//opt/sun-jdk-1.2.2.015/bin/native2ascii: No such file or directory cp: failed to preserve ownership for /var/tmp/portage/sun-jdk-1.2.2.015/image//opt/sun-jdk-1.2.2.015/bin/appletviewer: No such file or directory cp: failed to preserve ownership for /var/tmp/portage/sun-jdk-1.2.2.015/image//opt/sun-jdk-1.2.2.015/jre/bin/java: No such file or directory cp: failed to preserve ownership for /var/tmp/portage/sun-jdk-1.2.2.015/image//opt/sun-jdk-1.2.2.015/jre/bin/rmid: No such file or directory cp: failed to preserve ownership for /var/tmp/portage/sun-jdk-1.2.2.015/image//opt/sun-jdk-1.2.2.015/jre/bin/keytool: No such file or directory /usr/sbin/ebuild.sh: line 67: /usr/local/portage/dev-java/sun-jdk/files/sun-jdk-1.2.2.015: No such file or directory !!! ERROR: dev-java/sun-jdk-1.2.2.015 failed. !!! Function set_java_env, Line 73, Exitcode 1 !!! (no error message)
Could someone with java knowledge please fix this ebuild? I need it for one of mine ;).
ill try to check it as soon as i come back from vacations.
i was checking this ebuild and its reaching Sun End Of Life, so why users dont just upgrade their jdk's to the latest one (Thats what Sun Recommends), or keep this in the PORTDIR_OVERLAY. Really i dont want to add it to portage tree, 1.3 is on the tree just as a courtesy since in a 3 months will be reaching Sun End Of Life so will be no longer maintained, and makes maintaining sun-jdk a hell. Please give me your thoughts on this or i think i will close it as a WONTFIX.
I have no more use for a 1.2.2 JDK, but that is because of a change in jobs. End of life will probably mean that most people will upgrade to 1.3.x., and this happens in 15 days. The fact that this has been bounced from absinthe, to Java, to absinthe, to Java, to strider ... over the course of six months .... And, that the latest release is now _017 not _015.... Well, why bother?
JGNAT only works with 1.2 and ACT has no plans to update the product as there is no commercial value for it. JGNAT is however popular in the community and most binary distributions provide it. ACT Homepage: http://www.act-europe.com/ JGNAT Download: http://gd.tuwien.ac.at/languages/ada/gnat/jgnat/jgnat-1.1p/ I see two viable solutions here: 1. Add Java 1.2 to portage 2. Update JGNAT to support newer versions of Java I do not have time to update JGNAT as I have too much schoolwork, so simply pick either option 1 or 2 =). There is another compiler which does the same thing but using a newer JDK, it is however for windows and of course closed source.
Ill give it a try
Moving this again to java@gentoo.org, so everyone out there can help.
Pardon my ignorance but cant this be done with other ada compilers say gnats
For the record, Gnats is a bugtracking system by GNU. GNAT does not support making Java applets from Ada code. In fact, JGNAT was developed by ACT, the same people who are developing GNAT. GNAT compiles standard binaries and JGNAT produces Java bytecode.
Created attachment 32966 [details] sun-jdk-1.2.2.017.ebuild I mad a few minor changes to the ebuild, althought the original should work also. I'm also going to attach the var file for the files directory
Created attachment 32967 [details] files/sun-jdk-1.2.2.017 variable file for the files directory
Created attachment 32968 [details] java-sdk-docs-1.2.2.006.ebuild doc ebuild the documentation ebuild for dev-java/java-sdk-dcs
in portage now, thanks