2002-07-04 01:06:38 UTC
Greetings,
First, note that I am merely a Cocoon2 tourist who is just trying to understand the basics (hence my interest in a 'hello world' example for cocoon 2), so I have no knowledge about the chello project's development environment or the premises and assumptions upon which it is built. So please treat the following suggestions with appropriate care.
Lines 28 thru 37 of build.bat (from chello-1.2.tar.gz on sourceforge) seem to assume that ANT_HOME is always set to . (the current directory, presumably the chello-1.2 directory) even though the check to see if ANT_HOME is already set (Lines 19 thru 21) looks like you want to respect any current ANT_HOME setting. However ant is not always going to be installed on the chello build directory and in any case Ant 1.4 has no buildlib subdirectory (as far as I can tell from my ant 1.4 install).
Perhaps lines 28 thru 37 could be replaced with;
set CP=%CP%;.\buildlib\ant-1.4.jar;.\buildlib\ant-1.4-optional.jar
set CP=%CP%;.\buildlib\junit.jar
set CP=%CP%;.\buildlib\httpunit.jar
set CP=%CP%;.\buildlib\activation.jar
set CP=%CP%;.\buildlib\jakarta-oro-2.0.3.jar
set CP=%CP%;.\buildlib\starteam-sdk-interfaceonly.jar
set CP=%CP%;.\buildlib\jmxri.jar
set CP=%CP%;.\buildlib\jmxtools.jar
set CP=%CP%;.\buildlib\mail.jar
set CP=%CP%;.\buildlib\cruisecontrol.jar
Kind Regards and thanks for making your hard work available on sourceforge,
S