How to remove a system which was created with quicklisp quickproject?

2.7k Views Asked by At
  1. I made a project with quickproject:make-project in directory "~/projects/{name}/".

  2. I wasn't happy how it turned out and wanted to start over, so I renamed the directory to "~/projects/{name}-old/" and made a new project with quickproject:make-project in the initial directory "~/projects/{name}/".

  3. If I try to load my project with ql:quickload, quicklisp tries to load the old project.

How do I remove the old system, while keeping the old project files where they are?

What should I have done, instead of renaming the directory in step 2.?

2

There are 2 best solutions below

2
On

There was a bug in ASDF that caused a problem like this. You might be able to recover by using (asdf:clear-system "<name>"). If that doesn't work, things should work fine if you restart.

0
On

Angus is right, in my file ~/.config/common-lisp/source-registry.conf.d/projects.conf there is this entry,

(:tree (:home "projects/"))

and the wrong project gets picked first. To prevent asdf from loading the wrong project I had to rename the asd file. Just changing the package or system definition in the project, like I tried at first, didn't help.