Isn't adding new features, actions, services, etc, also part of Java? As you may already know, you can debug JavaScript by loading ICN in debug mode (debug=true).
You would need to restart ICN if you change the structure of Java classes by adding new classes, methods, etc.
Original Message:
Sent: Thu October 26, 2023 02:30 PM
From: Andreas Baaserud Hauge
Subject: Content Navigator Plugin - how to set up a local development environment
Hi @ANDY Choi,
But wouldnt that only let you debug the java part of this? would not work for adding new features, actions, services etc..?
------------------------------
Andreas Baaserud Hauge
Senior Consultant
tietoevry
------------------------------
Original Message:
Sent: Tue September 26, 2023 09:09 AM
From: ANDY Choi
Subject: Content Navigator Plugin - how to set up a local development environment
Hello Andreas,
You'd first need to start the ICN in debug mode.
https://www.ibm.com/support/pages/how-do-i-toggle-debug-mode-individual-websphere-application-server-instances
Then, attach your IDE to the remote host and port. You can reference the IDE documentation on attaching your IDE to a remote server for more details.
https://devblogs.microsoft.com/java/hot-code-replacement-for-java-comes-to-visual-studio-code/
https://www.eclipse.org/community/eclipse_newsletter/2017/june/article1.php
https://blog.jetbrains.com/idea/2019/04/debug-your-java-applications-in-docker-using-intellij-idea/
Regards,
Andy
------------------------------
ANDY Choi
Original Message:
Sent: Mon September 25, 2023 04:07 PM
From: Andreas Baaserud Hauge
Subject: Content Navigator Plugin - how to set up a local development environment
Hello @ANDY Choi,
So what type of HCR are you talking about?
Can you explain how your setup looks?
- how is ICN configured in regards of the plugin you develop
- how is your ide configured?(intellij / eclipse / netbeans / anything else)?
------------------------------
Andreas Baaserud Hauge
Senior Consultant
tietoevry
Original Message:
Sent: Mon September 25, 2023 05:24 AM
From: Gabriela Maráková
Subject: Content Navigator Plugin - how to set up a local development environment
Hello Andreas,
if you are looking for deployment automation, we developed for our customer simple java console app for deployment. This app conntect to content navigator and invoke reload action by calling loadPlugin url.
------------------------------
Gabriela Maráková