Hi Tal,
Thanks for the suggestion. I've just made the change in SVN trunk.
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~
http://www.restlet.orgNoelios Technologies ~ Co-founder ~
http://www.noelios.com-----Message d'origine-----
De : Tal Liron [mailto:
[hidden email]]
Envoyé : mercredi 7 octobre 2009 20:19
À :
[hidden email]
Objet : Re: Java 1.5
My quick-and-dirty solution:
In build/tmpl/editions/build.xml, in the "compile" macrodef, I added
target="1.5" to the javac task. Right now, only the "compiler" attribute
is set.
It seems to me that this is expected behavior. Reading the Ant
documentation, I see that "target" is not dependent on "compiler", but
inferred from the running VM.
I recommend adding the "target" attribute, and possibly removing the
"compiler" attribute.
-Tal
On 10/05/2009 11:37 PM, Tal Liron wrote:
> Recent svn builds have been compiling for Java 1.6, because, I guess,
> it's the default for my system. How do I force 1.5? Is there something
> I should add to custom.properties?
>
> By the way, svn does not build at this moment. Lots of errors with the
> httpclient extension, and a POM missing for JAAS.
>
> -Tal
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=2404620
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=2409319