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

SBT plugin for Vert.x #31

Open
galderz opened this issue Jul 26, 2013 · 6 comments
Open

SBT plugin for Vert.x #31

galderz opened this issue Jul 26, 2013 · 6 comments

Comments

@galderz
Copy link
Contributor

galderz commented Jul 26, 2013

A separate module containing an SBT Vert.x plugin is needed. This would enable Vert.x Scala applications to be run directly from the SBT console.

Just like Spray (via their SBT Revolver plugin) or Play 2 web apps, a subtask here would be to be able to be able to detect changes in the source files and be able to recompile and restart the Vert.x app on the fly.

@landonf
Copy link

landonf commented Nov 25, 2013

For what it's worth, I have some internal code for this that supports fatjar packaging and in-place execution of the module. I'm still working on this (it's implemented as part of an internal project), but I've posted the current version here for perusal/comment/mockery: https://gist.github.com/landonf/7641206

@galderz
Copy link
Contributor Author

galderz commented Dec 9, 2013

@landonf I had a look and looks pretty good already :).

One thing I'd like to see in place is the ability to run a Vert.x verticle. In an SBT project, this would normally be running a full Verticle class (as opposed to the sample scripts (see example) we have created for the examples). This Verticle class would be compiled and then it'd be started with the ScalaVerticleFactory passing the fully qualified class name as parameter. If you have doubts on this, ping me on IRC (freenode, #vertx channel)

Let us know when you're ready to show it to us. Maybe you can do a little demo when you've finished?

@vucalur
Copy link

vucalur commented Jun 16, 2014

+1

1 similar comment
@matanox
Copy link

matanox commented Jun 19, 2014

+1

@galderz
Copy link
Contributor Author

galderz commented Sep 25, 2014

Removed unnecessary comments :). @landonf How's the plugin working for you since the last time you posted it?

@carueda
Copy link

carueda commented Oct 7, 2014

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants