I've just run a brief test: "[INFO] Rendered /Users/lars/dev/external/incubator-training/content/ZooKeeper/src/main/asciidoc/index_en.adoc [WARNING] Duplicated destination found: overwriting file: /Users/lars/dev/external/incubator-training/content/ZooKeeper/target/generated-slides/index.html"
So that didn't work. But when I included "<sourceDocumentName>index_en.adoc</sourceDocumentName>" in the pom.xml it seems to have worked and it did rended included documents as well. So that seems like a viable solution. On Fri, May 17, 2019 at 11:32 AM Lars Francke <[email protected]> wrote: > I'll prepare the content and will use index_en.adoc & index_de.adoc and > will create a WIP branch, I'd appreciate your help in the Maven bits though > or at least a pointer. > > On Fri, May 17, 2019 at 10:23 AM Christofer Dutz < > [email protected]> wrote: > >> Sure ... >> >> a little more xml in the pom ... but should be pretty straight forward. >> >> Chris >> >> Am 17.05.19, 10:22 schrieb "Lars Francke" <[email protected]>: >> >> Hi Chris, >> >> if that works that'd be great! >> >> Lars >> >> On Fri, May 17, 2019 at 10:11 AM Christofer Dutz < >> [email protected]> >> wrote: >> >> > Hi, >> > >> > And how about multiple "executions" ... one configured to generate >> the >> > English and one for the >> > German slides and have them generated into multiple >> > "generated-slides-{language}" >> > directories and packed to multiple >> presentation-version-language.war files? >> > >> > Chris >> > >> > Am 17.05.19, 09:58 schrieb "Justin Mclean" < >> [email protected]>: >> > >> > HI, >> > >> > > Any idea if we can have an index_en.adoc and an index_de.adoc >> and >> > then >> > > chose which to build using a profile? That'd remove a lot of >> > duplication. >> > >> > That seem like a good way to do it fo me, you may need two >> document >> > templates assuming teh footers are different, which it likely given >> > different languages. >> > >> > Thanks, >> > Justin >> > >> > >> >> >>
