Re: SnowLeopard ant build of apps for java 1.5 on 10.4
Re: SnowLeopard ant build of apps for java 1.5 on 10.4
- Subject: Re: SnowLeopard ant build of apps for java 1.5 on 10.4
- From: Kieran Kelleher <email@hidden>
- Date: Tue, 8 Dec 2009 22:34:25 -0500
One thing I wonder though ...... since the 1.5 is a symbolic link to
1.6, does Eclipse actually show you 1.6 API in codesense? I am just
throwing that out there ..... not a problem for me right now since I
literally put 1.5 and 1.4 on SL, but I just wonder.
On Dec 8, 2009, at 6:18 PM, David LeBer wrote:
On 2009-12-08, at 5:39 PM, Kieran Kelleher wrote:
If you want "real" java vm alternatives instead of just symbolic
links to 1.60 in JavaVM.framework/Versions/, I suggest you just
install them from the Leopard java 1.5 update 5 installer using
Pacifist. Problem solved and nothing is going to silently bite you.
Takes all of 2 minutes to just set it and forget it. Works for me.
YMMV. :-)
http://chxor.chxo.com/post/183013153/installing-java-1-5-on-snow-leopard
http://idisk.me.com/kelleherk/Public/Pictures/Skitch/java_pacifist-1-5-20091208-102249.png
http://idisk.me.com/kelleherk/Public/Pictures/Skitch/vm-2-20091208-102224.png
On Dec 8, 2009, at 5:15 PM, Andrew Lindesay wrote:
Hello;
I seem to have problems with the "DataSource" API change between
1.6 and 1.5 which only seem to be able to be resolved by reverting
to a 1.5 javac –– has anybody else worked around this?
I've not had any problem building with 1.6 for deployment on 1.5.
FMI, what are you doing that is encountering the DataSource API
changes?
cheers.
I'm trying to figure out how to build WO 5.3.3 apps under 10.6,
to be deployed on 10.4 (with java 1.5). I would normally build
my apps on the development box with ant, then move them over. I
got the impression from something I read (no idea where, now)
that you could use Snow Leopard's java 1.6 compiler to build 1.5-
compliant apps. I don't think the Eclipse Java -> Compiler ->
compliance level affects what ant does, neither from within
Eclipse, nor (of course) from the command line.
I've seen suggestions to add source and target attributes to the
wocompile task. I assume that means something like this:
<wocompile srcdir="Sources" destdir="bin" source="1.5"
target="1.5">
We are setting the compiler compliance level and using the source
and target values in our wocompile tasks and building WO5.3.3
apps for deployment on Tiger and Leopard server without issue.
flash-2:foo david$ file Application.class
Application.class: compiled Java class data, version 49.0 (Java
1.5)
___
Andrew Lindesay
www.lindesay.co.nz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden