[daisy] [JIRA] Commented: (DSY-445) wrapper script issues

Andreas Deininger (JIRA) issues at cocoondev.org
Sat Apr 7 09:32:20 CDT 2007


    [ http://issues.cocoondev.org//browse/DSY-445?page=comments#action_13112 ] 

Andreas Deininger commented on DSY-445:
---------------------------------------

The config file of the 1.5 release implements this behaviour. I changed it in the 2.0 release because the windows installer of MySQL puts the java command on the PATH by default, but it does not set the JAVA_HOME environment variable. So I thought it would be less error prone to use the java command, because this is usually on the PATH both on linux and windows systems. I realized however, that many other tools, like the backup tool, rely on JAVA_HOME also, so we probably could assume that it is set.

Would be even better though if we had something like:

set.default.JAVA_HOME=
wrapper.java.command=%JAVA_HOME%java.exe

meaning starting up with an empty JAVA_HOME that can be overriden from a set environment variables. This does not work well with the /bin appendix however, no idea how to get around that. 

> wrapper script issues
> ---------------------
>
>          Key: DSY-445
>          URL: http://issues.cocoondev.org//browse/DSY-445
>      Project: Daisy
>         Type: Bug
>     Reporter: Bruno Dumon
>     Priority: Minor
>      Fix For: public - 2.0.1

>
> The wrapper scripts currently assume java is in the PATH and hence don't necessarily use the java pointed to with JAVA_HOME.
> The fix is issue as suggested by Robert Kindl:
> wrapper.java.command=%JAVA_HOME%/bin/java.exe

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the daisy mailing list