Skip to content

Commit 5a2bbcb

Browse files
committed
added dir to executeCommand
1 parent a461e5b commit 5a2bbcb

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

devon4j-migrate/index.asciidoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,13 @@ restoreWorkspace({"workspace": "devon4j-migrate"})
2525
====
2626
To demonstrate devon4j migrate you would need a sample devon4j project with any older version. Here, we have already created a project with an older version i.e. 2020.08.001 for you.
2727
28-
It is already cloned in workspace.
28+
It is already cloned in workspace using restoreWorkspace.
2929
3030
Execute below command for project migration from an older version to the latest version.
3131
[step]
3232
== Execute Migrate Command
3333
--
34-
executeCommand("cd devonfw/workspaces/main", "cd devonfw/workspaces/main")
35-
executeCommand("devon java migrate", "devon java migrate")
34+
executeCommand("devon java migrate", "devon java migrate", {"dir" : devonfw/workspaces/main})
3635
--
3736
You will see the message similar to the one below, if project migrated successfully.
3837
`Successfully applied 4 migrations to migrate project from version devon4j:2020.08.001 to devon4j:2021.04.002.`

0 commit comments

Comments
 (0)