Update of /cvsroot/openorb/EventService
In directory usw-pr-cvs1:/tmp/cvs-serv29711
Modified Files:
build.sh
Log Message:
Fixed a bug in build.sh.
Index: build.sh
===================================================================
RCS file: /cvsroot/openorb/EventService/build.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- build.sh 2002/01/10 09:01:29 1.2
+++ build.sh 2002/01/10 23:10:43 1.3
@@ -1,34 +1,31 @@
-#!/bin/sh
-# $Id$
-
-#
-# Set up the environment
-#
-if [ -z "$JAVA_HOME" ] ; then
- JAVAC=`which java`
- if [ -z "$JAVAC" ] ; then
- echo "Cannot find JAVA. Please set your PATH."
- exit 1
- fi
- JAVA_BIN=`dirname $JAVAC`
- JAVA_HOME=$JAVA_BIN/..
-fi
-
-JAVAC=$JAVA_HOME/bin/java
-
-#
-# Concatenate all the libraries in the lib directory and append
-# it to the classpath environment variable
-#
-CLASSPATH=`echo lib/*.jar | tr ' ' ':'`:$CLASSPATH
-CLASSPATH=`echo ../OpenORB/dist/*.jar | tr ' ' ':'`:$CLASSPATH
-CLASSPATH=$JAVA_HOME/lib/tools.jar:$CLASSPATH
-
-# Change the attributs for the antRun file
-
-chmod u+x lib/bin/antRun
-
-#
-# Execute the build tool passing the build.xml file
-#
-$JAVAC -cp $CLASSPATH -Dant.home=lib org.apache.tools.ant.Main "$@" -buildfile src/build.xml
+#!/bin/sh
+# $Id$
+
+#
+# Set up the environment
+#
+if [ -z "$JAVA_HOME" ] ; then
+ JAVAC=`which java`
+ if [ -z "$JAVAC" ] ; then
+ echo "Cannot find JAVA. Please set your PATH."
+ exit 1
+ fi
+ JAVA_BIN=`dirname $JAVAC`
+ JAVA_HOME=$JAVA_BIN/..
+fi
+
+JAVAC=$JAVA_HOME/bin/java
+
+#
+# Concatenate all the libraries in the lib directory and append
+# it to the classpath environment variable
+#
+CLASSPATH=`echo lib/*.jar | tr ' ' ':'`:$CLASSPATH
+CLASSPATH=`echo ../OpenORB/dist/*.jar | tr ' ' ':'`:$CLASSPATH
+CLASSPATH=$JAVA_HOME/lib/tools.jar:$CLASSPATH
+
+#
+# Execute the build tool passing the build.xml file
+#
+$JAVAC -cp $CLASSPATH -Dant.home=lib org.apache.tools.ant.Main "$@" -buildfile src/build.xml
+
|