[daisy] Upgrade from 1.5 to 2.0: wrapper issues with logkit.xml
Andreas Deininger
adeininger at googlemail.com
Sat Apr 7 09:12:02 CDT 2007
2007/4/5, Vincent Mouton <vincent at postback.be>:
> > 2007/4/5, Vincent Mouton <vincent at postback.be>:
<snip/>
> > If you prepend the file location with file:, everything should be fine:
> > e.g.:
> > wrapper.app.parameter.8="file:%DAISY_DATADIR%/conf/myconfig.xml"
> >
> > Regards
> > Andreas
>
>
> Andreas,
>
> Thanks for your help. But that didn't solve the problem. But it forced me to
> delve deeper into the config files for the wrapper.
> And I found that on the first two Lines, the DAISY_HOME, DAISY_DATADIR
> environment variables seemed to be reset to nothing.
>
> Like this:
>
> set.default.DAISY_HOME=
> set.DAISY_DATADIR=
>
> Which, obviously, made it impossible for the wrapper to find the config
> files.
>
> Still, I don't really understand why that config file would want to reset
> those variables,
No these variables are not reset. They are not set yet because you are
performing an upgrade and not a fresh installation.
> or why one needs to set the variables again there.
Please note that as of version 2, there is no need to set environment
variables (except for DAISY_HOME and JAVA_HOME) for DAISY_DATADIR,
DAISYWIKI_DATADIR, .... So they are not set again, you could even
remove these environment variables that were created during the
installation of daisy 1.5.1 with the windows installer.
> Maybe
> it'd be better to first check if they exist.
Please note that values from environment variables take precedence
over values set inside the config file (not for the datadirs, since
this is currently prevented from what I consider a bug in the wrapper
scripts).
Regards
Andreas
More information about the daisy
mailing list