|
The base syntax to start a CfgScript is: |
foreach (String arg in scriptargs) { out.println("Script Argument: " + arg); } |
-e
option:cfgscript -e 'out.println("hello");'
-e
option depends on the operation system and shell you use.
#!/bin/sh #!ignorenextline eval 'exec acdkcfgscript $0 ${1:"$@"}' System.out.println("executed"); // this is the first line of the real script |
chmod +x scriptfile.csf
).$ACDKHOME/bin
path to the environment variable PATH
and LD_LIBRARY_PATH
.-csfinclude
option insert a search path for the CSFINCLUDES
environment variable, to declare a list of include path.export CSFINCLUDES=/usr/local/acdk/extmodules/csf:~/acdk/csf/include
set CSFINCLUDES=c:\programr\acdk\extmodules\csf;c:\MyDocs\acdk\csf\include
-csfpath
insert a directory in the CSFPATH environment variable.-csfdebugonfail
is set the interpreter branches to the acdk-options
are documented in __script
Instance of the current executed script.__props
The set of variables visible in current scope.true, false, Nil, null
: as corresponing literal values.out
, err
and in
. Normally an alias to member of
this
if method is not static.super
super class.