From: "Adam Heath" <doo...@brainfood.com>
On 05/12/2012 03:39 PM, Jacques Le Roux wrote:
From: "Adam Heath" <doo...@brainfood.com>
On 05/12/2012 04:01 AM, Jacopo Cappellato wrote:
On May 10, 2012, at 6:23 PM, Adam Heath wrote:
On 05/10/2012 11:16 AM, Adrian Crum wrote:
The scripts are helpful if you have a Subversion client that runs from
the command line. Some of us use a graphical Subversion client - like
Tortoise, or the Eclipse plugin.
Which brings up another thought I had. Maybe converting these to a
series of ant build.xml snippets.
I really like the idea: ideally we should only keep two platform
dependent scripts, "ant" and "ant.bat" (even if it would be nice
to rename them "ofbiz" or similar to avoid the risk of running a
different version of ant), and all the remaining tools can be
implemented as ant targets.
startofbiz.sh(and stop) should remain shell scripts. java is not
exactly light-weight, and using ant would have 2 javas running.
I'm not agains keeping them, but here it's only 45MB for the java
process called by ant (1.6.0_22 on Win XP). Not a big deal with
nowadays memories, around 1.125 % for a standard box (4GB)...
We have ofbiz virtual instances running with 384M or 512M. 45M just for
ant is a *huge* overhead.
Don't compare the size of the ant/java process to the *total* ram, but
to the size of the process it is controlling(ofbiz/java).
Anyway sincerely I think we all tweak those 2 scripts in our own production
areas...
It's ok with me to keep them, and actually +1
Jacques