Naming a session session produces the following compile errors during build:

run-eclipse-build:
   [javac] C:\Spoofax\Eclipses\Eclipse 3.8 WebDSL-nightly\plugins\webdsl.editor_1.2.9.201302151904\webdsl-template\webdsl-build-eclipse.xml:291: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
   [javac] Since compiler setting isn't classic or modern, ignoring fork setting.
   [javac] Since compiler setting isn't classic or modern, ignoring fork setting.
   [javac] Since compiler setting isn't classic or modern, ignoring fork setting.
   [javac] Since compiler setting isn't classic or modern, ignoring fork setting.
   [javac] Compiling 585 source files to C:\Spoofax\Repositories\metaborg.bitbucket\lwc2013\QLExample\WebContent\WEB-INF\classes
   [javac] Since compiler setting isn't classic or modern, ignoring fork setting.
   [javac] invalid Class-Path header in manifest of jar file: C:\Spoofax\Repositories\metaborg.bitbucket\lwc2013\QLExample\WebContent\WEB-INF\lib\uncommons-maths-1.2.jar
   [javac] ----------
   [javac] 1. ERROR in C:\Spoofax\Repositories\metaborg.bitbucket\lwc2013\QLExample\.servletapp\src-generated\webdsl\generated\templates\sendQueuedEmail_Email_Template.java (at line 67)
   [javac] 	HttpSession session;
   [javac] 	            ^^^^^^^
   [javac] Duplicate field sendQueuedEmail_Email_Template.session
   [javac] ----------
   [javac] 2. ERROR in C:\Spoofax\Repositories\metaborg.bitbucket\lwc2013\QLExample\.servletapp\src-generated\webdsl\generated\templates\sendQueuedEmail_Email_Template.java (at line 92)
   [javac] 	private webdsl.generated.domain.Session session = null;
   [javac] 	                                        ^^^^^^^
   [javac] Duplicate field sendQueuedEmail_Email_Template.session
   [javac] ----------
   [javac] 3. ERROR in C:\Spoofax\Repositories\metaborg.bitbucket\lwc2013\QLExample\.servletapp\src-generated\webdsl\generated\templates\sendQueuedEmail_Email_Template.java (at line 164)
   [javac] 	session = (webdsl.generated.domain.Session)env.getVariable("session");
   [javac] 	          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [javac] Type mismatch: cannot convert from Session to HttpSession
   [javac] ----------
   [javac] 3 problems (3 errors)
Submitted by Gabriƫl Konat on 16 February 2013 at 13:48

On 22 March 2013 at 13:11 Elmer van Chastelet tagged session

Log in to post comments