[ http://issues.apache.org/jira/browse/DERBY-1082?page=all ]
Andrew McIntyre updated DERBY-1082:
-----------------------------------
Attachment: derby-1082.diff
Attaching a patch which fixes this issue, and touches all scripts to check to
make sure DERBY_INSTALL, DERBY_HOME, and JAVA_HOME are set and makes this
handling consistent across scripts. The value of DERBY_INSTALL is assigned to
DERBY_HOME if DERBY_INSTALL is set but DERBY_HOME is not and the scripts now
use DERBY_HOME internally.
This would have some doc impact, as this would require JAVA_HOME to be set when
using any script, not just the Network Server scripts that required it
previously.
> The START and STOP scripts for Network Server in the frameworks\bin directory
> fail if there is a space in the filepath of JAVA_HOME
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-1082
> URL: http://issues.apache.org/jira/browse/DERBY-1082
> Project: Derby
> Type: Bug
> Components: Demos/Scripts
> Versions: 10.2.0.0
> Reporter: Stan Bradbury
> Attachments: derby-1082.diff
>
> References to the environment variable JAVA_HOME are not quoted in the Start
> and Stop scripts for Network Server in the frameworks\bin directory (both the
> .bat and the .ksh versions). This causes the script to fail when there is a
> space in the file path listed.
> It looks like the environment variable DERBY_INSTALL is properly quoted to
> prevent this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira