h5bp/html5-boilerplate — Issue #849: Publishing to a parent directory
Author: samuelcotterall
Created: 2011-11-09 15:52:23+00:00
State: open

Hi all,

I was wondering whether it was possible to set the `/publish/` directory to something outside of the h5bp directory, like so:

# My directory structure
# ~/Sites/GitHub/touchdown/master/h5bp/
# ~/Sites/GitHub/touchdown/gh-pages/

# h5bp's project.properties file
dir.publish = ../../gh-pages/

When I ran this I recieved the following error:

-htmlclean:
[apply] java.io.FileNotFoundException: /Users/samuelcotterall/Sites/GitHub/touchdown/gh-pages/../../../gh-pages/404.html (No such file or directory)

Is there a technical (or common-sense) reason why this wouldn’t be possible, or is it just user error on my part?

Cheers,
Samuel.