SnowLeopard ant build of apps for java 1.5 on 10.4
SnowLeopard ant build of apps for java 1.5 on 10.4
- Subject: SnowLeopard ant build of apps for java 1.5 on 10.4
- From: Patrick Robinson <email@hidden>
- Date: Tue, 8 Dec 2009 15:06:42 -0500
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">
But that doesn't seem to have an effect.... "file" still reports
the .class files as being version 50.0.
I also saw a suggestion to pass -source and -target to ant, but I
don't understand that: those aren't valid ant parameters.
I suppose I could install an old java 1.5 compiler on Snow Leopard.
Is that the only way?
- Patrick
_______________________________________________
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