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

Template project for SBT #114

Open
galderz opened this issue Jan 12, 2014 · 8 comments
Open

Template project for SBT #114

galderz opened this issue Jan 12, 2014 · 8 comments

Comments

@galderz
Copy link
Contributor

galderz commented Jan 12, 2014

As discussed here, a sample/template SBT project is needed, similar to the Maven Archectype and Gradle Template project. This will help people to get started with SBT + Vert.x

@martin-magakian
Copy link

+1

1 similar comment
@vucalur
Copy link

vucalur commented May 14, 2014

+1

@matanox
Copy link

matanox commented Jul 6, 2014

I found that using SBT as follows works pretty well for a Scala vert.x project, using spray's sbt revolver.
This is without packaging as a vert.x module, just a way to run vert.x from sbt so that it runs your verticle written in Scala, while listening for source changes. Assumes revolver is "installed".

sbt
> set mainClass in Revolver.reStart := Some("org.vertx.java.platform.impl.cli.Starter")
> ~re-start run scala:com.something.myclass

@galderz
Copy link
Contributor Author

galderz commented Jul 25, 2014

We're in closing stages of switching from gradle to SBT for mod-lang-scala, and in there we are tackling the issue of packaging a vert.x module since that's required to release mod-lang-scala. Once that's completed, we should be able to create the template project more easily.

@matanster If you could share the project you've created and instructions to run it, it'd be great so that we can potentially include something similar when we develop the template project.

@matanox
Copy link

matanox commented Jul 25, 2014

@galderz do you mean templating my project even though it does not package itself as a vert.x module?

@galderz
Copy link
Contributor Author

galderz commented Sep 2, 2014

Whatever SBT template we come up with, it'll probably include both: the ability to package it as a Vert.x module, and maybe what you suggest, ability to run vert.x directly. For the latter option, if you could share what you did to your SBT configuration to run it that'd be great, assuming you did more than you explained in your last comment. Thanks!

@galderz
Copy link
Contributor Author

galderz commented Oct 30, 2014

Hey @matanster, I got a notification for an update on the issue but you removed it? It seemed to contain valuable info :|

@matanox
Copy link

matanox commented Nov 6, 2014

I think I felt it became obsolete...

On Thursday, October 30, 2014, Galder Zamarreño [email protected]
wrote:

Hey @matanster https://github.com/matanster, I got a notification for
an update on the issue but you removed it? It seemed to contain valuable
info :|


Reply to this email directly or view it on GitHub
#114 (comment)
.

Sent from Gmail Mobile

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

4 participants