I have a Netbeans PHP project with code checked out from a subversion repository. The source files folder is outside my local web server document root. It has three sub-folders trunk, branches, and tags. The branches folder has a sub-folder 'my-branch' (say) which contains the code I am working on (a CodeIgniter project).
I have set the project properties to copy files from the sources folder to the web server document root (htdocs). This copies the trunk, branches and tags folders into the htdocs folder as I would expect.
However I really only want to copy the contents of the branches/my-branch folder to htdocs. I thought that setting the 'Web Root' property (on Project Properties | Sources) to 'branches/my-branch' might achieve this. However, this does not seem to work as I hoped it would.
Two questions:
- What is the purpose of the 'Web Root' property?
- How (if at all) can I get NetBeans to do what I want?