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

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -