]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/xsltd/start-xaland.in
ocaml 3.09 transition
[helm.git] / helm / xsltd / start-xaland.in
index 4cf233adb34b29d673c3b0644215f6b1d3bc7b3c..687e09bf8a771600014e58288f0fefd867612a0f 100755 (executable)
@@ -1,16 +1,55 @@
 #!/bin/bash
 
-export CLASS_DIR=.
-export HELM_STYLES_DIR=/usr/local/share/helm/style
+# Copyright (C) 2000, HELM Team.
+# 
+# This file is part of HELM, an Hypertextual, Electronic
+# Library of Mathematics, developed at the Computer Science
+# Department, University of Bologna, Italy.
+# 
+# HELM 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.
+# 
+# HELM 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 HELM; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+# 
+# For details, see the HELM World-Wide-Web page,
+# http://cs.unibo.it/helm/.
+
+##########################################################################
+#        BEGIN OF THE PART TO CONFIGURE BEFORE USING THE SCRIPT          #
+##########################################################################
+
+# In the next line you have to set the path to the jdk1.3
 export PATH=/opt/java/jdk1.3/bin/:$PATH
-export CLASSPATH=.
-export CLASSPATH=/projects/helm/shared/libraries/java/xalan_1_1/xalan.jar:$CLASSPATH
-export CLASSPATH=/projects/helm/shared/libraries/java/xalan_1_1/xerces.jar:$CLASSPATH
+
+# In the next line you have to give the classpath to the 1.1 version of
+# xalan.jar
+export CLASSPATH1=/projects/helm/shared/libraries/java/xalan_1_1/xalan.jar
+
+# In the next line you have to give the classpath to the 1.1 version of
+# xerces.jar
+export CLASSPATH2=/projects/helm/shared/libraries/java/xalan_1_1/xerces.jar
+
+##########################################################################
+#                   END OF THE PART TO CONFIGURE                         #
+##########################################################################
+
+export CLASSPATH=$CLASSPATH1:$CLASSPATH2:$CLASSPATH:.
+export CLASS_DIR=@HELM_LIB_DIR@
+export HELM_STYLE_DIR=@HELM_STYLE_DIR@
 
 cd $CLASS_DIR &&
 java -ss1024K -oss8192K \
  xaland 12345 12346 \
- $HELM_STYLES_DIR/rootcontent.xsl \
- $HELM_STYLES_DIR/annotatedpres.xsl \
- $HELM_STYLES_DIR/theory_content.xsl \
- $HELM_STYLES_DIR/theory_pres.xsl
+ $HELM_STYLE_DIR/rootcontent.xsl \
+ $HELM_STYLE_DIR/annotatedpres.xsl \
+ $HELM_STYLE_DIR/theory_content.xsl \
+ $HELM_STYLE_DIR/theory_pres.xsl