Latest PlantUML (Version 1.2018.11) cannot !include with pipe

+2 votes
asked Oct 9 in Bug by jebbs (220 points)

According to my user feedback:

Latest PlantUML (Version 1.2018.11) cannot !include with pipe, neither "-Duser.dir=path/to/dir", nor set the CWD of the process. Older version works good for both.

Please have a look.


1 Answer

0 votes
answered Oct 9 by plantuml (189,260 points)
selected Oct 10 by jebbs
Best answer
Thanks for the feedback.

We have indeed changed the whole preprocessor implementation with version 1.2018.11

The issue with pipe option and !include should be fixed in last beta

Tell us if it's not working for you.
commented Oct 10 by jebbs (220 points)
Yes, it's fixed, thank you for quick response!
commented Oct 12 by Meo (1,000 points)

I was using FileSystem.getInstance().setCurrentDir(baseDir);  - before rendering and syntax checking, it no longer works.
So I changed it to  System.setProperty("plantuml.include.path", baseDir.getAbsolutePath());.
- I hope that's intended?
 (using the beta)