ObeoNetwork / Capella-Extensions

Collection of plugins adding features to Capella (http://polarsys.org/capella/)
Eclipse Public License 1.0
5 stars 10 forks source link

Initial version for M2doc Capella commandline extension #24

Closed dsryzhov closed 4 years ago

dsryzhov commented 4 years ago

A new plugin org.obeonetwork.capella.m2doc.commandline is an extension for Capella command line application that allows to launch m2doc generations based on Capella models from command line.

ylussaud commented 4 years ago

Some update sites seems to have moved. I'll update the target platform and rebase your pull request. Many thanks for your contribution.

ylussaud commented 4 years ago

I had some modifications to make, so I amended you commit and cherry-picked it on master. Thank you again for your contribution.

dsryzhov commented 4 years ago

Great! glad to hear it was usefull

dsryzhov commented 4 years ago

May be it will be interesting for you. I was able to create docker image with Capella and m2doc command line. Now with docker it's so easy to use m2doc commandline to generate documents from capella models. This time I have installed capella and m2doc into docker manualy (not using dockerfile). Now I use this container in gitlab to generate documents from capella models on every commit. In gitlab I also use pandoc docker container to generate html from docx.

In the future it would be great to have an official m2doc docker image with capella on Docker hub.

ylussaud commented 4 years ago

it will be easier to install now since the command line is also in the update site. We could create a dockerfile using p2 director to install M2Doc and the command line into a downloaded Capella.

Any way you can already use the command line from the Capella M2Doc extensions nightly build.