On Thu, Jul 24, 2014 at 1:09 AM, Pankaj Gupta <[email protected]> wrote: > Hi, > > I'm creating a scala jump to definition plugin. The vim side of plugin is > really simple, a few lines of python that call a local service over http. The > real crux is the java service that creates and maintains an index. I want to > package the java jars needed for running the process as part of the vim > plugin and start the process automatically through vim. > > Are there any existing plugins that bundle jars? I basically want to learn > about best practices on how to access paths of (jar)files in the plugin, how > to check if the process is already running, start it if needed, how to find a > free port to run the service on etc. >
You might want to check out https://github.com/megaannum/vimside . Another java-land plugin is https://github.com/tpope/vim-fireplace , which sends clojure strings to the lein repl for evaluation. I imagine vimside does something similar. Neither bundles a jar. I would try to leverage the sbt repl or something similar. For java classpath resolution https://github.com/tpope/vim-classpath may also be very helpful. Justin M. Keyes -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
