ASDF imposes a file type for lisp sources

Bug #542222 reported by Juanjo Garcia-Ripoll
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ASDF
Fix Released
Undecided
Unassigned

Bug Description

In a system such as

(defsystem :foo
  :component ((:file "foo")))

where foo.lsp exists and is recognized by the lisp implementation as a valid source file (ECL), ASDF imposes the file extension "lisp". Furthermore, adding our own extension

(defsystem :foo
  :component ((:file "foo.lsp")))

does not work.

Revision history for this message
Juanjo Garcia-Ripoll (worm) wrote :

Please note that I am aware of the comment in http://common-lisp.net/project/asdf/manual.html#header3-114 regarding the use of a system with an EQL specializer. I just want to reflect that ASDF does not behave homogeneously with how COMPILE-FILE and LOAD do on the same implementation.

Revision history for this message
Juanjo Garcia-Ripoll (worm) wrote :

I attach a patch that allows specifying a different file type

(defsystem :foo
  :component ((:file "foo" :type "lsp")))

while preserving the original source-file-type method.

Revision history for this message
Juanjo Garcia-Ripoll (worm) wrote :

I attach a patch that allows specifying a different file type

(defsystem :foo
  :component ((:file "foo" :type "lsp")))

while preserving the original source-file-type method.

Faré (fahree)
Changed in asdf:
status: New → Fix Committed
Faré (fahree)
Changed in asdf:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.