tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Farinacci <jie...@gmail.com>
Subject Re: Dreaded No Java compiler available
Date Thu, 23 Jun 2011 22:05:53 GMT
Greetings,

On Thu, Jun 23, 2011 at 4:37 PM, Konstantin Kolinko
<knst.kolinko@gmail.com> wrote:
>
> Latest Tomcat 6 and Tomcat 7 do use the ecj compiler from Eclipse IDE
> project directly, without repacking it.
>
> If you are struggling with maven, some discussion of troubles with
> downloading ecj is here:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=50604#c1

Thank you, Konstantin! Adding the following solved my issue:

    <dependency>
      <groupId>org.eclipse.jdt.core.compiler</groupId>
      <artifactId>ecj</artifactId>
      <version>3.5.1</version>
      <scope>runtime</scope>
    </dependency>

I am now able to compile my JSPs on the fly, automatically, in Apache
Tomcat. Despite Mark's comments about bulky downloads in the link you
gave earlier, I find it adds only ~1.5Mb to the already dense ~25Mb
executable jar which I'm building.

Thank you,
-Jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message