Is there a way to create an add-in from an application I have built? The application is fairly complex and all I would like to do is bundle it into an add-in. Additionally, this problem might be solved if someone can help me solve the following problem:
I built an application and have it in a folder (myApp/) and have scripts that I would like to include() from the source directory (myApp/src/). However, when I try to Get Default Directory() from within the app, it returns "/", which will not allow me to find the source folder if the application were run on a different computer. Is there a way to query the location of the app that is currently running? Alternatively, is there a way to bundle files into the application so I can reliably access my files (perhaps through a default path variable)?
My attempts to put the application into an add-in have failed. I can't run the app (.jmpappsource or .jmpapp) from the add-in. Also, since the application is fairly complex, I don't want to rebuild it in the add-in builder. Is there a way I could organize the app into an add-in? It would be great if JMP added an "Export application as add-in" or "Create add-in from application" feature.