[Laszlo-dev] building with java 1.5 syntax
Henry Minsky
hminsky at laszlosystems.com
Mon Feb 8 16:45:11 PST 2010
I'm trying to add some code in the LPS server which uses "generics" , a Java
1.5 feature. Is there a way to build the LPS sources
without "-source 1.4" ?
compile:
[javac] Compiling 1 source file to
/Users/hqm/openlaszlo/trunk/WEB-INF/lps/server/build
[javac]
/Users/hqm/openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/Lzcsh.java:46:
generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] targets = new HashMap<String, Target>();
[javac] ^
[javac] 1 error
BUILD FAILED
/Users/hqm/openlaszlo/trunk/build.xml:606: The following error occurred
while executing this line:
/Users/hqm/openlaszlo/trunk/WEB-INF/lps/server/build.xml:302: Compile
failed; see the compiler error output for details.
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20100208/8511d6da/attachment.html
More information about the Laszlo-dev
mailing list