[daisy] installing daisy-2.0 dev under windows: feedback

Bart Van den Abeele bvda at schaubroeck.be
Mon Oct 9 08:57:34 CDT 2006


Hi,

I tried installing daisy-2.0 dev under windows.
I had a few problems getting it to work. 

The first thing i encounterd was in the file: 
C:\app\daisy-2.0\daisy\install\target\daisy-repository-init-dev.bat
Here i had to add quotes in the following line:

"%JAVA_HOME%/bin/java" %DAISY_JAVA_OPTIONS% 
-Ddaisy.sourcehome=C:\app\daisy-2.0\daisy 
org.outerj.daisy.install.RepositoryServerInit %*

Because my java_home was under "c:\program files\..."

Next i had some problems with de variable:
MAVEN_HOME_LOCAL=c:\Docume~1\bvda\.maven
Normally this has to point to your maven home local, but some 
batch-scripts expect it to point to the repository-directory:
c:\Docume~1\bvda\.maven\repository .
This works quit confusing when you go further in the install-procedure 
and for the install of cocoon it is expected to point again to:
c:\Docume~1\bvda\.maven
I found this in following file:
C:\app\daisy-2.0\daisy\repository\server\start-repository.bat
and had to change following line:
set DAISY_MERLIN_REPO=%MAVEN_HOME_LOCAL%
into
set DAISY_MERLIN_REPO=%MAVEN_HOME_LOCAL%\repository

Then a was unable to start the wiki because i didn't have de xalan.jar 
.  I downloaded it seperatly in deployed it in my java-dir.
And yes, the server started, but i wasn't there yet... .

Finally i made the stupid error to start the wikisite before the 
repository.  Because of cocoon servlet-debug, a had a hard time killing 
the process.
But i guess this is a matter of taste.  I prefer the cocoon.bat in 
C:\app\daisy-2.0\daisy\applications\daisywiki\frontend\target\cocoon\runc2.bat 
to start the webserver.  This results in a seperate window for the 
server in stead of a background proces, and thus is easier to kill.

I hope u are something with this feedback,
Grtz,
Bart




More information about the daisy mailing list