Re: [AAP] list of updated sources
Luc Hermitte <[email protected]> Fri, 16 Jul 2004 06:08:16 +0200
| Newsgroups | gmane.comp.tools.aap.user |
|---|---|
| Message-ID | <20040716040816.GA17021@jade> |
Hello, * On mer, jui 07, 2004 at 11:13:12 +0200, Bram Moolenaar <[email protected]> wrote: > > I'm trying to get the list of the files that have been modified > > since the last execution of aap. > > > > So far, I've used the trick "Copying All Files At Once" (in > > user-publish.html). However I do not just want to copy the files on > > my web site but first convert them in a _single_ action. > For what reason can't you do the conversion in the "finally" commands? Well. Good question. According to the documentation, the "finally" section is not really appropriated if the command executed may fail. As the convertion I am running may fail, I tried to avoid this solution. > Not directly. But perhaps you can use a trick: From inside the recipe > invoke Aap to echo the list of outdated files. Then use this list to > do what you want to do. That's perfect. Thanks!! I use this trick with a few Python instructions and now it works well. (What I've done is probably not very idiomatic nor optimized, but it works well) BTW: if any body is interrested in the final solution, just ask me. > I'm not sure if you want to make it so complicated though. Thanks to this, I do not launch vim twice per updated file, but only once. > I don't think sending a message to gmane works. It's for archiving > only. That is odd. A bot from gmane asked me to register in order to post from gmane. It seems that in any case we must be registered to the ML. Thanks! -- Luc Hermitte ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click