forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <>
Subject Re: Including legacy html
Date Sun, 15 Dec 2002 10:24:27 GMT
On Sun, Dec 15, 2002 at 06:05:25PM +1000, Peter B. West wrote:
> Jeff Turner wrote:
> >On Sun, Dec 15, 2002 at 03:38:51PM +1000, Peter B. West wrote:
> >
> >>Forrest-devs,
> >>
> >>Is it possible to include legacy html in a forrest-generated site?
> >
> >
> >Apparently, adding xlink:role="dynamic" to the link will stop the crawler
> >from breaking on the link.  Then the file(s) could be copied over by an
> >Ant task.
> Jeff,
> I found real-content (deprecated) and added a copy of real-content-dir 
> with xdocs excluded to site-dir after the build

Sorry, I forgot about that.. non-xdocs files in src/documentation/content
are copied across by default:

<!-- Copy all non-xdocs content -->
<target name="copy-content" if="real-content.present">
  <copy toDir="${project.ctxt-dir}/content" filtering="false"
    overwrite="true" failonerror="false">
    <fileset dir="${project.real-content-dir}">
      <exclude name="xdocs/**"/>


PS: As for the name 'real-content': for some reason, the directory
'src/documentation' was assigned the variable name
${project.content-dir}.  Which is very silly because right underneath,
is a content/ directory.  When I found I needed to address that too..
name clash, hence ${project.real-content-dir}.

View raw message