You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Brian Foster (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2011/11/02 10:05:32 UTC
[jira] [Issue Comment Edited] (OODT-330) Factor out command line
utility from oodt-commons
[ https://issues.apache.org/jira/browse/OODT-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142009#comment-13142009 ]
Brian Foster edited comment on OODT-330 at 11/2/11 9:04 AM:
------------------------------------------------------------
attached beings of CAS-CLI with cas-workflow... the following code invokes the SendEventCliAction:
{code}
System.setProperty("org.apache.oodt.cas.cli.action.spring.config", "src/main/resources/cmd-line-actions.xml");
System.setProperty("org.apache.oodt.cas.cli.option.spring.config", "src/main/resources/cmd-line-options.xml");
CmdLineUtility cmdLineUtility = new CmdLineUtility();
cmdLineUtility.run("--url http://localhost:9000 --operation --sendEvent --eventName TestEvent --metaData --key Filename data.dat".split(" "));
{code}
was (Author: bfoster):
attached beings of CAS-CLI with cas-workflow... the following code invokes the SendEventCliAction:
System.setProperty("org.apache.oodt.cas.cli.action.spring.config", "src/main/resources/cmd-line-actions.xml"); System.setProperty("org.apache.oodt.cas.cli.option.spring.config", "src/main/resources/cmd-line-options.xml");
CmdLineUtility cmdLineUtility = new CmdLineUtility();
cmdLineUtility.run("--url http://localhost:9000 --operation --sendEvent --eventName TestEvent --metaData --key Filename data.dat".split(" "));
> Factor out command line utility from oodt-commons
> -------------------------------------------------
>
> Key: OODT-330
> URL: https://issues.apache.org/jira/browse/OODT-330
> Project: OODT
> Issue Type: New Feature
> Components: commons
> Affects Versions: 0.3
> Environment: none
> Reporter: Brian Foster
> Assignee: Brian Foster
> Priority: Minor
> Fix For: 0.4
>
> Attachments: SendEventCliAction.java, WorkflowCliAction.java, cmd-line-actions.xml, cmd-line-options.xml, move_cas-cl_to_trunk.patch.txt
>
>
> Factoring out CAS Command Line interface:
> - will include speed improvements over existing version in oodt-commons
> - will include support for grouping command line options
> - will include support for writing your own command line help print-out look/format
> - will include factoring out of Spring based usages such that they are still highly supported, but also optional
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira