How to copy a file to the transformation folder
Posted: Mon Jul 22, 2013 10:21 am
Hi,
I have a general file html that I need for all webhelp transformations.
The transformation adds a link to that html file.
However, I can't seem to copy the file the source files to the folder woth the generated output.
I tried to add the copy to the build.xml or to the build_docbook.xml but I still cannot get it to work.
(I am new to XPATH etc...).
to the build_docbook.xml I tried to add the following to the <target name="copy-webhelp-resources"> section:
<property name="input-cr-dirs"
value="localization/**"/>
<dirname property="input-cr-basedir" file="${xml.file}"/>
<copy todir="${output.dir}/common" overwrite="true">
<fileset dir="${webhelp.plugin.path}oxygen-webhelp/resources/localization">
<include name="copyright.htm"/>
</fileset>
</copy>
To which file should I add something like this?
Is the code correct or did I miss something there?
Thanks,
Rakefet
I have a general file html that I need for all webhelp transformations.
The transformation adds a link to that html file.
However, I can't seem to copy the file the source files to the folder woth the generated output.
I tried to add the copy to the build.xml or to the build_docbook.xml but I still cannot get it to work.
(I am new to XPATH etc...).
to the build_docbook.xml I tried to add the following to the <target name="copy-webhelp-resources"> section:
<property name="input-cr-dirs"
value="localization/**"/>
<dirname property="input-cr-basedir" file="${xml.file}"/>
<copy todir="${output.dir}/common" overwrite="true">
<fileset dir="${webhelp.plugin.path}oxygen-webhelp/resources/localization">
<include name="copyright.htm"/>
</fileset>
</copy>
To which file should I add something like this?
Is the code correct or did I miss something there?
Thanks,
Rakefet