maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Patrick <robert.patr...@oracle.com>
Subject RE: mvnDebug with problems
Date Thu, 09 Apr 2015 14:59:46 GMT
I sent an email this weekend pointing out the difference in behavior of mvnDebug between Windows
and Linux/Unix.  Whether you consider it a bug or not, there is no doubt that the behavior
is different.  If you wanted to reconcile the differences, I would do something like this:

index 902de4a..0f5427a 100755
--- a/apache-maven/src/bin/mvn
+++ b/apache-maven/src/bin/mvn
@@ -226,6 +226,7 @@ export MAVEN_CMD_LINE_ARGS

 exec "$JAVACMD" \
   $MAVEN_OPTS \
+  $MAVEN_DEBUG_OPTS \
   -classpath "${M2_HOME}"/boot/plexus-classworlds-*.jar \
   "-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
   "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJEC

diff --git a/apache-maven/src/bin/mvnDebug b/apache-maven/src/bin/mvnDebug
index 73905fd..a1077ce 100755
--- a/apache-maven/src/bin/mvnDebug
+++ b/apache-maven/src/bin/mvnDebug
@@ -38,4 +38,4 @@ MAVEN_DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server


 echo Preparing to Execute Maven in Debug Mode

-env MAVEN_OPTS="$MAVEN_OPTS $MAVEN_DEBUG_OPTS" $(dirname $0)/mvn "$@"
+env MAVEN_OPTS="$MAVEN_OPTS" MAVEN_DEBUG_OPTS="$MAVEN_DEBUG_OPTS" $(dirname $0)

--
Robert Patrick <robert.patrick@oracle.com>
VP, Oracle Corporation
7460 Warren Pkwy, Ste. 300	Office: +1.972.963.2872
Frisco, TX 75034, USA		Mobile: +1.469.556.9450

Professional Oracle WebLogic Server
by Robert Patrick, Gregory Nyberg, and Philip Aston
with Josh Bregman and Paul Done
Book Home Page: http://www.wrox.com/
Kindle Version: http://www.amazon.com/


-----Original Message-----
From: Francisco Collao Gárate [mailto:pcollaog@gmail.com] 
Sent: Thursday, April 09, 2015 9:38 AM
To: dev@maven.apache.org
Subject: mvnDebug with problems

Hi,

Based in this discussion over the Karl-Heinz Marbaise, someone had the opportunity to review
if there is or not a bug with mvnDebug (version 3.3.1).

http://blog.soebes.de/blog/2015/03/17/apache-maven-3-dot-3-1-features/#comment-1947464703

If you need more information about this, I would like to help.

Best Regards
--
Francisco Collao Gárate
LinuxUser #363300
http://blog.pcollaog.cl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail:
dev-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message