m19v
m19v

Reputation: 2192

How to define a folder while run-batch from jboss-cli

How can I define a folder (e.g. relative to jboss.server.config.dir) where the cli script lies while running run-batch --file=path/to/cli/script.cli in jboss-cli? Auto-completion of a command run-batch --file= in jboss.cli shows that the jboss.home.dir+/bin is the default folder. E.g.:

[standalone@embedded /] run-batch --file=script.cli
The batch failed with the following error: : File d:\wildfly25\bin\script.cli does not exist.

Upvotes: 0

Views: 749

Answers (0)

Related Questions