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

Bruno Dumon bruno at outerthought.org
Tue Oct 10 11:11:54 CDT 2006


Hi,

On Mon, 2006-10-09 at 15:57 +0200, Bart Van den Abeele wrote:
> 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\..."

My daisy-repository-init-dev.bat contains these quotes.

Did you recently install the genscript-plugin?

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

I've fixed the missing "\repository" (though I didn't test it, it would
be great is someone can confirm the new version works).

Does this solve all problems or does it still require MAVEN_HOME_LOCAL
to point to "c:\Docume~1\bvda\.maven\repository" for "some
scripts" (which?) ?

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

Hmmm, Cocoon should normally contain the xalan jar, I've never heard of
such a problem, though it could of course be a new problem in current
Cocoon SVN (I still need to look into providing a stable snapshot of
this).

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

You prefer this over what exactly? What is the other alternative? I
always start using the runc2 script.

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

Yep, it is very appreciated, at least one bug got fixed ;-)

> Grtz,
> Bart

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org                          bruno at apache.org



More information about the daisy mailing list