Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Che: Run Command for Vertx (compile vertx:run) #95

Closed
joshuawilson opened this issue Jun 7, 2017 · 4 comments
Closed

Che: Run Command for Vertx (compile vertx:run) #95

joshuawilson opened this issue Jun 7, 2017 · 4 comments

Comments

@joshuawilson
Copy link
Member

From @burrsutter on June 6, 2017 15:42

https://screencast.com/t/3xjfAjqZJxR

Che should have an out-of-the-box run command (it has build and test-compile by default). The run needs to be "compile vertx:run" to properly leverage the vert.x hot redeploy. I then use Terminal to curl the endpoint
https://screencast.com/t/Ye7PLsZuwbZd

Copied from original issue: openshiftio/openshift.io#199

@joshuawilson
Copy link
Member Author

@gorkem this one is for you

@l0rd
Copy link
Contributor

l0rd commented Jun 16, 2017

Ok so that is really frustrating. Che vert.x stacks has a run command.

The problem is that in osio, when a user select create workspace, java_centos stack is always used. Even if the user has selected the vert.x base quickstart. The same applies to wildfly swarm and spring boot. Che has the stacks but these are not used in osio.

To solve that I believe we have a couple of choice:

  • The quick workaround: when the user select create workspace he is prompted with five options (plain java, vertx, spring boot, wildfly swarm, node js)
  • The long term solution: we inject a chefile at the root of the github repository when the codebase is created. The chefiles has informations about the stack image and commands definition.

I've opened fabric8-ui/fabric8-ui#1534 for the first approach.
This ticket https://issues.jboss.org/browse/CHE-260 is about the second approach.

@ibuziuk
Copy link
Member

ibuziuk commented Jul 18, 2017

Related to #119
Might be already fixed - need to verify

@l0rd
Copy link
Contributor

l0rd commented Jul 21, 2017

This has been fixed by #216. The fix is included in Che version 1.0.234 or above.

@l0rd l0rd closed this as completed Jul 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants