Configuration options for command-line interface

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Configuration options for command-line interface

Ralf Jung
Hi list,

I am invoking a pipeline on the command-line as described at
http://www.orbeon.com/orbeon/doc/integration-command-line . That pipeline is
doing some pre-processing on a bunch of XML files. However, I currently have to
hard-code those filenames into the pipeline. Is there a way to access external
options like command-line arguments from within the pipeline? Alternatively,
some way to specify options that can be read through pipeline:property? I
noticed that options specified in properties-local.xml are not available, but
maybe I can tell the app to load some file as configuration file?

Kind regards,
Ralf Jung


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Configuration options for command-line interface

Erik Bruchez
Administrator
Ralf,

Based on the source of the command-line client:

https://github.com/orbeon/orbeon-forms/blob/master/src/java/org/orbeon/oxf/main/OPS.java#L124

It seems we don't support exposing command-line parameters, for
example as properties. It's a good suggestion but that would have to
be implemented.

-Erik

On Sun, Dec 12, 2010 at 4:01 AM, Ralf Jung <[hidden email]> wrote:

> Hi list,
>
> I am invoking a pipeline on the command-line as described at
> http://www.orbeon.com/orbeon/doc/integration-command-line . That pipeline is
> doing some pre-processing on a bunch of XML files. However, I currently have to
> hard-code those filenames into the pipeline. Is there a way to access external
> options like command-line arguments from within the pipeline? Alternatively,
> some way to specify options that can be read through pipeline:property? I
> noticed that options specified in properties-local.xml are not available, but
> maybe I can tell the app to load some file as configuration file?
>
> Kind regards,
> Ralf Jung
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws