While working with RTC Extension, if a small change in code is required to my provisioned plugin what steps should be followed? Do we need to restart the server always?
![]()
I'm trying to build some custom RTC extensions (Operations advisors and Participants). I have gone through the examples and they are working fine. Now if I need to make a small change to the implementation class like writing System.out.println(), I have to go through a whole lot of steps:
1) Update site. 2) stop server 3) Clean the work directory in tomcat 4) start server Is there a faster way for this? |
Accepted answer
![]()
Ralph Schoon (61.5k●3●36●43)
| answered Feb 25 '15, 8:14 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Under development follow https://jazz.net/library/article/1000 and use Jetty to develop. This avoids having to to redeploy and having to restart the server always. At least minor changes to the extension code can be done without always restarting the test jetty server.
anup Gaur selected this answer as the correct answer
Comments Development environment is always easy!
The question was "like writing System.out.println(), I have to go through a whole lot of steps"... You don't just add one System.out in a production plugin.
true. I missed that point..
Hi Ralph,
Hi Ralph,
|
2 other answers
![]()
the OSGI console 'might' provide a mechanism, but I don't know how to attach a console to a running server.
because of the overhead, I always recommend to create a schedule for publishing code changes, and test prior on parallel systems. that schedule could be daily, depends on what your organization can handle |