[daisy] build Problem binary dist daisy1.5 on WinXP

Bruno Dumon bruno at outerthought.org
Tue Aug 8 10:01:03 CDT 2006


On Tue, 2006-08-08 at 14:29 +0200, Ehms, Jürgen wrote:
> WinXP jdk1.5 cocoon2.1.9 daisy1.5
>  
> I got daisy1.5 from svn.  
>  
> On building binary dist I had the Problem  on calling the cocoon
> "build.bat" with "getc2clean.bat" that only 9 parameters can put over
> and so "-Dlib.core=.." ist not going in built.bat.
>  
> I patched the problem in %DAISY_HOME%\applications\daisywiki\frontend
> \maven.xml :line243 ...
>  
>  <echo file="${cocoon.tool.dir}/getc2clean.${shbat}"><![CDATA[@echo
> off COCOON_HOME=${cocoon.dist.home}PROJECT_PROPERTIES=
> ${cocoon.build.properties}PROJECT_WEBAPP=
> ${cocoon.webapp}PROJECT_TASKDEFS=${cocoon.tasks}CUSTOM_LIB_CORE=
> ${cocoon.custom.lib.core}%COCOON_HOME%.bat -propertyfile %
> PROJECT_PROPERTIES% clean webapp -Dbuild.webapp=%PROJECT_WEBAPP%
> -Dtools.tasks.dest=%PROJECT_TASKDEFS% -Dlib.core=%CUSTOM_LIB_CORE
> %]]></echo>
> to:
> 
> <echo file="${cocoon.tool.dir}/getc2clean.${shbat}"><![CDATA[@echo off
> COCOON_HOME=${cocoon.dist.home}PROJECT_PROPERTIES=
> ${cocoon.build.properties}PROJECT_WEBAPP=
> ${cocoon.webapp}PROJECT_TASKDEFS=${cocoon.tasks}CUSTOM_LIB_CORE=
> ${cocoon.custom.lib.core}%COCOON_HOME%.bat -propertyfile %
> PROJECT_PROPERTIES% clean webapp "-Dbuild.webapp=%PROJECT_WEBAPP%"
> "-Dtools.tasks.dest=%PROJECT_TASKDEFS%" "-Dlib.core=%CUSTOM_LIB_CORE
> %"]]></echo>
> 
> 
> and the build was going on.

Oops, I thought this was already fixed, but apparently only in trunk.
Anyway, your fix is nicer so I've applied it to both trunk and the 1.5
branch.

Thanks.

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