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

running ceylon module with 'vertx run' #21

Closed
gavinking opened this issue Jul 11, 2017 · 4 comments
Closed

running ceylon module with 'vertx run' #21

gavinking opened this issue Jul 11, 2017 · 4 comments

Comments

@gavinking
Copy link
Contributor

gavinking commented Jul 11, 2017

There are multiple problems with using vertx run and Ceylon:

First, Ceylon support is not enabled by default (!) and this is not mentioned in the Vert.x documentation. Instead it is mentioned here. But it's unreasonable to expect people to know to look for it there.

Second, when vertx is installed via Homebrew, there is no vertx-stack.json file installed, so the instructions don't actually work in that case.

Finally, it seems that in the latest release, vertx run simply doesn't work with Ceylon modules at all, even after running vertx resolve. This command:

vertx run ceylon:examples.core.http.simple.server/1.0.0

Results in this error:

java.lang.ClassNotFoundException: examples.core.http.simple.server/1.0.0
@gavinking
Copy link
Contributor Author

Finally, it seems that in the latest release, vertx run simply doesn't work with Ceylon modules at all, even after running vertx resolve.

OK, that's not right. The problem was that I have to run vertx resolve from within my Vert.x installation directory, which is not mentioned in the instructions, and doesn't even seem to be properly documented here:

http://vertx.io/docs/vertx-stack-manager/stack-manager/#_launching_the_resolution

@gavinking
Copy link
Contributor Author

@cescoffier @vietj I think it's a bug in vertx resolve that it will happily download everything into my project's lib directory without telling me something is wrong.

@gavinking
Copy link
Contributor Author

I also think it's a bug that the vertx homebrew installation doesn't include a vertx-stack.json file. I'm not sure where I should report that one.

@vietj
Copy link
Contributor

vietj commented Jul 11, 2017

report it on the vert-x3/vertx-stack project

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants