#418: maven-embedder needs maven on classpath in order to compile ------------------------------------+------------------------ Reporter: mevenson | Owner: Type: defect | Status: new Priority: major | Milestone: 1.5.0 Component: abcl-contrib | Version: Keywords: github-issue abcl-asdf | Parent Tickets: ------------------------------------+------------------------ From Alan https://github.com/armedbear/abcl/issues/10:
[…] maven-embedder.lisp needs to be recompiled when abcl-asdf is required. Periodically I tear my hair out trying to figure out how to make an initial test run of abcl.jar how to know that.
What do you think of wrapping the first part (up until init is defined) and then calling init inside an eval-when?
Might be nice to add a build target that installs maven if mvn isn't on PATH. {{{ @@ -41,6 +41,7 @@ Test:
|#
+(eval-when (:compile-toplevel :load-toplevel :execute) (defparameter *maven-verbose* t "Stream to send output from the Maven Aether subsystem to, or NIL to muffle output")
@@ -222,7 +224,10 @@ of the mvn executable with an explicit value." (error "Please obtain and install maven-3.0.3 or later locally from http://maven.apache.org/download.html, then set ABCL-ASDF:*MVN-LIBS- DIRECTORY* to the directory containing maven-core-3.*.jar et. al.")) (unless (ensure-mvn-version) (error "We need maven-3.0.3 or later.")) (add-directory-jars-to- class-path *mvn-libs-directory* nil) - (setf *init* t)) + (setf *init* t)) + +(init)) + }}}
-- Ticket URL: http://abcl.org/trac/ticket/418 armedbear http://abcl.org armedbear