Hi Tucker,

That is the solution to my problem. If you use the older version of JavaCC (v2.1), 4.8 builds fine.

Thanks!

Phil



On Fri, Jun 3, 2011 at 11:24 AM, P T Withington wrote:

This is because you are using the new JavaCC. There is a bug that was assigned to me to make JavaCC part of the source so you'd get the right one for the version. Pretty sure Dave Nault filed it, so he must know how to fix it.

On 2011-06-03, at 09:50, [email protected] wrote:

Hi Don,

Perhaps you can help me. I need to build an older version of OL (4.8) and my machine has java 1.6 to support building trunk. I'm seeing build errors when I do a build. Any ideas?

Thanks!

Phil



compile:
[javac] Compiling 570 source files to C:\clients\laszlo\svn\openlaszlo\4.8\W
EB-INF\lps\server\build
[javac] C:\clients\laszlo\svn\openlaszlo\4.8\WEB-INF\lps\server\build.1.4\sr c\org\openlaszlo\css\parser\CSSParser.java:291: generics are not supported in -s
ource 1.4
   [javac] (use -source 5 or higher to enable generics)
[javac] private java.util.List<int[]> jj_expentries = new java.util.ArrayL
ist<int[]>();
   [javac]                         ^
[javac] C:\clients\laszlo\svn\openlaszlo\4.8\WEB-INF\lps\server\build.1.4\sr c\org\openlaszlo\css\parser\CharStream.java:30: annotations are not supported in
-source 1.4
   [javac] (use -source 5 or higher to enable annotations)
   [javac]   @Deprecated
   [javac]    ^
[javac] C:\clients\laszlo\svn\openlaszlo\4.8\WEB-INF\lps\server\build.1.4\sr c\org\openlaszlo\sc\parser\JJTParserState.java:5: generics are not supported in
-source 1.4
   [javac] (use -source 5 or higher to enable generics)
   [javac]   private java.util.List<Node> nodes;
   [javac]                         ^
[javac] C:\clients\laszlo\svn\openlaszlo\4.8\WEB-INF\lps\server\build.1.4\sr c\org\openlaszlo\sc\parser\Parser.java:8357: generics are not supported in -sour
ce 1.4
   [javac] (use -source 5 or higher to enable generics)
[javac] private java.util.List<int[]> jj_expentries = new java.util.ArrayL
ist<int[]>();
   [javac]                         ^
[javac] C:\clients\laszlo\svn\openlaszlo\4.8\WEB-INF\lps\server\build.1.4\sr c\org\openlaszlo\sc\parser\SimpleCharStream.java:204: annotations are not suppor
ted in -source 1.4
   [javac] (use -source 5 or higher to enable annotations)
   [javac]   @Deprecated
   [javac]    ^
   [javac] 5 errors

BUILD FAILED

Reply via email to