From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Publishing htaccess files with a project Date: Wed, 20 Oct 2010 18:14:56 +0200 Message-ID: <87wrpc4z9b.fsf@gmx.de> References: <87pqvam6rv.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=39606 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8bhN-00013l-CK for emacs-orgmode@gnu.org; Wed, 20 Oct 2010 12:39:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8bJg-0005XH-Oy for emacs-orgmode@gnu.org; Wed, 20 Oct 2010 12:15:05 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:37430 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1P8bJg-0005VP-Cs for emacs-orgmode@gnu.org; Wed, 20 Oct 2010 12:15:04 -0400 In-Reply-To: (Jeff Horn's message of "Wed, 20 Oct 2010 00:53:22 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jeff Horn Cc: Org-mode ml Jeff Horn writes: > We had a bit of a discussion off list, but I still haven't been able > to get the behavior I am after. See below. > > > When I make the change as you have suggested above, I get the original > file not found error. > > From the *Messages* buffer: > ------------------------------------------------------------------------------ > Select command: > Publishing file /Users/jeffreyhorn/org/ftr/.htaccess using > `org-publish-attachment' > org-publish-attachment: Opening input file: No such file or directory, > /Users/jeffreyhorn/org/ftr/.htaccess > ------------------------------------------------------------------------------ > > This is my project definition as it stands now: > ------------------------------------------------------------------------------ > ("ftr-htaccess" > :base-directory "~/org/ftr/" > :publishing-directory "~/Sites/FTR/" > :recursive t > :base-extension "org" > :exclude ".org" > :include (".htaccess") > :publishing-function org-publish-attachment) > ------------------------------------------------------------------------------ > > > With this configuration, Sebastian and I were expecting the > org-publish-attachment function to pick up the .htaccess file and push > it to the publishing-directory. Instead, publishing exits with very > little information (and no Backtrace is triggered). The information I > have available is quoted above. The problem is, that `org-publish-get-base-files' seems to put basenames into `org-publish-temp-files' instead of absolute paths. I'm currently working on it (probably my fault anyway). Sebastian