# -----------------------------------------------------------------------------
# howto_build.txt
#
# $Id: howto_build.txt,v 1.4 2004/01/26 07:30:48 miyachi Exp $
# -----------------------------------------------------------------------------

*HowTo for build  "Cactus4Enhydra" for "YOUR ENVIROMENT".

	 In order to use "Cactus4Enhydra" for "YOUR PROJECT",
	it is necessary to create the following items.

		*ant.sh
		*(Optional) input/conf/Cactus4Enhydra.conf.in
		*(Optional) input/conf/multiserver.conf.in

	*Checkcut the source code.

		 At present, it is the development version.
		Please acquire the newest version (source code only!) 
		from "SourceForge.net's CVS Server".
		 Plese see "Downloads" section.

	*Create your LOCAL "ant.sh".

		 Please create LOCAL "ant.sh" for "YOUR ENVIRONMENT".
		 Please see "ant.sh.sample".

	*(Optional) Create "input/conf/Cactus4Enhydra.conf.in".

		 Please create "Server.ClassPath[]" entry for "YOUR ENVIRONMENT".
		 Please see "input/conf/Cactus4Enhydra.conf.in.sample".

			----------------------------------------------------------------------------------------
			Server.ClassPath[] = "@@PROJECT_ROOT@@/Cactus4Enhydra/output/lib/Cactus4Enhydra.jar"
			----------------------------------------------------------------------------------------

	*(Optional) Create "input/conf/multiserver.conf.in".

		 Please create "Server.ConfDir" and "Server.Log4j" entry
		for "YOUR ENVIRONMENT".
		 Plese see "input/conf/multiserver.conf.in.sample".

			----------------------------------------------------------------------------------------
			Server.ConfDir = "@@PROJECT_ROOT@@/Cactus4Enhydra/output/conf"
			...
			Server.Log4j = "@@PROJECT_ROOT@@/Cactus4Enhydra/output/conf/log4j.xml"
			----------------------------------------------------------------------------------------

	*Lets' "clean" and "make".

		 Please use LOCAL "ant.sh"!!

			----------------------------------------------------------------------------------------
			$ ./ant.sh clean
			  ^^^^^^^^^^^^^^
			Buildfile: build.xml

			clean:

			BUILD SUCCESSFUL
			Total time: 3 seconds

			$ ./ant.sh
			  ^^^^^^^^
			Buildfile: build.xml

			prepare:
			    ...

			dods:

			xmlc:
			    ...

			compile:
			    ...

			archive:
			    ...

			output:
			    ....

			make:

			BUILD SUCCESSFUL
			Total time: 13 seconds
			----------------------------------------------------------------------------------------