On 08/27/08 18:20, Jan Bartel wrote:
> Rajiv,
>
> If you supply the JDTJavaCompiler class, then we're happy to continue
> sourcing the actual compiler itself from the central maven repo. Of course,
> the ideal situation is if your pom.xml had a dependency on the core.jar
> and then the jsp-impl artifact could be used in a straightforward manner.
>
I am investigating if the dependency on jdtcore.jar can be made to only
be required for compilation phase of the build, and is optional
otherwise. This way, jdtcore.jar will not be included in the glassfish
release.
Jetty can add an dependency on jdtcore.jar in the web container, so that
it can be downloaded when needed. As long as it is in the classpath of
Jasper, this will work.
> It could be an idea to perhaps provide support for these alternative compilation
> engines as separate pluggable jars in the future, so that their dependencies
> don't pollute the main pom?
>
I'd like to avoid rleasing multiple JSP engines if I can avoid it.
Let's see if I can do what I just suggested.
-Kin-man
> regards
> Jan
>
> 2008/8/28 Rajiv Mordani <rajiv.mordani_at_sun.com>:
>> Talking to some more people internally Kin-man it seems that it is fine to
>> have the support for the JDTCompiler in there but we shouldn't be shipping
>> the JDTCompiler. Jan you will still have to go and get the JDTCompiler from
>> wherever it is distributed today. Kin-man can we do that soon?
>>
>> - Rajiv
>>
>> Jan Bartel wrote:
>>
>> Hi Rajiv and Kin-Man,
>>
>> We don't want to go to jdk1.6, so the jsr199 compiler is out. We moved
>> away from using
>> the tools.jar to make startup easier (less config), not sure if there
>> was also a speed consideration
>> as well (I think so).Not to mention the fact that the eclipse compiler
>> decouples from Sun's
>> jvm (not a concern for you guys I'm sure :)).
>>
>> Ideally we'd like to keep using the eclipse jdt compiler. If Kin-Man can
>> find a way to make the JDTJavaCompiler class available in the jar that
>> would be great. We're
>> happy to do provide the eclipse jdt jars in our own build if you want
>> to keep them out of your
>> pom.
>>
>> cheers
>> Jan
>>
>> 2008/8/26 Rajiv Mordani <rajiv.mordani_at_sun.com>:
>>
>>
>> Hi Jan,
>> The JDT Compiler doesn't pass the TCKs as yet and hence we don't include
>> support for it in the jsp jar. Is there a dependency on the compiler? Can
>> you not use either the JSR 199 compiler or the compiler in tools.jar?
>>
>> - Rajiv
>>
>> Jan Bartel wrote:
>>
>>
>> Hi,
>>
>> The JDTJavaCompiler appears to be excluded from the jsp jar. Could someone
>> explain what the reason behind that is?
>>
>> thanks,
>> Jan
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_jsp.dev.java.net
>> For additional commands, e-mail: dev-help_at_jsp.dev.java.net
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_jsp.dev.java.net
>> For additional commands, e-mail: dev-help_at_jsp.dev.java.net
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_jsp.dev.java.net
>> For additional commands, e-mail: dev-help_at_jsp.dev.java.net
>>
>>
>> --------------------------------------------------------------------- To
>> unsubscribe, e-mail: dev-unsubscribe_at_jsp.dev.java.net For additional
>> commands, e-mail: dev-help_at_jsp.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jsp.dev.java.net
> For additional commands, e-mail: dev-help_at_jsp.dev.java.net
>