felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Didier Donsez <didier.don...@imag.fr>
Subject shell.scriptcmd
Date Thu, 10 May 2007 13:25:45 GMT
Dear all

I put in my sandbox 
(http://svn.apache.org/viewvc/felix/sandbox/donsez/shell.scriptcmd) the 
following bundle

Best regards

Didier


  /shell.scriptcmd/

*Description*
provides commands that run a Felix shell script with the ShellService. 
provides also extra utility commands for scripting.

#
------------------------------------------------------------------------

*List of commands*

# [<any comment>]      - useful to comment scripts
// [<any comment>]     - useful to comment scripts
rem [<any comment>]    - useful to comment scripts
echo <msg>             - echos a message
gc                     - invokes garbage collection
properties             - lists the bundle and system properties
run [-help]            - runs a script downloaded from a url
wait <seconds>         - wait for seconds
waitfor [help|bundle|package|class|service|socket|url]
                       - waits for events in the framework
failif [help|filter]   - fails if filter matches system properties, bundles properties or
headers
failifnot [help|filter]- fails if filter does not match system properties, bundles properties
or headers
  

Help for |run|

run[options] <url>
-help   - Show this help message.
-e      - echo commands.
-p      - prompt each command.
-s      - stop on error.
-nonvar - disable variables substitution.
  

Help for |failif| and |failifnot|

failif help [bundle|filter]
failif filter <ldapfilter on properties>
failifnot help [bundle|filter]
failifnot filter <ldapfilter on properties>
  

Help for |waitfor|

waitfor help [bundle|package|class|service|socket|url]
waitfor bundle [-timeout <second>] <url> <state>
waitfor package [-timeout <second>] <packagename>[;<version>]
waitfor class [-timeout <second>] <classname>
waitfor service [-timeout <second>] <ldap-filter>
waitfor socket [-timeout <second>] <host>:<port> <polling-time>
waitfor url [-timeout <second>] <url> <polling-time>
  


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message