How to recompile changed classes? (OD-149)
Michael Weimann opened 6 years ago

Sorry for that stupid question :/

How can I recompile specific classes after I changed them, so that the changes are applied to the project?
If I got that I will add some notes to the dev docs.

Note: I am not using Eclipse.

  • Robin Shen commented 6 years ago

    This is not possible from command line. From eclipse I can run in debug mode and get changes reflected right away when I save it.

  • Michael Weimann commented 6 years ago

    Even Eclipse has to use some underlying function. Do you have any idea what this is?

  • Robin Shen commented 6 years ago

    When in Eclipse, OneDev uses class files directly from target folder, and Eclipse does some magic hot-loading changed class files. I am not familiar with the mechanism.

    While in command line mode, all class files are packaged into jar. Even if OneDev uses class files directly, there is no hot loading there I guess.

  • Michael Weimann commented 6 years ago

    Thanks for the feedback. I will do some further research here.

  • Robin Shen changed state to 'Closed' 6 years ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Issue Votes (0)
Watchers (2)
Reference
OD-149
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover