/plugins/NetRexxScript/tags/0.1.1b/macros/NetRexx/test.nrx

# · Unknown · 27 lines · 14 code · 13 blank · 0 comment · 0 complexity · 0815c280ddc8d2448f9b768a7aa104ef MD5 · raw file

  1. -- This is the basic test script for the plugin
  2. -- It demonstrates say output that contains some trace sections
  3. -- which can be viewed in the trace panel of the plugin console window
  4. say "this is the test.nrx script"
  5. say "arg is" arg
  6. -- output some interesting environment variables to the activity log:
  7. trace all
  8. say "scriptPath="scriptPath
  9. setdir=jEdit.getSettingsDirectory() -- string with settings directory path (add \macros to get default script paths)
  10. say "settings directory="setdir
  11. trace off
  12. say "java.ext.dirs="System.getProperty( "java.ext.dirs" ) -- Java extensions
  13. say "java.class.path="System.getProperty( "java.class.path" ) -- Java classpath
  14. say "java.library.path="System.getProperty( "java.library.path" ) -- Java library path