Move toc.xml into subfolders [message #661420] |
Thu, 24 March 2011 15:27 |
|
Hi,
I'm creating a Eclipse RCP application from scratch. I've been able to add a plugin which will contain only my help content from the templates, and I wanted to change where all the statics files are stored.
By default, my toc.xml file is at the root of my plugin, this works fine and I can access to my help content from the menu. I have moved all the secondary toc files (toctask.xml, tocsample.xml, etc.) and the html files under a subfolder (src/main/statics), and this works too.
However, if I try to move my primary toc.xml file under the same subfolder, my help countent is not found ! I really don't know why because it's rightly referenced in my plugin.xml :
<plugin>
<extension
point="org.eclipse.help.toc">
<toc
file="src/main/statics/toc.xml"
primary="true">
</toc>
<toc
file="src/main/statics/tocconcepts.xml">
</toc>
<toc
file="src/main/statics/tocgettingstarted.xml">
</toc>
<toc
file="src/main/statics/tocreference.xml">
</toc>
<toc
file="src/main/statics/tocsamples.xml">
</toc>
<toc
file="src/main/statics/toctasks.xml">
</toc>
</extension>
</plugin>
Here is the content of my toc.xml file :
<toc label="Table of Contents" topic="src/main/statics/html/toc.html">
<topic label="Getting Started">
<anchor id="gettingstarted"/>
</topic>
<topic label="Concepts">
<anchor id="concepts"/>
</topic>
<topic label="Tasks">
<anchor id="tasks"/>
</topic>
<topic label="Reference">
<anchor id="reference"/>
</topic>
<topic label="Samples">
<anchor id="samples"/>
</topic>
</toc>
Is it a limitation ? Or have I made a mistake ?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04020 seconds