In order to make images more manageable, I have a /resources folder and within that I have a sub folder for each chapter containing images used within that chapter.
So my XML looks like this:
However I am finding that when using this subfolder structure - none of the images are being copied to the corresponding target/resources/chapter1 folder.
There appears to be a bug in that it all images must be stored within the resources folder itself and not in a subfolder.
If I put all my images into the resources folder then it works. However this makes it very difficult to manage.
It is not possible to use subdirectories in the resources directory.
The Ant copy task cannot remove just parts of path.
So the property falten="true" is used. (http://ant.apache.org/manual/Tasks/copy.html)
This behavior is needed to create XSL-FO from projects that have a directory structure like:
source
└── en
├── article_QuickStartGuide.xml
├── components_QuickStartGuide
│ ├── resources
│ │ ├── screenshot_AntBuildResults.png
│ │ ├── screenshot_ConsoleViewAntBuild.png
│ ├── section_Install.xml
│ ├── section_Prerequisites.xml
│ ├── section_References.xml
│ └── section_Start.xml
└── resources
└── sticker_DEP4E_472px.svg