You should be able to compile for 1.5 even with a 1.6 VM by setting the source and target flags on Eclipse and Ant. It will technically compile against the 1.6 class libraries, but it will produce 1.5- compatible code.

ms

On Sep 25, 2009, at 11:43 AM, Jarda Hanuš wrote:

Dear list,

just a small notice - if you want to use Java 1.5 on Snow Leopard, be aware that what seems to be 1.5 directory is only a symlink pointing to 1.6 directory. So even if you have your Eclipse or ant configured to use Java 1.5 and compile for Java 1.5, that nasty polar cat will actually silently compile for Java 1.6.
Workaround is for example here.

with regards

Jarda


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to