a'right. The code is in trunk. To use the plugin with tomcat, just build it and deploy it as usual. It works with Jetty 7+, which needs the tomcat deps added to the application, adding this to your pom will take care of it:
<dependency> <groupId>org.apache.tomcat</groupId> <artifactId>jasper</artifactId> <version>6.0.18</version> </dependency> let me know if it works. musachy On Sun, Sep 27, 2009 at 6:34 PM, Musachy Barroso <musa...@gmail.com> wrote: > it works on tomcat but now it breaks in jetty...oh joy. > > On Sun, Sep 27, 2009 at 2:35 PM, Musachy Barroso <musa...@gmail.com> wrote: >> ok I got jasper 6 working. I will do some more testing (at least the >> junits run fine), commit the jasper code, and then commit my changes. >> (later on) >> >> musachy >> >> On Sun, Sep 27, 2009 at 12:56 PM, Musachy Barroso <musa...@gmail.com> wrote: >>> yeah that would work if I could use it as a library, but jasper is not >>> written with that in mind. I had to change a fairly amount of private >>> code to get it to work. >>> >>> musachy >>> >>> On Sun, Sep 27, 2009 at 12:50 PM, Antonio Petrelli >>> <antonio.petre...@gmail.com> wrote: >>>> 2009/9/27 Musachy Barroso <musa...@gmail.com>: >>>>> It is a missmatch between the jsp-apis. The internal jasper implements >>>>> 2.0, while tomcat 6/jasper 6 implement 2.1, and in 2.1 there a new >>>>> method called. It is not looking good. >>>> >>>> You might wish to use JarJar to repackage, to avoid conflicts like >>>> this. Lots of people use them to avoid dependencies, like >>>> commons-logging. >>>> See: >>>> http://docs.atlassian.com/jarjar-maven-plugin/ >>>> >>>> HTH >>>> Antonio >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org >>>> For additional commands, e-mail: dev-h...@struts.apache.org >>>> >>>> >>> >>> >>> >>> -- >>> "Hey you! Would you help me to carry the stone?" Pink Floyd >>> >> >> >> >> -- >> "Hey you! Would you help me to carry the stone?" Pink Floyd >> > > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org