command line - Passing argument with spaces to Spring batch CommandLineJobRunner -
in configuring spring batch jobs, have need pass argument commandlinejobrunner have spaces.
for example :
java -cp "../../myproject.jar" org.springframework.batch.core.launch.support.commandlinejobrunner jobconf.xml readjob -comp.name=my company when executing above job, spring batch getting comp.name value "my" only.
how full name("my company") including spaces?
any suggestions of great help!
thank you.
argument having spaces in splitted multiple arguments. use quotes specify single argument. may this can
Comments
Post a Comment