Re: asdf patch that converts operate into a generic method
"Attila Lendvai" <[email protected]>
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Message-ID | <[email protected]> |
> > > 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). i'm loading the metacopy files twice (and generate two fasl's for each lisp file). once using defmethod's, and once uing define-layered-method's that are incompatible and imply a slightly different performance overhead, so i load them in two different packages, and the users can chose. all this is managed by metacopy.asd. if you are really interested in the details, please take a look at the attached file and consider the inpackage forms (in-package #.(metacopy-system:metacopy-package)). but i think we are starting to spend more time on this then useful. i tought that converting a defun in asdf into a defmethod will not bring up any issues, just make asdf more flexible and also simplifies the metacopy .asd file (at least in the possibly limited context of my understanding of asdf), therefore i've sent this patch. but if it does bring issues then never mind, i'll find another way because it would take quite some time for this asdf change to reach the end users anyway... -- - attila "- The truth is that I've been too considerate, and so became unintentionally cruel... - I understand. - No, you don't understand! We don't speak the same language!" (Ingmar Bergman - Smultronstället) ------------------------------------------------------------------------- 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
metacopy.asd
(application/octet-stream, 5.4 KB) - not displayed