For some reason the command line arguments seems to be interpreted as a single string (as opposed to the normal string array).
This is related to the script in runtime/merlin/cli/etc/deliverables/bin/internal-cygwin.sh If anyone knows how to fix this please yell out. Cheers, Steve. > -----Original Message----- > From: Harvinder Singh [mailto:[EMAIL PROTECTED] > Sent: 17 August 2004 01:57 > To: [EMAIL PROTECTED] > Subject: Error while running the merlin command with any option > > All, > > I am new to Merlin and have installed Merlin 3.3 with Maven 1.0 > Now am trying to run the Hello tutorial as specified in the instruction > but > am getting the below error when I use the option '-execute' > If I run the same command without the execute option, it goes thru fine. > Infact if I use any option like -info ,etc alognwith the command "merlin > target/hello-1.1.jar", then also I get the same error. > It seems that there is some jar not present at the correct location?? Is > it > so?? > > $ merlin -execute target/hello-1.1.jar > Starting Merlin 3.3.0. > ==================== > Platform: CYGWIN_NT-5.0 > Java Home: d:\j2sdk1.4.2_04 > Merlin Home: d:\merlin > Security policy: d:\merlin/bin/security.policy > JVM Options: > Bootstrap JAR: D:\merlin\system\merlin\jars\merlin-cli-3.3.0.jar > Merlin Arguments: -execute target/hello-1.1.jar > > ---- exception report > ---------------------------------------------------------- > Exception: org.apache.commons.cli.UnrecognizedOptionException > Message: Unrecognized option: -execute target/hello-1.1.jar > ---- stack trace > --------------------------------------------------------------- > org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: > -execute target/hello-1.1.jar > org.apache.commons.cli.Parser.processOption(Parser.java:421) > org.apache.commons.cli.Parser.parse(Parser.java:230) > org.apache.commons.cli.Parser.parse(Parser.java:115) > org.apache.avalon.merlin.cli.Main.main(Main.java:208) > ------------------------------------------------------------------------ -- > -- > ---- > > Has anyone faced the same knid of problem ? Any pointer will be greatly > appreciated. > > Regards, > Harvinder > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]