markushedvall / node-plantuml

A Node.js module and CLI for running PlantUML
MIT License
193 stars 53 forks source link

use external plantuml.jar #3

Open stemey opened 8 years ago

stemey commented 8 years ago

Is it possible to configure an externally located plantuml.jar, so that it can be updated while node-plantuml is not? I am thinking about a path parameter to pass to generate().

markushedvall commented 8 years ago

Hi, sorry for my late reply.

This is currently not possible, but I'm looking into a good way to do it. Probably it won't be as dynamic as providing it to the generate function, as nailgun needs to be restarted when changing jar (if using nailgun).

I'll keep you updated, and I'll probably have a version out soon with support for it.

tillig commented 4 years ago

It looks like if you set PLANTUML_HOME in the environment you can specify your own plantuml.jar location.