[jetty-dev] Eclipse JSP Compiler: Unresolved Compilation Error

[email protected] Mon, 11 Mar 2013 20:26:50 +1300
Newsgroups gmane.comp.java.jetty.general
Message-ID <CAP89C8o0dHS-i=cmDgWyh0HWP9XdELSUSFDhYS-0fyGJT42BGA@mail.gmail.com>
--14dae9c093c6afc54604d7a118d2
Content-Type: text/plain; charset=UTF-8

JRE 1.7 Update 17 / Jetty-Hightide 8.1.9

We are trialling switching to Eclipse compiler for JSP pages via

  <Call class="java.lang.System" name="setProperty">
    <Arg>org.apache.jasper.compiler.disablejsr199</Arg>
    <Arg>true</Arg>
  </Call>

we are doing purely to lighten the size of our many deployments.

However, in a legacy struts application with a page that has a rather
unwieldy size (Generated source > 33,000 lines).   When we access that page
we get an Unresolved Compilation error.  There is no detail on the exact
error, just that it didn't compile along with the line number.

The page compiles/works if we comment out the above and use the JDK
compiler.

Also, if I switch out the version of the Eclipse compiler in Jetty-hightide
8.1.9 (org.eclipse.jdt.core-3.7.1.jar)  with a more current version
(org.eclipse.jdt.core_3.8.3.v20130121-145325.jar) the page compiles/works.

Is there any reason why the included eclipse compile in Jetty-Hightide
8.1.9 is quite so old ?

I see that the eclipse compiler included in Jetty 9.0 is still
org.eclipse.jdt.core-3.7.1.jar ?

Is there anything I can easily do to determine the exact nature of the
compilation error ?

Would using the updated eclipse compiler with jetty-hightide 8.1.9 take us
outside the terms of our Intalio jetty support ?

--14dae9c093c6afc54604d7a118d2
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

JRE 1.7 Update 17 / Jetty-Hightide 8.1.9<br><br>We are trialling switching =
to Eclipse compiler for JSP pages via<br><br>=C2=A0 &lt;Call class=3D&quot;=
java.lang.System&quot; name=3D&quot;setProperty&quot;&gt;<br>=C2=A0=C2=A0=
=C2=A0 &lt;Arg&gt;org.apache.jasper.compiler.disablejsr199&lt;/Arg&gt;<br>

=C2=A0=C2=A0=C2=A0 &lt;Arg&gt;true&lt;/Arg&gt;<br>=C2=A0 &lt;/Call&gt;<br><=
br>we are doing purely to lighten the size of our many deployments.<br><br>=
However, in a legacy struts application with a page that has a rather unwie=
ldy size (Generated source &gt; 33,000 lines).=C2=A0=C2=A0 When we access t=
hat page we get an Unresolved Compilation error.=C2=A0 There is no detail o=
n the exact error, just that it didn&#39;t compile along with the line numb=
er. =C2=A0 <br>
<br>The page compiles/works if we comment out the above and use the JDK com=
piler.<br>
<br>Also, if I switch out the version of the Eclipse compiler in Jetty-high=
tide 8.1.9 (org.eclipse.jdt.core-3.7.1.jar)=C2=A0 with a more current versi=
on (org.eclipse.jdt.core_3.8.3.v20130121-145325.jar) the page compiles/work=
s.<br>

<br>Is there any reason why the included eclipse compile in Jetty-Hightide =
8.1.9 is quite so old ?<br><br>I see that the eclipse compiler included in =
Jetty 9.0 is still org.eclipse.jdt.core-3.7.1.jar ?<br><br>Is there anythin=
g I can easily do to determine the exact nature of the compilation error ?<=
br>

<br>Would using the updated eclipse compiler with jetty-hightide 8.1.9 take=
 us outside the terms of our Intalio jetty support ?<br><br>

--14dae9c093c6afc54604d7a118d2--