On 3/25/10 2:39 PM, Mark Evenson wrote: […]
I'm working on an implementation of this on your git version as a proof of concept, but haven't gotten much further than getting your output configuration to accept the new syntax. I assume that actually applying the function will be easy, but I am not sure.
[…]
Attached please find a patch to implement the use of an arbitrary output translation function in ASDF2.
An example of the use would be the directive
(#p"jar:file:/**/*.jar!/**/*.*" :function translate-jar-pathname)
which will call the function TRANSLATE-JAR-PATHNAME on a match of the first element of the list. The function will be invoked with two arguments, the first being the matching wildcard, and the second being the pathname to be translated. The function returns the translation.
Hopefully, after review and critique, we can can get something like this in ASDF2.
With the attached patch to abcl trunk, I can successfully use ASDF2 to load ASDF systems in jar files, with the compiled files being output to a translation under :USER-CACHE.