/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
- -- This is the basic test script for the plugin
- -- It demonstrates say output that contains some trace sections
- -- which can be viewed in the trace panel of the plugin console window
-
- say "this is the test.nrx script"
-
- say "arg is" arg
-
- -- output some interesting environment variables to the activity log:
-
- trace all
-
- say "scriptPath="scriptPath
-
- setdir=jEdit.getSettingsDirectory() -- string with settings directory path (add \macros to get default script paths)
-
- say "settings directory="setdir
-
- trace off
-
- say "java.ext.dirs="System.getProperty( "java.ext.dirs" ) -- Java extensions
-
- say "java.class.path="System.getProperty( "java.class.path" ) -- Java classpath
-
- say "java.library.path="System.getProperty( "java.library.path" ) -- Java library path