Referencing thirdparty Libraries in Operation Advisor
I have developed an Operation Advisor which is working well, now i require to add a thirdparty libraries like jcraft to do some FTP activities, Could some one advice how this external jar can be added through eclipse IDE while developing and how to deploy it in server.
|
3 answers
I have developed an Operation Advisor which is working well, now i require to add a thirdparty libraries like jcraft to do some FTP activities, Could some one advice how this external jar can be added through eclipse IDE while developing and how to deploy it in server. huh? you add the jar to the project jar files just like any other java project. then you would have to package that into the files in your plugin update site such that they get deployed on the server with your plugin..(which builds a private local classpath) Sam |
I have developed an Operation Advisor which is working well, now i require to add a thirdparty libraries like jcraft to do some FTP activities, Could some one advice how this external jar can be added through eclipse IDE while developing and how to deploy it in server. huh? you add the jar to the project jar files just like any other java project. then you would have to package that into the files in your plugin update site such that they get deployed on the server with your plugin..(which builds a private local classpath) Sam Hi sam,
Could you please be more precise on the above, i have added the jar to the plug in, once the site has been created how/where could the path of the jar can be added. |
you would add the directory to the plugin publishing requirements, on the build tab of the plugin.xml.
then u would add that directory to the plugin classpath on the runtime tab of the plugin.xml. you could add just individual files to the classpath as well. Sam |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.