-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Manfred Tremmel wrote: > Am Donnerstag, 14. September 2006 21:36 schrieb Pascal Bleser: >> Manfred Tremmel wrote: >>> Ok, when "-target 1.4" is used to build the packages, I don't have >>> anything against building the packages with java 1.5.0. >>> Would be bad not to be able to user jdbc drivers or anything else >>> with gcj or Sun's java 1.4.2. >> I don't understand what you mean. > > What I mean is, when SUSE switches to build all the delivered java > packages with java 1.5.0 without backwardcompatibility, they will not > work with gcj or Sun's java 1.4.2, what (as I've understood) should be > allready be part of the next release.
Oh, right ! Sorry, now I'm in the right context ;) Yes, indeed, that's correct. Generally, the policy is: - - if it uses annotations, generic, autoboxing or other 1.5 features, use 1.5 target (default) - - if it doesn't use a 1.5 feature, use -source 1.4 -target 1.4 That's how it's being done for almost every java OSS project out there. If you don't need JSE 5 features, build in 1.4 compliance mode. >> For your own code, just use -source 1.4 -target 1.4 > > Right, but when SUSE itselve doesn't do this, I will not be able to > start a delivered tomcat, Eclipse, with 1.4.2 and all the libs > (my /usr/share/java directory is full of jar files which are part of > the SUSE distribution) wouldn't be useable with gcj or Sun's java > 1.4.2. Yes, sorry, I missed the point. > My hope is to get a *open* java for a *open*SUSE. I don't think Sun's > java will be open in near future, it's a process starting with the next > version, but will take a while, and maybe the wind changes inbetween. > So I hope, gcj + classpath could replace Sun java, so we shouldn't > build walls creating with getting incompatible jar-files. gcj+classpath can already "replace" a lot of Sun's JVM/JDK if you don't take Swing into account. cheers - -- -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/ /\\ <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> _\_v The more things change, the more they stay insane. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFFCcz4r3NMWliFcXcRAgFMAJ4yxbFH1QAnUYyuZlkJDvDvto1dwwCgkTT6 7RlnlRk0flMD+WnHArcpkpc= =fw8G -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
