You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/01/24 03:50:04 UTC
cvs commit: jakarta-turbine-maven/src/bin maven
dion 2003/01/23 18:50:04
Modified: src/bin maven
Log:
Fix cygwin issues with endorsed directory
Revision Changes Path
1.23 +4 -1 jakarta-turbine-maven/src/bin/maven
Index: maven
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/bin/maven,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- maven 2 Dec 2002 13:40:39 -0000 1.22
+++ maven 24 Jan 2003 02:50:04 -0000 1.23
@@ -91,10 +91,13 @@
echo " to the installation directory of java."
fi
+MAVEN_ENDORSED==${JAVA_HOME}/lib/endorsed:${MAVEN_HOME}/lib/endorsed
+
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
MAVEN_HOME=`cygpath --path --windows "$MAVEN_HOME"`
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
+ MAVEN_ENDORSED=`cygpath --path --windows "$MAVEN_ENDORSED"`
fi
# For Darwin, use classes.jar for TOOLS_JAR
@@ -109,7 +112,7 @@
$MAVEN_OPTS \
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl \
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl \
- "-Djava.endorsed.dirs=${JAVA_HOME}/lib/endorsed:${MAVEN_HOME}/lib/endorsed" \
+ "-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" \