- 15 Mar 2010
We are using versioning scripts that save things to the viewfile/main/ instead of the pub/main/ directory. The publishcontrib plugin that is used to publish the web only resolves files in pub/main/ but not viewfile/main. The files in viewfile contain a link to the file and not the physical file for the published web. The only difference that I've been able to find is that files in ‘pub’ end in the filename.extension and files in ‘viewfile’ end in a revison. It looks like a script is taking the filename and rev number as parameters to locate the correct version for the ‘viewfiles’. Since the links do not go directly to a file, publishContrib does not publish the file, just the link.
How do we get the physical file published when they are not in the pub area instead of publishing a link to the file?