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
[email protected]

Reply via email to