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

Robert Kindl rob at exec.cz
Sat Apr 7 12:51:31 CDT 2007


> > # Environment variables
> > set.default.DAISY_HOME=
> > set.default.DAISY_DATADIR=
>
> Please not that this does *not* work if the path does contain spaces,
> so we cannot offer this as a general solution.

Space in path is problem on other places too (eg. when creating PDFs with
IBEX then pictures are not found).
So one of changes I made with upgrade from 1.5 to 2.0 is that i installed it
in simple C:\Daisy instead of C:\Program Files\Daisy.
In fact I won't suggest anyone to install Daisy in path with space ;-)

> > set.default.JAVA_HOME=
> > set.MERLIN_HOME=%DAISY_HOME%/repository-server/merlin
> > set.WRAPPER_HOME=%DAISY_HOME%/wrapper
> >
> > # Java Application
> > wrapper.java.command=%JAVA_HOME%/bin/java.exe
> >
> > And it's working fine including /bin suffix
>
> but not if %JAVA_HOME% is not set as environment variable

I see - you are right - in this case bin/java won't be run automatically.
Then it all depends on user - and only decision is to decide what should be
default option.

Se maybe config should contain someting like:

# by default use registry settings
wrapper.java.command=

# uncomment this if you have prefer to use Java from environment variable
JAVA_HOME
#set.default.JAVA_HOME=
#wrapper.java.command=%JAVA_HOME%/bin/java

# uncomment this if you with to use Java from PATH
#wrapper.java.command=java

Rob




More information about the daisy mailing list