commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Horman <>
Subject [jelly] usage, output file
Date Thu, 03 Oct 2002 17:49:27 GMT
Usage: Jelly scriptFile [outputFile]
My Jelly scripts do not output anything. They do take input parameters. The
report below take a date as an import parameter and then executes sql, etc,
based on that date. I end up with an empty file called 20020922 after each
Would it not make more sense to have the usage be:
Usage: Jelly scriptFile [-o outputFile] scriptParams
It looks like
<>  could help.
Actually, if jelly could then make the CLI objects available instead of
"args[]" then the scripts could be passed "-date 20020922" options.
jelly databuild.jelly 20020922
<jelly xmlns="jelly:core" xmlns:log="jelly:log" xmlns:bsh="jelly:beanshell"
    xmlns:ant="jelly:ant" xmlns:sql="jelly:sql">
    <set var="date" value="${args[1]}"/>
    <log:info> building ${date} </log:info>
This email message and any attachments are for the sole use of the intended
recipient(s) and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited. If you
are not the intended recipient or his/her representative, please contact the
sender by reply email and destroy all copies of the original message.

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