cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Huttar" <lars_hut...@sil.org>
Subject RE: a working version of 2.1.5?
Date Tue, 04 May 2004 02:25:12 GMT
Joerg,
Thanks for the helpful hint. It seems to be building correctly
now.

By the way, the "bad variable name" errors (after the BUILD FAILED message)
appear to be a separate problem (small oversight), which can be fixed with
the following patch to build.sh:

*** build.sh.orig	Mon May  3 21:05:52 2004
--- build.sh	Mon May  3 21:09:31 2004
***************
*** 25,31 ****
  fi
  
  # ----- Ignore system CLASSPATH variable
! OLD_CLASSPATH=$CLASSPATH
  unset CLASSPATH
  CLASSPATH="`echo lib/endorsed/*.jar | tr ' ' $S`"
  export CLASSPATH
--- 25,31 ----
  fi
  
  # ----- Ignore system CLASSPATH variable
! OLD_CLASSPATH="$CLASSPATH"
  unset CLASSPATH
  CLASSPATH="`echo lib/endorsed/*.jar | tr ' ' $S`"
  export CLASSPATH
***************
*** 39,49 ****
  "$ANT_HOME/bin/ant" -logger org.apache.tools.ant.NoBannerLogger -emacs  $@
  
  # ----- Restore ANT_HOME and ANT_OPTS
! export ANT_HOME=$OLD_ANT_HOME
  unset OLD_ANT_HOME
! export ANT_OPTS=$OLD_ANT_OPTS
  unset OLD_ANT_OPTS
  
  # ----- Restore CLASSPATH
! export CLASSPATH=$OLD_CLASSPATH
  unset OLD_CLASSPATH
--- 39,49 ----
  "$ANT_HOME/bin/ant" -logger org.apache.tools.ant.NoBannerLogger -emacs  $@
  
  # ----- Restore ANT_HOME and ANT_OPTS
! export ANT_HOME="$OLD_ANT_HOME"
  unset OLD_ANT_HOME
! export ANT_OPTS="$OLD_ANT_OPTS"
  unset OLD_ANT_OPTS
  
  # ----- Restore CLASSPATH
! export CLASSPATH="$OLD_CLASSPATH"
  unset OLD_CLASSPATH


Regards,
Lars

> -----Original Message-----
> From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de]
> Sent: Monday, May 03, 2004 7:04 PM
> To: users@cocoon.apache.org; dev@cocoon.apache.org
> Subject: Re: a working version of 2.1.5?
> 
> 
> On 04.05.2004 01:35, Lars Huttar wrote:
> 
> > Hi all,
> > I downloaded the most recent (at the time) Cocoon 2.1 snapshot
> > this afternoon, but it turned out not to be buildable.
> > The version I downloaded was
> > 
> http://cvs.apache.org/snapshots/cocoon-2.1/cocoon-2.1_20040503
> 161326.tar.gz
> > 
> > Does anybody know of a recent 2.1.5-dev snapshot that does build?
> > My purpose is to be able to develop using CForms as CForms 
> instead of Woody.
> > My understanding is that CForms don't exist in any release version.
> > Of course I can wait till May 14 if necessary but...
> > 
> > Or, does anyone know how to fix this build?
> > The end of the build.sh output was:
> > 
> > cocoon-block-html-patch:
> > Processing: C:\temp\cocoon-2.1.5-dev\src\blocks\html\conf\tidy.xmap
> > Writing: C:\temp\cocoon-2.1.5-dev\build\webapp\sitemap.xmap
> > Processing: C:\temp\cocoon-2.1.5-dev\src\blocks\html\conf\tidy.xconf
> > Writing: C:\temp\cocoon-2.1.5-dev\build\webapp\WEB-INF\cocoon.xconf
> > Collection sitemap components info
> > 
> > BUILD FAILED
> > C:\temp\cocoon-2.1.5-dev\tools\targets\webapp-build.xml:93: 
> Following error occu
> > red while executing this line
> > 
> C:\temp\cocoon-2.1.5-dev\build\cocoon-2.1.5-dev\temp\blocks-bu
> ild.xml:4073: Site
> > map component HTMLGenerator does not implement a sitemap 
> component interface.
> > 
> > Total time: 6 minutes 9 seconds
> > export: Files\apache-ant-1.6.0: bad variable name
> > export: Files\Saxon653\saxon.jar;C:\Program: bad variable name
> 
> If you run the build in verbose mode (-v) you will see the 
> real reason:
> 
> D:\cocoon-2.1\tools\targets\webapp-build.xml:93: Following 
> error occured 
> while executing this line
> D:\cocoon-2.1\build\cocoon-2.1.5-dev\temp\blocks-build.xml:4075: 
> IOException: java.io.FileNotFoundException: 
> D:\cocoon-2.1\build\cocoon-2.1.5-dev\documentation\
> xdocs\userdocs\generators\book.xml
> 
> The patching happens to early, before this file is copied to 
> that place.
> 
> This feature was added recently and generates documentation 
> and sitemap 
> component declaration in a XDoclet-like way. Unfortunately it 
> does not 
> work that perfect until now.
> 
> To work around the problem, exclude html block if you don't 
> need it. If 
> you need it build your Cocoon once including documentation 
> and excluding 
> html block. In the second run (the file is now there) you can include 
> the html block successfully.
> 
> Joerg
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message