Javac does need to get at the class files in WEB-INF/classes, for any jsp
that, say, uses a bean or tag defined in the WAR.
It isn't a requirement that the .java files for those classes be accessible.
> -----Original Message-----
> From: Mel Martinez [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 21, 2001 9:57 AM
> To: [EMAIL PROTECTED]
> Subject: Re: cvs commit:
> jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler
> JspCompiler.java JspReader.java ParserController.java
> TagLibraryInfoImpl.java
>
>
>
> --- [EMAIL PROTECTED] wrote:
> > remm 01/03/20 16:08:53
> >
> > Modified:
> > jasper/src/share/org/apache/jasper/compiler
> > JspCompiler.java
> > JspReader.java
> > ParserController.java
> > TagLibraryInfoImpl.java
> > Log:
> > - Jasper should run from WARs (or any other
> > repository which provides a directory
> > context to access it).
> > - All Watchdog 4 tests pass (servlets, JSP,
> > JSP-XML).
> > - Of course, the classes and JARs are still
> > extracted from the WAR until the
> > compilation technology is updated (javac wants
> > files :(( ).
> >
>
> :-) But javac doesn't have any reason to deal with
> the contents of the WAR directly. JSP 'files' read
> out of the .war are being converted to .java files
> stored in the working directory (i.e. /tmp or
> wherever). Javac just has to deal with the latter
> files.
>
> It should be possible to modify Jasper to work with an
> unexpanded .war archive. Not necessarily trivial, but
> definitely possible, in principle, with no need for
> new javac compilation tech.
>
> Cheers,
>
> Mel
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
<><><><><><><><><><><><><><><><><><><><><>This electronic mail transmission
may contain confidential information and is intended only for the person(s)
named. Any use, copying or disclosure by any other person is strictly
prohibited. If you have received this transmission in error, please notify
the sender via e-mail. <><><><><><><><><><><><><><><><><><><><><>