Hi Antonio,

Antonio Gallardo schrieb:
Andreas Hartmann escribió:
Hi Maria Jesus,

Maria Jesus Turiel schrieb:
I'm trying to compile apache lenya in java 1.6, but when I change
parameter in local.build.properties 'parametro src.java.version=1.5' to
'parametro src.java.version=1.6' i get the next error in build:

.....
to /home/maje/apps/apache-lenya-2.0.2/build/lenya/api javac: source
release 1.6 requires target release 1.6
it looks like you have to set the parameter for the target release as
well. IIRC the parameter name is "target.vm".

Hi Andreas,

The above suggestion "set property target.vm=1.6" is just a workaround.

The problem is caused because ant 1.6.5 is unable to detect java 1.6. I
did update lenya branch 2.0.x to ant 1.7.1 and now to build with java
1.6 we don't have to use the target.vm property.

alright, thanks for clarifying and fixing this!

Have a nice weekend,

-- Andreas


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to