You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by go...@osmosis.gr on 2004/07/20 16:10:46 UTC
Run cocoon demo anywhare
Hi people
due the need to send cocoon based app for demostration to non-expert users
i have realise that the common problem in most cases is that the target
machine has no JVM (sdk or re). farthermore is very difficult to ask from
non-expert end users to setup JVM and/or set JAVA_HOME
so the solution i have choose is:
1. build a standalon demo cocoon
and create a dir with the structure:
[jre] -> Java runtime
[standalone-demo] -> loader
[webapp] -> cocoon
2. touch cocoon.bat
if cocoon.bat dont find JAVA_HOME use java from jre dir
:: ----- Verify and Set Required Environment Variables
-------------------------
if not "%JAVA_HOME%" == "" goto gotJavaHome
set JAVA_HOME="..\jre"
::echo You must set JAVA_HOME to point at your Java Development Kit installation
::goto end
Now why i'm writing all this in list?
because all the mails are archived so maybe someone will find this usefull
in the future
and because i'm not sure if it is usefull to modify the cocoon.bat in
cocoon distribution to cover this case!
--stavros
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org