Can orbeon-cli get parameter?

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

Can orbeon-cli get parameter?

thao nguyen

Hello,

I have a case when calling orbeon-cli.jar from java -jar. However, I could not
find a way to give parameter to the pipeline. Could you please help? Or tell me
if it is impossible.

For example, in xpl file, there is a param from input. And I want to passed it
by calling: java -jar orbeon-cli.jar test.xpl "A string passed by
command-line". Could the pipeline, somehow, get a string "A string passed by
command-line"?

Thanks for any help,
Thao Nguyen


--
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: Can orbeon-cli get parameter?

Alessandro  Vernet
Administrator
Thao,

I am afraid that at this point you can't, without extending the Java
code of the command line "driver".

Alex

On Mon, Mar 8, 2010 at 1:57 AM, Thao Nguyen
<[hidden email]> wrote:

>
> Hello,
>
> I have a case when calling orbeon-cli.jar from java -jar. However, I could not
> find a way to give parameter to the pipeline. Could you please help? Or tell me
> if it is impossible.
>
> For example, in xpl file, there is a param from input. And I want to passed it
> by calling: java -jar orbeon-cli.jar test.xpl "A string passed by
> command-line". Could the pipeline, somehow, get a string "A string passed by
> command-line"?
>
> Thanks for any help,
> Thao Nguyen
>
>
> --
> 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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Can orbeon-cli get parameter?

thao nguyen
In reply to this post by thao nguyen
Hi Alex,

Thanks for the reply.

With extending code, the implementation has to be updated along with any
release of orbeon. I afraid it won't be a perfect choice. I'll look for another
solution, but thanks anyway.

Regards,
Thao


--
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: Re: Re: Can orbeon-cli get parameter?

Alessandro  Vernet
Administrator
Thao,

We don't use the command line interface much, and if you extend what
it currently does and are willing to contribute those changes, we'll
look into putting them into the codebase.

Alex

On Tue, Mar 9, 2010 at 7:56 PM, Thao Nguyen
<[hidden email]> wrote:

> Hi Alex,
>
> Thanks for the reply.
>
> With extending code, the implementation has to be updated along with any
> release of orbeon. I afraid it won't be a perfect choice. I'll look for another
> solution, but thanks anyway.
>
> Regards,
> Thao
>
>
> --
> 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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet