Call all generators from mwe2
I'm currently setting up a tycho build, which should include an xdoc project. I noticed that it is only possible to call the pdf generator from an mwe2 workflow (which is then called by the fornax plugin). I wanted the build to create html and eclipse help as well. Therefore I added support for all three generators being called by mwe2.
As a user I can now call the Xdoc generator workflow like this:
var modelPath = "xdoc" var document = "My Document"
Workflow {
component = @org.eclipse.xtext.xdoc.generator.XdocGeneratorMWE auto-inject {
htmlTargetDir = "target/html"
eclipseHelpTargetDir = "target/contents"
pdfTargetDir = "target/manual"
pdfLatex = "/usr/texbin/pdflatex"
}
}
I'm in the process of reviewing this. It's one huge commit ;) Unfortunately, I have to merge it manually, probably due to changes in Xtend, which cause confliucting changes in the generated code.
And could you tell me please, why you have removed the spell checking support? Do you build against Xtext stable?
Yes, spell checking was disabled because of Xtext stable (and should not be integrated back). Let me know if you have any further questions.