[teiid-issues] [JBoss JIRA] Resolved: (TEIID-230) Add Reading the Command line parameter support for mmadmin
Ramesh Reddy (JIRA)
jira-events at lists.jboss.org
Mon Apr 20 12:05:22 EDT 2009
[ https://jira.jboss.org/jira/browse/TEIID-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramesh Reddy resolved TEIID-230.
--------------------------------
Resolution: Done
In the admin shell, when executing in the "script mode" you can pass in parameters from the command line, and they can be accessed in your script by "bsh.args" value.
For example if this below line executed
mmadmin myscript.bsh param1 param2 param3
then inside the myscript.bsh file, the script developer can access the parameters as
for(String arg:bsh.args) {
print(arg);
}
> Add Reading the Command line parameter support for mmadmin
> ----------------------------------------------------------
>
> Key: TEIID-230
> URL: https://jira.jboss.org/jira/browse/TEIID-230
> Project: Teiid
> Issue Type: Feature Request
> Components: Tools
> Affects Versions: 6.0.0
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Priority: Minor
> Fix For: 6.1.0
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> Currently there is no way to pass in command line parameters to the MMAdmin while executing a script other than script name it self. You could add "-D" parameter through script manipulation, however there is no easier way.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list