Login  Register

Re: Dev - move of the bsh location from the 'WEB-INF/action' directory

Posted by cjhowe on Apr 27, 2006; 5:03am
URL: http://ofbiz.116.s1.nabble.com/Dev-move-of-the-bsh-location-from-the-WEB-INF-action-directory-tp167795p167798.html

I think this goes along with the progression of the
move to widgets which is a massive undertaking best
taken by little steps absent a specific need.  The
elimination of jpublish was just the begining.

I personally have a desire for continuity in the
project which would include tranforming all of the
freemarker templates to screen/menu/form/tree widgets
even as there are specific instances where the widgets
fall short.  (The existance of freemarker files would
thus show where the widgets are falling short) An
additional transition is to move the beanshell to
minilang.  This would hopefully breed more predictable
results as you have more generic services, etc.  

The opposition to this makes a lot of sense as well.
That is, OFBiz lacking any specific need should just
work.  If beanshell is working, why rewrite it in
minilang, etc.  I would agree with that as well
especially how much effort is needed to rewrite some
things.

Because jpublish has for the most part been
eliminated, why would beanshell scripts even need to
be in the webapp folder?  Why not move it to
applications/applName/actions?  I agree that I often
get tired of writing the entire path out :)



--- Hans Bakker <[hidden email]> wrote:

> A proposal to change the directory standard:
>
> Currently all bsh scripts are stored as follows:
>
/applications/applName/webapp/webappName/WEB-INF/actions/subwebappName/bshName.bsh
>
> in the applications which do not use jpublish, can't
> we move these a bit
> higher up like:
>
/applications/applName/webapp/webappName/subwebappName/bshName.bsh

>
> together with the ftl files ?
>
> they are then easier to find and not so far down the
> directory tree....
>
> any opinions?
>
> --
> Regards,
> Hans Bakker
> ANT Websystems Co.,Ltd
> (http://www.antwebsystems.com)
>
> If you want to verify that this message really
> originates from
> from the above person, download the public key from:
>
http://www.antwebsystems.com/hbakkerAntwebsystems.asc
> >  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev