Greetings,

On Thu, Jun 23, 2011 at 4:37 PM, Konstantin Kolinko
<knst.koli...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to