On Mon, Dec 29, 2008 at 12:31 PM, Elliott Slaughter < [email protected]> wrote:
> On Mon, Dec 29, 2008 at 11:49 AM, Luke Crook <[email protected]> wrote: > >> On Sat, 27 Dec 2008 22:37:48 -0800, Elliott Slaughter >> <[email protected]> wrote: >> > > sbclrc: The directory section of this code doesn't need to be longer than >> > one line: >> > >> > (pushnew "C:\\sbcl\\site\\*\\" asdf:*central-registry* :test 'equal) >> > >> > Which has the additional advantages that if the user wants to start >> > installing more libraries, all they have to do is drop them into the >> > site\ >> > directory and restart lisp. >> >> I didn't know that pathnames with wildcards were allowed in >> *central-registry*. Certainly makes things easier. Is this true for other >> Lisps as well, or only SBCL? > > > Unfortunately, it works for some and not others. If I recall correctly, it > works with SBCL and CLISP, but not Allegro. I haven't tried on other lisps. > Actually... this is completely wrong. But what does work is (dolist (dir (directory "/path/to/central/repository/*/")) (pushnew dir asdf:*central-registry* :test #'equal)) On Allegro and other lisps which don't support wildcards in > *central-registry*, one option is to use the DIRECTORY function to get a > list of directories to push onto *central-registry*. Another is > http://www.cliki.net/asdf (under the "Alternative Sysdef Search > functionality" heading), which works well enough but is simply a lot more > verbose. > Sorry for the noise. -- Elliott Slaughter "Any road followed precisely to its end leads precisely nowhere." - Frank Herbert
_______________________________________________ application-builder mailing list [email protected] http://www.lispniks.com/mailman/listinfo/application-builder
