[daisy] [JIRA] Commented: (DSY-632) .exe install fails if DAISY_HOME and RepoWiki dirs are to be created on a different drive

Karel Vervaeke (JIRA) issues at cocoondev.org
Thu Apr 3 14:41:03 CEST 2008


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

Karel Vervaeke commented on DSY-632:
------------------------------------

The problem is not the location of the installation directory vs data directories,
it is the location of the java executable vs the data directories.
Cause: in the daisy batch files, these two lines occur:

cd %SOME_PATH%
%JAVA_HOME%\bin\java ....

Under unix, cd $SOME_PATH always changes the present working directory ($PWD), under windows, 
you get this situation:

C:\> cd e:\somewhere
C:\> (the present working directory is still C, you need to type E:<enter> to be taken to the intended location:
C:\> E:
E:\somewhere>

This problem exists in older versions as well.
Unsure if this should be fixed in the .bat files or somewhere else, suggestions are welcome.  If anyone knows the .bat-file lingo to do it there, please add your comment to jira ;-)

> .exe install fails if DAISY_HOME and RepoWiki dirs are to be created on a different drive
> -----------------------------------------------------------------------------------------
>
>          Key: DSY-632
>          URL: http://issues.cocoondev.org//browse/DSY-632
>      Project: Daisy
>         Type: Bug
>   Components: Installation
>     Versions: 2.2
>  Environment: Windows 2003 Server + JDK 1.6.0_r3 + MySQL 5.1
>     Reporter: Nicola Ken Barozzi
>     Priority: Minor

>
> I asked to install Daisy on c:\daisy, the repo data on E:\daisy\RepoData and the wiki data in E:\daisy\WikiData.
> When starting the repo, it fails, because E:\daisy\RepoData is empty.
> Going back and changing the directories to C:\daisy\RepoData and C:\daisy\WikiData sorts no sign of success.
> I proceeded with manual install and it's now running.
> I had installed it previously without problems using dirs on the same drive (c:).

-- 
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