Re: asdf patch that converts operate into a generic method

Christophe Rhodes <[email protected]>
Newsgroups gmane.lisp.cclan.general
Message-ID <[email protected]>
"Attila Lendvai" <[email protected]> writes:

> that's what i'm doing. but when i only override perform, then the
> whole stuff is not working (probably because i also override
> output-files and it's called sooner then perform). 

Oh, sure, you might also need to override things like
asdf:operation-done-p, asdf:output-files, and so on.  But the answer
to finding that something doesn't work, whether because of your
overriding or because of asdf itself, is not to suggest a huge patch
with no explanation of why the documented way of working doesn't do
what you want; instead, I suggest you find out why the "whole stuff"
is "not working" (saying /how/ it's not working would be a good start;
see <http://www.chiark.greenend.org.uk/~sgtatham/bugs.html> for some
inspiration on how to communicate this kind of information).

Since I have it to hand, I attach an asd file which might serve as
inspiration; if the :around methods, instead of binding a special,
dispatch on a special, then I believe you could get the effect you
want.  Alternatively, you could define new operation classes:
compile-with-contextl-op, compile-without-contextl-op, and new methods
to go with them.  (Since I don't know the details of what you're
doing, it's difficult to suggest anything more concrete.)

Cheers,

Christophe

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
cclan-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cclan-list
sequence.asd (application/octet-stream, 824 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.