Set files required for a plugin


I'm working on integrating the native TFS Java SDK for issue tracking and ran into a problem. Microsoft created a JNI folder to handle the interop which they require you to deploy with the jar file. This is pretty easy to package, but it then wants you to set a system property to that path on disk. I can include the files at at this point into the plugin server folder but I need to know how to set that path from within my plugin and the best way to do it as MS recommends: System.setProperty("", "C:\Users\userName\native"); If you need more background this support post explains why you need this:


1 comment
Comment actions Permalink

You can determine location of your plugin jar files from a class object using the following solutions:


Please sign in to leave a comment.