PageRenderTime 43ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/bundles/plugins-trunk/Console/console/bsh/getBufferClassPath.bsh

#
Unknown | 11 lines | 8 code | 3 blank | 0 comment | 0 complexity | 368f76754e0a2d5a435a5d91521d4b19 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. /* Returns $CLASSPATH, plus the current buffer's package root. */
  2. getBufferClassPath(buffer)
  3. {
  4. import console.ConsolePlugin;
  5. return "$CLASSPATH" + File.pathSeparator
  6. + ConsolePlugin.getPackageRoot(buffer);
  7. }
  8. help.getBufferClassPath = "usage: getBufferClassPath ( buffer )";