Re: stealing code and other cool stuff

2009-08-10 Thread Musachy Barroso
The JSP plugin can now serve JSPs from inside OSGi bundles (using our OSGi plugin). I am not sure how useless this is, but it is fun. musachy -- "Hey you! Would you help me to carry the stone?" Pink Floyd - To unsubscribe, e-mai

Re: stealing code and other cool stuff

2009-08-04 Thread Musachy Barroso
Ok, I committed the code, includes work, and so do tag libraries, so it is usable. One thing to note about includes, relative paths will not work, because a relative path can resolve to multiple files. because multiple files can be under the same path in different jars, it is a good idea to place j

Re: stealing code and other cool stuff

2009-07-31 Thread Musachy Barroso
duh..I was looking for jasper-compiler, like it was in 5, now it is "jasper". that's great, thanks for the tip! I will update the code for jasper 6, and follow Martin's advice this time ;) musachy On Fri, Jul 31, 2009 at 1:14 PM, Tomislav Stojcevich wrote: > 6 is in maven repo, they just changed

Re: stealing code and other cool stuff

2009-07-31 Thread Tomislav Stojcevich
6 is in maven repo, they just changed the group (no source though, but you can that from their scm) see http://repo2.maven.org/maven2/org/apache/tomcat/ --tom - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For addi

Re: stealing code and other cool stuff

2009-07-31 Thread Musachy Barroso
yes it can be used outside struts, the changes are not big deal, I am surprised this hasn't done before. Maybe I have some surprises waiting for me in the "includes" :) musachy On Fri, Jul 31, 2009 at 11:38 AM, Antonio Petrelli wrote: > 2009/7/31 Musachy Barroso : >> I modified jasper (unable to

Re: stealing code and other cool stuff

2009-07-31 Thread Antonio Petrelli
2009/7/31 Musachy Barroso : > I modified jasper (unable to > extend as most of the code is private) to read JSPs from the classpath > and compile them into java in memory (no intermediate file required), > and then I am using the java compiler API to compile the java code and > keep a cache of the

Re: stealing code and other cool stuff

2009-07-31 Thread Musachy Barroso
yeah, the thing is that this code is just to test if it can be done. It is using the code from 5.5. I couldn't use Jasper 6 (from tomcat 6 that is) because I can't find jasper-runtime 6 in maven, and in version 6 there is a whole "el" package that is not in maven either(so i would have to copy that

Re: stealing code and other cool stuff

2009-07-31 Thread Wes Wannemacher
On Fri, Jul 31, 2009 at 2:18 PM, Musachy Barroso wrote: > You might have noticed I just committed the code of Jasper compiler > under the sandox/struts2-jsp-plugin. I modified jasper (unable to > extend as most of the code is private) to read JSPs from the classpath > and compile them into java in

Re: stealing code and other cool stuff

2009-07-31 Thread Martin Cooper
Maybe you did this and I missed it, but it would have been good to see the original clone of Jasper checked in first, and then your changes checked in over that. That way, we would all be able to see the baseline from which you started, not to mention be able to track back to Tomcat sources and por

stealing code and other cool stuff

2009-07-31 Thread Musachy Barroso
You might have noticed I just committed the code of Jasper compiler under the sandox/struts2-jsp-plugin. I modified jasper (unable to extend as most of the code is private) to read JSPs from the classpath and compile them into java in memory (no intermediate file required), and then I am using the