You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Bertrand Delacretaz <bd...@apache.org> on 2008/03/06 13:56:40 UTC

Rename /classes to /var/jsp/classes?

Hi,

Would people agree on renaming the directory where the JSP scripting
engine stores compiled classes?

/var/jsp/classes respects the unixish convention with /var, and jsp
indicates what it's for.

-Bertrand

Re: Rename /classes to /var/jsp/classes?

Posted by Bertrand Delacretaz <bd...@apache.org>.
On Thu, Mar 6, 2008 at 8:35 PM, Felix Meschberger <fm...@gmail.com> wrote:

> ... A package collision is not realistic because - as I said - Jasper
>  compiles all JSPs to inside the org.apache.jsp. And I expect Scala to
>  not tamper with this package....

Ok, sorry I missed that - if all JSP classes go under the
org.apache.jsp package, we're fine.

-Bertrand

Re: Rename /classes to /var/jsp/classes?

Posted by Felix Meschberger <fm...@gmail.com>.
Hi,

Am Donnerstag, den 06.03.2008, 15:33 +0100 schrieb Bertrand Delacretaz:
> On Thu, Mar 6, 2008 at 3:03 PM, Felix Meschberger <fm...@gmail.com> wrote:
> 
> > ... I agree with /var. For jsp, I am not so sure as all jsp classes are
> >  compiled into packages below /org/apache/jsp anyway (by Jasper, possibly
> >  overwritable)..
> 
> But if we get another compiler? I'd like us to have a Scala
> "scripting" engine at some point, and that's compiled as well.
> 
> So I thought JSP might use /var/jsp/classes, scala /var/scale/classes, etc.

This is probably wrong and makes the class path more complicated as you
would have to add entries for both scala and jsp. I also don't think,
that this is worth any effort. So I could agree for the move
from /classes to /var/classes but not the rest.

A package collision is not realistic because - as I said - Jasper
compiles all JSPs to inside the org.apache.jsp. And I expect Scala to
not tamper with this package.

Regards
Felix



Re: Rename /classes to /var/jsp/classes?

Posted by Bertrand Delacretaz <bd...@apache.org>.
On Thu, Mar 6, 2008 at 3:03 PM, Felix Meschberger <fm...@gmail.com> wrote:

> ... I agree with /var. For jsp, I am not so sure as all jsp classes are
>  compiled into packages below /org/apache/jsp anyway (by Jasper, possibly
>  overwritable)..

But if we get another compiler? I'd like us to have a Scala
"scripting" engine at some point, and that's compiled as well.

So I thought JSP might use /var/jsp/classes, scala /var/scale/classes, etc.

-Bertrand

Re: Rename /classes to /var/jsp/classes?

Posted by Felix Meschberger <fm...@gmail.com>.
Hi,

Am Donnerstag, den 06.03.2008, 13:56 +0100 schrieb Bertrand Delacretaz:
> Hi,
> 
> Would people agree on renaming the directory where the JSP scripting
> engine stores compiled classes?
> 
> /var/jsp/classes respects the unixish convention with /var, and jsp
> indicates what it's for.

I agree with /var. For jsp, I am not so sure as all jsp classes are
compiled into packages below /org/apache/jsp anyway (by Jasper, possibly
overwritable)

Regards
Felix