For the maven ASDF contrib stuff to find the mvn executable when using the homebrew packaged maven, I need the following patch:
diff --git i/contrib/abcl-asdf/maven-embedder.lisp w/contrib/abcl-asdf/maven-embedder.lisp index c0b67ad..a64f8fa 100644 --- i/contrib/abcl-asdf/maven-embedder.lisp +++ w/contrib/abcl-asdf/maven-embedder.lisp @@ -115,6 +115,9 @@ (defun find-mvn-libs () (truename d))) (list (make-pathname :defaults (merge-pathnames "../lib/" (find-mvn)) :name nil :type nil) + ;; library location for homebrew maven package on MacOS + (make-pathname :defaults (merge-pathnames "../libexec/lib/" (find-mvn)) + :name nil :type nil) #p"/usr/local/share/java/maven3/lib/" ;; FreeBSD ports #p"/usr/local/maven/lib/"))) ;; OpenBSD location suggested by Timo Myyrä
is there a better way to do this?
thanks,
Cyrus
On 22 Apr 2015, at 01:25, Cyrus Harmon ch-lisp@bobobeach.com wrote:
For the maven ASDF contrib stuff to find the mvn executable when using the homebrew packaged maven, I need the following patch:
diff --git i/contrib/abcl-asdf/maven-embedder.lisp w/contrib/abcl-asdf/maven-embedder.lisp index c0b67ad..a64f8fa 100644 --- i/contrib/abcl-asdf/maven-embedder.lisp +++ w/contrib/abcl-asdf/maven-embedder.lisp @@ -115,6 +115,9 @@ (defun find-mvn-libs () (truename d))) (list (make-pathname :defaults (merge-pathnames "../lib/" (find-mvn)) :name nil :type nil)
;; library location for homebrew maven package on MacOS
(make-pathname :defaults (merge-pathnames "../libexec/lib/" (find-mvn))
:name nil :type nil) #p"/usr/local/share/java/maven3/lib/" ;; FreeBSD ports #p"/usr/local/maven/lib/"))) ;; OpenBSD location suggested by Timo Myyrä
is there a better way to do this?
No better way that I can think of under the current implementation of finding the Maven libraries. I [applied your patch][r14776], which was included in abcl-1.3.2, which I have yet to officially announce.
[r14776[: http://abcl.org/trac/changeset/14776
armedbear-devel@common-lisp.net