xDoc icon indicating copy to clipboard operation
xDoc copied to clipboard

Call all generators from mwe2

Open ckulla opened this issue 13 years ago • 3 comments

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"
}

}

ckulla avatar Feb 05 '12 19:02 ckulla

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.

RvonMassow avatar Feb 10 '12 11:02 RvonMassow

And could you tell me please, why you have removed the spell checking support? Do you build against Xtext stable?

RvonMassow avatar Feb 10 '12 11:02 RvonMassow

Yes, spell checking was disabled because of Xtext stable (and should not be integrated back). Let me know if you have any further questions.

ckulla avatar Feb 10 '12 18:02 ckulla