cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gou...@osmosis.gr
Subject Run cocoon demo anywhare
Date Tue, 20 Jul 2004 14:10:46 GMT

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


Mime
View raw message