Thanks for clarifying David, Indeed, after writing I guessed there is only the war way in Moqui, better that you confirmed. You did not encouter any restrictions doing so?
Jacques ----- Original Message ----- From: "David E Jones" <d...@me.com> To: <dev@ofbiz.apache.org> Cc: <dev@ofbiz.apache.org> Sent: Tuesday, August 20, 2013 3:00 PM Subject: Re: Proposal: convert all platform dependent scripts under "tools" to Groovy scripts > > Moqui does use groovy for a lot more, including all expressions (no juel) and > all string expansions. Moqui does not have any deployment scripts other than > ant/gradle tasks because it deploys as a single war file so it uses whatever > the server container uses, ie the Tomcat or Jetty or whatever scripts. > > -David > > > On Aug 20, 2013, at 2:18, Jacques Le Roux <jacques.le.r...@les7arts.com> > wrote: > >> That sounds like a good idea indeed, I guess that's what Moqui already does, >> right? >> >> Are there any restrictions/constraints compared with OS scripting languages? >> >> Jacques >> >> ----- Original Message ----- >> From: "Jacopo Cappellato" <jacopo.cappell...@hotwaxmedia.com> >> To: <dev@ofbiz.apache.org> >> Sent: Tuesday, August 20, 2013 9:48 AM >> Subject: Proposal: convert all platform dependent scripts under "tools" to >> Groovy scripts >> >> >>> Hi all, >>> >>> the proposal is about migrating all the *.sh and *bat scripts to *groovy >>> scripts: as you know Groovy scripts can be called from the command line and >>> executed like OS scipts. >>> The only prerequisite is to have the Groovy jars in the classpath, but this >>> is easy to implement since it is already included in the OFBiz distribution. >>> In this way we could have less platform dependent files and scripts written >>> in a language that is already widely used in OFBiz. >>> >>> What do you think? >>> >>> Jacopo >>> >>> >>> >