build.sh-dist instead of build.sh
authoridfx <idfx>
Sun, 16 Sep 2001 14:28:41 +0000 (14:28 +0000)
committeridfx <idfx>
Sun, 16 Sep 2001 14:28:41 +0000 (14:28 +0000)
build.sh [deleted file]
build.sh-dist [new file with mode: 0755]
doc/INSTALL.mir

diff --git a/build.sh b/build.sh
deleted file mode 100755 (executable)
index bf65dc0..0000000
--- a/build.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-# build.sh -- the build-script for Mir
-
-# Identify the custom class path components we need
-JAVA_HOME=/usr/local/jdk1.2.2
-
-# Add all JAR files to CLASSPATH
-LOCALCLASSPATH=`echo /usr/share/java/*.jar | tr ' ' ':'`
-
-LIB_HOME=lib
-TOMCAT_HOME=/usr/share/tomcat
-
-CP=$LIB_HOME/servlet.jar
-CP=$LIB_HOME/ant.jar:$LIB_HOME/xerces.jar
-CP=$CP:$LOCALCLASSPATH
-CP=$CP:$LIB_HOME/servlet-2.2.jar
-CP=$CP:$LIB_HOME/gnu-regexp-1.0.8.jar
-CP=$CP:$LIB_HOME/freemarker.jar:$LIB_HOME/freemarker-utility.jar
-CP=$CP:$LIB_HOME/mm.mysql
-CP=$CP:$LIB_HOME/dbconbroker.jar
-CP=$CP:$LIB_HOME/cos.jar
-CP=$CP:$LIB_HOME/saxon.jar
-CP=$CP:$LIB_HOME/jai_codec.jar
-CP=$CP:$LIB_HOME/jai_core.jar
-CP=$CP:$JAVA_HOME/lib/tools.jar
-CP=$CP:$JAVA_HOME/lib/rt.jar
-
-# Execute ANT to perform the requested build target
-$JAVA_HOME/bin/java -classpath $CP:$CLASSPATH org.apache.tools.ant.Main \
-  -Dtomcat.home=$TOMCAT_HOME "$@"
diff --git a/build.sh-dist b/build.sh-dist
new file mode 100755 (executable)
index 0000000..d6f9fb8
--- /dev/null
@@ -0,0 +1,30 @@
+#!/bin/sh
+# build.sh -- the build-script for Mir
+
+# Identify the custom class path components we need
+JAVA_HOME=/usr/lib/j2sdk1.3
+
+# Add all JAR files to CLASSPATH
+LOCALCLASSPATH=`echo /usr/share/java/*.jar | tr ' ' ':'`
+
+LIB_HOME=lib
+TOMCAT_HOME=/usr/share/tomcat
+
+CP=$LIB_HOME/servlet.jar
+CP=$LIB_HOME/ant.jar:$LIB_HOME/xerces.jar
+CP=$CP:$LOCALCLASSPATH
+CP=$CP:$TOMCAT_HOME/lib/tomcat.jar
+CP=$CP:$LIB_HOME/gnu-regexp-1.0.8.jar
+CP=$CP:$LIB_HOME/freemarker.jar:$LIB_HOME/freemarker-utility.jar
+CP=$CP:$LIB_HOME/mm.mysql
+CP=$CP:$LIB_HOME/dbconbroker.jar
+CP=$CP:$LIB_HOME/cos.jar
+CP=$CP:$LIB_HOME/saxon.jar
+CP=$CP:$LIB_HOME/jai_codec.jar
+CP=$CP:$LIB_HOME/jai_core.jar
+CP=$CP:$JAVA_HOME/lib/tools.jar
+CP=$CP:$JAVA_HOME/lib/rt.jar
+
+# Execute ANT to perform the requested build target
+$JAVA_HOME/bin/java -classpath $CP:$CLASSPATH org.apache.tools.ant.Main \
+  -Dtomcat.home=$TOMCAT_HOME "$@"
index fd6a7b7..9906139 100755 (executable)
@@ -29,30 +29,28 @@ CVS CHECKOUT:
 now customize config.properties for your needs.
 
 
-3. configure the build.sh file with java_home 
+3. configure the build.sh file with java_home
+        cp build.sh-dist build.sh 
+        chmod 755 build.sh
 
 
-4. Link in the webapps directory of tomcat to the install directory (the directory is called Mir). 
+4. copy the mir/template-dist-directory to mir/template 
 
 
-5. copy the mir/template-dist-directory to mir/template 
-
+5. compile
+       sh build.sh 
 
-6. compile
 
-       sh build.sh 
+6. Link in the webapps directory of tomcat to the install directory (the directory is called Mir). 
 
 
 7. create a new database 
-
 the database name should be the same as in config.properties
 as user postgres: 
-       
        createdb dbname 
 
 
 8. create base table
-
        psql -Upostgres dbname < dbscripts/create_pg.sql
        cat dbscript/help*.sql | psql -Upostgres dbname
 
@@ -72,4 +70,4 @@ and the openposting-servlet via
        
        http://host/OpenMir
 
-standard login is redaktion/indymedia
+standard login is redaktion/indymedia
\ No newline at end of file