Re: Ant compiling some classes as version 50 (1.6)
Ralf Schuchardt <[email protected]> Tue, 28 Dec 2010 18:58:02 +0100
| Newsgroups | gmane.comp.web.webobjects.woproject.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Am 28.12.2010 um 15:05 schrieb Pascal Robert: > I looked at the build that the incremental builder in Eclipse do, and it's all version 49. So the culprit is Ant... But I don't know how to fix that. I tried to search for it in Google but either I'm not searching with the correct terms or I didn't find anything (only found references of when all classes are built with the wrong version). > > Any ideas? Add target="1.5" to the WOCompile task (and maybe also debug="true" if you need meaningful stack traces). You can also set the corresponding Ant property ant.build.javac.target=1.5 Ralf