[te-code-users] Parsing nested command line options...
Brought to you by:
atownley
|
From: Kathiresan N. <ka...@ca...> - 2005-02-18 01:25:44
|
Hi, We have a requirement wherein a set of options corresponding to a particular tool (which is launched from within our tool) have to be passed in (as an argument to an option) to our command line tool. For example: Let's assume that the command line tool is called "abcTool'. There's an option for abcTool called "-lanchedToolOpts". abcTool -launchedToolOpts "-optionA <arg1> -optionB -optionC <arg2>" -optionX <value> -optionY abcTool also needs to process other options like -optionX, -optionY as settings for itself. The expectation here is that the argument to launchedToolOpts should be stored AS IS and passed onto to launchedTool, verbatim. Any suggestions on how this could be achieved using TE-Common Java libraries? Thanks -Kat. |