I'm currently trying to build a Jira plugin that utilizes a Java servlet and the process builder class to call my Python script which generates HTML.
On localhost, it works completely correctly, I'm guessing because the paths are all correct but as soon as I deploy to the Internet, the Java servlet doesn't call the Python script to change any HTML, it just displays what HTML was generated previously when I tested it on localhost.
This is the path I have currently for calling my Python script:
String path = System.getProperty("user.home") + "/servletDemo/src/main/java/com/brian/demo/servlet/pluginSetup.py"
I then replace the path to make it usable: path = path.replace('\\','/');
And then I build and start the path with ProcessBuilder. It works fine on localhost with the script being called but I can't wrap my head around why the python script isn't being called when deployed onto a Jira server. I checked the browser console and it didn't seem to throw me any major errors.
Anyone know what it could be :(