Purpose of components of type :static-file?

Erik Huelsmann ehuels at gmail.com
Tue May 26 19:27:54 UTC 2015

Hi Dave,

Thanks for asking! Many systems seem to depend on files existing on the
disk system "near" the .asd file. However, systems shouldn't depend on
that, as e.g. ABCL implements the asdf :bundle-op operation, which compiles
an entire system into one monolithic FASL file (which can then be included
in a JAR). Back when I did the implementation for :bundle-op I remember
people objecting (it being an excercise in futility) because too many
systems depend on the previously described behaviour.

Herewith, I'd like system authors to take note and use the :static-file
declaration so systems like ECL and ABCL for which it makes sense to
compile monolithic bundles for general distribution can include those
resources in the bundle.



On Tue, May 26, 2015 at 6:29 PM, Dave Cooper <david.cooper at genworks.com>

> Hi,
> What is the intended purpose of the :static-files component-type in ASDF?
> I see a couple examples of their use in the ASDF manual, but didn't see an
> explanation or real example of how to use them downstream from including
> them in the defsystem form in the .asd file.
> Presumably they can be used for README, license, example files, and other
> resources which go with a system but are not Lisp source files to be
> compiled and loaded with the system.
> If so, then what are the supported/expected operations with static-files?
> For example, is there a way to query a system for files of type
> :static-file, so that you can do something with them (e.g. copy them to a
> distribution directory)?
> Best Regards,
>  Dave
> P.S. my apologies if this has been discussed in this list before
> --
> My Best,
> Dave Cooper, Genworks Support
> david.cooper at genworks.com, dave.genworks.com(skype)
> +1 248-330-2979



http://efficito.com -- Hosted accounting and ERP.
Robust and Flexible. No vendor lock-in.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/asdf-devel/attachments/20150526/23d386e1/attachment-0001.html>

More information about the asdf-devel mailing list