tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler
Date Fri, 14 Jun 2002 21:18:01 GMT
On Fri, 14 Jun 2002, Kin-Man Chung wrote:

> > costin      2002/06/14 13:44:37
> > 
> >   Modified:    jasper2/src/share/org/apache/jasper/compiler
> >   Log:
> >   Split the compile() method in generateJava() and generateClass() - JspC only 
> generates
> >   java, the compile is a separate step.
> Why not have an option to include javac compilation in JspC?  There has
> been requests for this functionality. 

Quite easy to do so, I can add it. But some people prefer to have it 
separated, and use <javac> for compilation ( where you can specify 
the options much easier, in standard ant syntax ). 

I also prefer to keep the source and .class separated, in my build
file I generated the source in a separate directory, I compile
then I build a jar, and only the .jar gets into the WEB-INF. 
( well, this also makes easier debugging, since I have the source
in jswat's sourcepath )

But there's no problem in adding the option.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message