brett 2004/03/25 16:14:13
Modified: src/bin Tag: MAVEN-1_0-BRANCH maven
Log:
PR: MAVEN-1184
allow whitespace in parameters
Revision Changes Path
No revision
No revision
1.31.4.4 +13 -23 maven/src/bin/maven
Index: maven
===================================================================
RCS file: /home/cvs/maven/src/bin/maven,v
retrieving revision 1.31.4.3
retrieving revision 1.31.4.4
diff -u -r1.31.4.3 -r1.31.4.4
--- maven 23 Mar 2004 02:55:40 -0000 1.31.4.3
+++ maven 26 Mar 2004 00:14:13 -0000 1.31.4.4
@@ -141,27 +141,17 @@
MAIN_CLASS=com.werken.forehead.Forehead
if [ -n "$MAVEN_HOME_LOCAL" ]; then
- "$JAVACMD" \
- $MAVEN_OPTS \
-
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl \
-
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
\
- "-Djava.endorsed.dirs=${MAVEN_ENDORSED}" \
- -classpath "${MAVEN_HOME}/lib/forehead-${FOREHEAD_VERSION}.jar" \
- "-Dforehead.conf.file=${MAVEN_HOME}/bin/forehead.conf" \
- "-Dtools.jar=$TOOLS_JAR" \
- "-Dmaven.home=${MAVEN_HOME}" \
- "-Dmaven.home.local=${MAVEN_HOME_LOCAL}" \
- $MAIN_CLASS $@
-fi
-if [ ! -n "$MAVEN_HOME_LOCAL" ]; then
- "$JAVACMD" \
- $MAVEN_OPTS \
-
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl \
-
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
\
- "-Djava.endorsed.dirs=${MAVEN_ENDORSED}" \
- -classpath "${MAVEN_HOME}/lib/forehead-${FOREHEAD_VERSION}.jar" \
- "-Dforehead.conf.file=${MAVEN_HOME}/bin/forehead.conf" \
- "-Dtools.jar=$TOOLS_JAR" \
- "-Dmaven.home=${MAVEN_HOME}" \
- $MAIN_CLASS $@
+ MAVEN_OPTS="$MAVEN_OPTS -Dmaven.home.local=${MAVEN_HOME_LOCAL}"
fi
+
+"$JAVACMD" \
+ $MAVEN_OPTS \
+ -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl \
+
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
\
+ "-Djava.endorsed.dirs=${MAVEN_ENDORSED}" \
+ -classpath "${MAVEN_HOME}/lib/forehead-${FOREHEAD_VERSION}.jar" \
+ "-Dforehead.conf.file=${MAVEN_HOME}/bin/forehead.conf" \
+ "-Dtools.jar=$TOOLS_JAR" \
+ "-Dmaven.home=${MAVEN_HOME}" \
+ $MAIN_CLASS "$@"
+
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]