[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Publishing htaccess files with a project
From: |
Sebastian Rose |
Subject: |
Re: [Orgmode] Publishing htaccess files with a project |
Date: |
Wed, 20 Oct 2010 18:14:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Jeff Horn <address@hidden> 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.
>
> <snip>
> 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)
> ------------------------------------------------------------------------------
> </snip>
>
> 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