Tutorial-devon4jmigrate#161
Conversation
|
Thanks for submitting your work on a (new) tutorial! Some suggestions, which might help:
Also please find further help for creating tutorials here or more help regarding the tutorial syntax here. You can view the generated tutorials of this PR here in a few minutes. You just have to wait for the run of the deployment action to finish. When you think you are done writing the tutorial try the tutorial on the deveplopment area and check if you explained every step in a way someone who is trying to learn what you are teaching can understand. Ideally ask someone to have a look on what you have done and have that part double checked because this is very important. |
|
Please add a description to your pull request. |
There was a problem hiding this comment.
Function(s) not found:
- buildRun.sh --user devonfw-sample/devon4j-app-4tutorial restoreWorkspace
You can find all supported functions and how to use them here.
| [step] | ||
| == Execute Migrate Command | ||
| -- | ||
| executeCommand("devon java migrate", "devon java migrate", {"dir" : "devonfw/workspaces/main"}) |
There was a problem hiding this comment.
working directory is already ../devonfw/workspaces/main. in this case you would run this in ../devonfw/workspaces/main/devonfw/workspaces/main
There was a problem hiding this comment.
Are you sure about that? In katacoda you need to change the dir. Do we have an error here?
There was a problem hiding this comment.
Hi Denise, If I keep only the name of project then I have to manually navigate to "devonfw/workspaces/main" from command line in katacoda environment and then execute command for directory i.e. "devon4j-app-4tutorial" which I have added. then I have to execute migrate command
There was a problem hiding this comment.
Yes, when we start restoreWorkspace, we only clone the git repository into the workspaces folder and set the working directory to root/devonfw/workspaces/main. Since we haven't changed the folders in katacoda yet, we would still be in the root-folder when the tutorial starts. That's why we have an cd command at the beginning. While writing the tutorial on the other hand, we would have to specify the parameter relative to the workspace directory, which is already root/devonfw/workspaces/main.
There was a problem hiding this comment.
We can change that if it's to confusing this way. But since we usually mean by 'relative to workspace', relative to main, we kept it that way
There was a problem hiding this comment.
There is actually a bug in executeCommand. It only returns the path not the relative path. I will fix it
There was a problem hiding this comment.
Thank you Denise for the fix. It is working fine now
ssarmokadam
left a comment
There was a problem hiding this comment.
tested and working fine
No description provided.