Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
I have my custom java packages, I have to import these packages in js file which is located at integrity server. How can i do these.
Regards,
Ketan
You need to place the jar on the server into the subdirectory \data\java\jars.
Restart the server. This will load the jar. Make sure it is compiled with the same java version the server is running with.
In serverside javascript trigger script, you can use the classes with "Packages" prefix, or you import it:
importClass(Packages.mks.util.MessageCatalog);
importClass(Packages.java.util.UUID);
Hello Ketan,
Did Roman's answer resolve this issue for you? If so, could you mark the answer correct by clicking on theon his post? This lets people browsing threads to supply answers (or to find them) know that this question was answered, and it also recognizes Roman's contribution.
If it didn't help you, please let us know how this answer is lacking, and we can try to address the additional concerns you raise.
Thanks,
Kael