[ 
http://issues.apache.org/jira/browse/FOR-173?page=comments#action_12312948 ] 

Ross Gardler commented on FOR-173:
----------------------------------

The locationmap branch does *exactly* what you describe :-))

When you change the name of myfile.xml to mynewfile.xml all you would need to 
do is add an entry in the locationmap that would match  myfile.xml (don't 
change site.xml).

Now when Forrest fails to find myfile.xml in {proect:content.xdocs} it looks in 
the lcoationmap, finds the match and serves mynewfile.xml

The URL that the user sees (and that the site developers work with) has not 
changed, only the location of the source file has changed.


> Be able to move files without breaking outside links
> ----------------------------------------------------
>
>          Key: FOR-173
>          URL: http://issues.apache.org/jira/browse/FOR-173
>      Project: Forrest
>         Type: New Feature
>   Components: Compile
>     Versions: 0.6
>     Reporter: Nicola Ken Barozzi
>     Assignee: Ross Gardler

>
> It should be possible to move docs round without having links that break 
> because of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to