MNG-6115: Add Jansi native library search path to our start scripts

test for jansi.dll


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/e9e26f64
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/e9e26f64
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/e9e26f64

Branch: refs/heads/MNG-6115
Commit: e9e26f649375804818adc2087dadd830261569a3
Parents: 1a79bb3
Author: rfscholte <rfscho...@apache.org>
Authored: Sun Feb 26 00:11:27 2017 +0100
Committer: rfscholte <rfscho...@apache.org>
Committed: Sun Feb 26 00:11:27 2017 +0100

----------------------------------------------------------------------
 apache-maven/src/bin/mvn.cmd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/e9e26f64/apache-maven/src/bin/mvn.cmd
----------------------------------------------------------------------
diff --git a/apache-maven/src/bin/mvn.cmd b/apache-maven/src/bin/mvn.cmd
index e57ebbf..1fe8aca 100644
--- a/apache-maven/src/bin/mvn.cmd
+++ b/apache-maven/src/bin/mvn.cmd
@@ -167,7 +167,7 @@ for /F "usebackq delims=" %%a in 
("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do s
 
 :endReadAdditionalConfig
 
-if exist "%MAVEN_HOME%\lib\ext\" set 
"JANSI_ARGS=-Dlibrary.jansi.path=%MAVEN_HOME%\lib\ext"
+if exist "%MAVEN_HOME%\lib\ext\jansi.dll" set 
"JANSI_ARGS=-Dlibrary.jansi.path=%MAVEN_HOME%\lib\ext"
 
 for %%i in ("%MAVEN_HOME%"\boot\plexus-classworlds-*) do set 
CLASSWORLDS_JAR="%%i"
 set CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher

Reply via email to