[armedbear-cvs] r14169 - trunk/abcl/contrib/abcl-asdf

mevenson at common-lisp.net mevenson at common-lisp.net
Mon Oct 8 18:06:56 UTC 2012


Author: mevenson
Date: Mon Oct  8 11:06:55 2012
New Revision: 14169

Log:
Fix ABCL-ASDF's ability to find Maven under Windows.

Since the JVM process is a Windows process, even when the
implementation is invoked under Cygwin, the "mvn" Bash wrapper can't
be successfully invoked.

Modified:
   trunk/abcl/contrib/abcl-asdf/maven-embedder.lisp

Modified: trunk/abcl/contrib/abcl-asdf/maven-embedder.lisp
==============================================================================
--- trunk/abcl/contrib/abcl-asdf/maven-embedder.lisp	Mon Oct  8 11:06:53 2012	(r14168)
+++ trunk/abcl/contrib/abcl-asdf/maven-embedder.lisp	Mon Oct  8 11:06:55 2012	(r14169)
@@ -41,7 +41,10 @@
 (defparameter *maven-verbose* t
   "Stream to send output from the Maven Aether subsystem to, or NIL to muffle output")
 
-(defvar *mavens* '("/opt/local/bin/mvn3" "mvn3" "mvn" "mvn3.bat" "mvn.bat")
+(defparameter *mavens* 
+  (if (find :windows *features*)
+      '("mvn.bat" "mvn3.bat")
+      '("/opt/local/bin/mvn3" "mvn3" "mvn"))
   "Locations to search for the Maven executable.")
 
 (defun find-mvn () 




More information about the armedbear-cvs mailing list