Replies: 8 comments 1 reply
-
FYI: I created an issue to inform the plugin owners: esteinberg/plantuml4idea#337 |
Beta Was this translation helpful? Give feedback.
-
Yes, that's a real issue. In the meantime, I propose the following change to make IntelliJ IDEA plugin working with latest snapshot. What do you think about it ? |
Beta Was this translation helpful? Give feedback.
-
IMHO this will fix only source code compatibility, but not binary compatibility. This means, the source will build, but an already compiled Pluging with a configured plant UML JAR to render will still fail. I checked it now (I created a JAR from your branch and configured it for the plugin), but the exception is not gone. Double-checked it with an older JAR (then it's working). I hope I didn't make a mistake now with my tests, but I think this only improves it if you make a new build as a user of the API. And then you can correct it right away. |
Beta Was this translation helpful? Give feedback.
-
You're right, it's not that simple.
to
to ensure binary compatibility. Let me do this carefully so that you can test again: I think that we can achieve binary compatibility (but not 100% sure now :-) ) |
Beta Was this translation helpful? Give feedback.
-
@matthew16550 Yes, it would also work. But we still have to keep the old definition @arittner Could you try with last snapshot? If it does not work, could you post the full stacktrace of the error. Thanks! |
Beta Was this translation helpful? Give feedback.
-
No, didn't work. sorry :-/ The stacktrace:
Still a binary compatibility issue. I guess, we can manage this with the plugin owners. But I believe we'll have a lot of other projects with dependency on the PlantUML artifact. The question is, how to handle it? Announce an incompatible change? Revert and announce it for a future version (and maybe add more refactorings with incompatible changes)? Or should we live with the typo? |
Beta Was this translation helpful? Give feedback.
-
Maybe... I've just commit a new change. Could you try again ? Thanks! |
Beta Was this translation helpful? Give feedback.
-
It's working :-) - Your last commit did it. |
Beta Was this translation helpful? Give feedback.
-
Hello!
I noticed today that the IntelliJ IDEA plugin for PlantUML no longer works with the latest snapshot.
Regardless that this needs to be clarified with the plugin developers, the question is how to deal with such changes? I guess many tools around PlantUML are developed and modifications on public accessors (this includes class names) will have an impact.
Here is the detailed issue from PlantUML plugin: https://github.com/esteinberg/plantuml4idea/
This line of code:
https://github.com/esteinberg/plantuml4idea/blob/master/adapter/src/org/plantuml/idea/adapter/rendering/Titles.java#L54
But I also faced an issue on this line:
https://github.com/esteinberg/plantuml4idea/blob/master/adapter/src/org/plantuml/idea/adapter/rendering/Titles.java#L51
I guess this was a typo change to the new name DisplayPositioned (from DisplayPositionned).
Beta Was this translation helpful? Give feedback.
All reactions