runceel / plantumlpreview

MIT License
15 stars 6 forks source link

Include with relative path does not work #6

Closed windsource closed 7 years ago

windsource commented 7 years ago

I use version 0.0.12 and in this version including a skin via a relative path does not work anymore.

Example:

@startuml

!include ../clean.skin

class Person {
}

@enduml

The error message I get is:

Cannot include C:\Users\username\AppData\Local\Temp\okazukiplantuml\..\clean.skin

runceel commented 7 years ago

ah...

It is very difficult problem. Realtime preview step to, copy file to temp, execute command to temp folder file. Temp folder file dosen't have relative files.

I 'll try to think of a solution .

runceel commented 7 years ago

I released v0.0.13.

Limited support include with relative path.

windsource commented 7 years ago

Thanks. Now it works!