-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PlantUML version upgrade? #34
Comments
There might be a workaround here where you can specify I ran into this same issue and started digging, I'm going to try it. |
I did get it working, but you also have to make sure you have
The I created my own folder
Then I set my environment variable This seems to work. Without the other two JAR files you get errors about GraphViz missing. I gather I could add some paths to the environment to avoid copying the other two files, but in the end I found that the new version of PlantUML still doesn't really support a couple of the things that I think are in progress, so the upgrade doesn't help me. I didn't bother pursuing it further. |
@tillig are you able to produce a PR for this fix so the community can leverage this broken upgrade? |
Unfortunately it's been a long while since I had this working and my hack wasn't something I could push - as you noticed, I got it working by hacking environment variables and such, which isn't a PR-able thing. Since I didn't pursue it beyond the hack, I never actually got it fixed, and I've moved on to other things. I hate to sound selfish, but until I actually need to totally fix it for something I'm working on, I likely won't be back with a PR any time soon. Sorry. |
Thanks for the quick response, @tillig! I totally get it and wasn't sure if the solution was in a state for PR. I'll see if I can prepare something for a PR as it would be nice to get this to work again |
As a workaround, using it programmatically, I ended up with something like this, requiring the module after setting the ...
process.env.PLANTUML_HOME = path.join(__dirname, 'vendor', ver.jar);
const plantuml = require('node-plantuml');
plantuml
.generate(path.join(item.dir, pumlFile), { format: options.DIAGRAM_FORMAT, charset: options.CHARSET })
.out
.pipe(stream);
... |
Are there any plans to upgrade the PlantUML jar to a more current version? The latest is 1.2020.6...
The text was updated successfully, but these errors were encountered: