build.sh

 

Contents of build.bat

Contents of build.xml

Contents of start.bat

Contents of build.sh

Contents of start.sh

 

#!/bin/sh

#
# $RCSfile: build_sh.html,v $
#
# Copyright (c) 1999-2002. The Res Medicinae Developers. All rights reserved.
#
# This software is published under the GPL GNU General Public License.
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# http://www.resmedicinae.org
# - Information in Medicine -
#
# This file can be used to easily build the specified project.
# The project's directory must contain a "build.xml" file.
# The building is done by the "Ant" tool of the "Jakarta" tool suite.
#
# @see http://www.apache.org
# @version $Revision: 1.1 $ $Date: 2002/08/06 09:37:31 $ $Author: behr78 $
# @author Christian Heller <christian.heller@tuxtax.de>
# @author Dirk Behrendt <schnoerk@web.de>
#

#
# Sets and exports the java path and java executable.
#
JAVA_HOME=/usr/lib/java
export JAVA_HOME
JAVA=${JAVA_HOME}/bin/java
export JAVA
JAVA_RUNTIME_PATH=${JAVA_HOME}/jre/lib/rt.jar
export JAVA_RUNTIME_PATH
JAVA_TOOLS_PATH=${JAVA_HOME}/lib/tools.jar
export JAVA_TOOLS_PATH

#
# Sets and exports the home path of the project.
#
RESMEDICINAE_HOME=/opt/resmedicinae
export RESMEDICINAE_HOME

#
# Sets and exports the bin path of the application.
#
RESTORE_BIN=${RESMEDICINAE_HOME}/bin/application/healthcare/restore
export RESTORE_BIN

#
# Sets and exports the ant path.
#
ANT_PATH=${RESMEDICINAE_HOME}/lib/ant.jar
export ANT_PATH

#
# Sets and exports the class path.
#
#CLASSPATH=${CLASSPATH}:${JAVA_TOOLS_PATH}:${JAVA_RUNTIME_PATH}:${ANT_PATH}:

#${CRIMSON_PATH}:${JAKARTA_PATH}:${JAXP_PATH}:${JFREECHART_PATH}:

#${JUNIT_PATH}:${KIWI_PATH}:${LOG4J_PATH}:${RESMEDICINAE_PATH}:

#${SCOPE_PATH}:${SERVLET_PATH}:${XALAN_PATH}:${XERCES_PATH}
CLASSPATH=${CLASSPATH}:${ANT_PATH}:${JAVA_TOOLS_PATH}
export CLASSPATH

#
# Starts build process.
#
${JAVA} -mx64m -classpath ${CLASSPATH} -Dant.home=${RESMEDICINAE_HOME}/lib org.apache.tools.ant.Main "$@" -buildfile ${RESTORE_BIN}/build.xml

 

<<BACK TO THE TOP

 
Copyright (c) 1999-2002. Dirk Behrendt All rights reserved. GNU FDL license. Last Update: 25.06.2002