Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use maven instead of 'java -jar' to run sample #11

Merged
merged 1 commit into from
Aug 17, 2022
Merged

chore: use maven instead of 'java -jar' to run sample #11

merged 1 commit into from
Aug 17, 2022

Conversation

vitaliy-guliy
Copy link
Collaborator

devfile.yaml Outdated Show resolved Hide resolved
@svor
Copy link
Collaborator

svor commented Aug 11, 2022

Please fix your Signed-off-by email:
screenshot-github com-2022 08 11-19_06_42

@vitaliy-guliy
Copy link
Collaborator Author

@svor done with both your comments.

Copy link
Collaborator

@svor svor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commands work fin on y side.
I just have a problem with the debugger:
screenshot-che-dogfooding apps che-dev x6e0 p1 openshiftapps com-2022 08 15-19_14_42
@vitaliy-guliy could you please verify if it's a problem with the command that runs the application in not debug mode or maybe it's more general problem and we need another issue for it.

@svor
Copy link
Collaborator

svor commented Aug 15, 2022

It seems the debugger works fine with the old command, need to update a new one to make it possible to attach the debugger
screenshot-che-dogfooding apps che-dev x6e0 p1 openshiftapps com-2022 08 15-19_30_30

@vitaliy-guliy vitaliy-guliy changed the title chore: use maven instead of 'java -jar' to run sample [WIP] chore: use maven instead of 'java -jar' to run sample Aug 16, 2022
@vitaliy-guliy
Copy link
Collaborator Author

@svor done with both your comments.
Could you take a look again?

@vitaliy-guliy vitaliy-guliy changed the title [WIP] chore: use maven instead of 'java -jar' to run sample chore: use maven instead of 'java -jar' to run sample Aug 17, 2022
devfile.yaml Outdated
group:
kind: run
isDefault: true

- id: run-debug
- id: run-with-mysql-new
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think run-with-mysql would be better

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's definitely better to use command name without new ending.
Thanks.

Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
Copy link
Collaborator

@svor svor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works fine:

screenshot-che-dogfooding apps che-dev x6e0 p1 openshiftapps com-2022 08 17-18_28_29

@vitaliy-guliy vitaliy-guliy merged commit 691bcb8 into che-samples:devfilev2 Aug 17, 2022
@vitaliy-guliy vitaliy-guliy deleted the devfilev2 branch August 17, 2022 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants