If you get a chance, could you also test your changes work ok for the PDF, > as it uses the same stylesheet. >
I've checked out the trunk from svn so I could test the PDF but am getting the following errors. When I check in build/docbook/src introduction.xml is indeed missing. ./gradlew userguide WARNING: problem while setting JAXP validating property on SAXParser... XML validation will not be done: http://java.sun.com/xml/jaxp/properties/schemaLanguage :samples :userguideSrc :userguideStyleSheets :userguideHtml Include operation failed, reverting to fallback. Resource error reading file as XML (href='introduction.xml'). Reason: /Users/andrew/svn/gradle-trunk/build/docbook/src/introduction.xml (No such file or directory) file:///Users/andrew/svn/gradle-trunk/build/docbook/src/userguide.xml; Line #26; Column #42; An 'include' failed, and no 'fallback' element was found. :userguidePdf Include operation failed, reverting to fallback. Resource error reading file as XML (href='introduction.xml'). Reason: /Users/andrew/svn/gradle-trunk/build/docbook/src/introduction.xml (No such file or directory) file:///Users/andrew/svn/gradle-trunk/build/docbook/src/userguide.xml; Line #26; Column #42; An 'include' failed, and no 'fallback' element was found. ERROR: 'Premature end of file.' Build failed with an exception. Run with -s or -d option to get more details. Run with -f option to get the full (very verbose) stacktrace. Build file '/Users/andrew/svn/gradle-trunk/build.gradle' line: 479 Execution failed for task ':userguidePdf'. Cause: Can't load the XML resource (using TRaX transformer). org.xml.sax.SAXParseException: Premature end of file. BUILD FAILED Total time: 1 mins 34.328 secs
