Giter Site home page Giter Site logo

Develop help wanted about plantuml4idea HOT 6 CLOSED

ytm157 avatar ytm157 commented on August 14, 2024
Develop help wanted

from plantuml4idea.

Comments (6)

ytm157 avatar ytm157 commented on August 14, 2024 1

After pulling the updated code and building it with Gradle, it works now. Thank you for your quick reaction! ❤

from plantuml4idea.

ytm157 avatar ytm157 commented on August 14, 2024 1

It works!
I found the real output classes that sandbox ide will use is in /out/production/classes rather than build/classes.
When build and run using Intellij IDEA, it will compile the source to /out/production/classes, after the code is changed, JReble will compile it and hot swap to /out/production/classes too.
However, build with default gradle will only out to "build" directory, I did not figure out where the real production directory locates, so JReble can not find it either.
I still don't know how to use the default gradle build to support hot swap, but thanks a lot, it works for now.
If I figure it out, I'll share it with you❤

from plantuml4idea.

aadrian avatar aadrian commented on August 14, 2024

@ytm157 I tried to automate it #158 , but the authors refused it :( .

from plantuml4idea.

krasa avatar krasa commented on August 14, 2024

Maybe the problem was that 2022 needs JRE 11 (and 2022.3.3 is broken like 2023)
Gradle was broken back then, but now it work fine and the old way does not work for 2023.
The project is now switched to Gradle, it should work out of box.

from plantuml4idea.

ytm157 avatar ytm157 commented on August 14, 2024

Well, there's still a question. How do you develop with the hot swap?
I want to change my code under debug mode and not restart the whole project.
The JReble seems not to work after I change my code, it just changes nothing, and the plugin does not auto-reload.
image

And run 'buidPlugin' while 'runIde' will throw an error "The requested operation cannot be performed on a file with a user-mapped section open".
There's a same issue here, which seems a problem with Windows.

from plantuml4idea.

krasa avatar krasa commented on August 14, 2024

This should help:
image

from plantuml4idea.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.