]
Radoslav Husar reassigned WFCORE-3649:
--------------------------------------
Assignee: Jean-Francois Denise (was: Radoslav Husar)
'deploy' command mandates use of --replace but fails with
"Unrecognized arguments: [--replace]"
-----------------------------------------------------------------------------------------------
Key: WFCORE-3649
URL:
https://issues.jboss.org/browse/WFCORE-3649
Project: WildFly Core
Issue Type: Bug
Components: CLI
Affects Versions: 4.0.0.Beta2
Reporter: Radoslav Husar
Assignee: Jean-Francois Denise
{noformat}
[rhusar@syrah x]$ ./bin/jboss-cli.sh -c
[standalone@localhost:9990 /] deploy
~/git/clusterbench/clusterbench-ee7-ear/target/clusterbench-ee7.ear
[standalone@localhost:9990 /] deploy
~/git/clusterbench/clusterbench-ee7-ear/target/clusterbench-ee7.ear
org.jboss.as.cli.CommandFormatException: 'clusterbench-ee7.ear' already exists in
the deployment repository (use --replace to replace the existing content in the
repository).
[standalone@localhost:9990 /] deploy --replace
~/git/clusterbench/clusterbench-ee7-ear/target/clusterbench-ee7.ear
Unrecognized arguments: [--replace]
[standalone@localhost:9990 /] deploy --force
~/git/clusterbench/clusterbench-ee7-ear/target/clusterbench-ee7.ear
[standalone@localhost:9990 /]
{noformat}
same in domain
{noformat}
[domain@localhost:9990 /] deploy --all-server-groups
~/git/clusterbench/clusterbench-ee7-ear/target/clusterbench-ee7.ear
org.jboss.as.cli.CommandFormatException: 'clusterbench-ee7.ear' already exists in
the deployment repository (use --replace to replace the existing content in the
repository).
[domain@localhost:9990 /] deploy --all-server-groups --replace
~/git/clusterbench/clusterbench-ee7-ear/target/clusterbench-ee7.ear
Unrecognized arguments: [--replace]
{noformat}