On 2009-12-08, at 3:06 PM, Patrick Robinson wrote: > 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) ;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 protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
