Unifying the Vert.x Scala effort

845 views
Skip to first unread message

Galder Zamarreño

unread,
May 24, 2013, 8:55:12 AM5/24/13
to ve...@googlegroups.com
Hi all,

First of all, a little info about myself for those that don't know me. I'm Galder Zamarreño, founder and lead of Escalante, a Scala application server based on JBoss AS7/Wildfly which integrates Scala web technologies such as Lift and Play. I work for Red Hat and I'm also working on the Infinispan data grid/cache project.

On top of this work, I'm also looking into Scala + Vert.x integration in order to see how we can compete with other similar technologies out there, i.e. Spray.io (http://spray.io/). Spray is primarily focused on the HTTP world and uses Scala actors behind the scenes. I find the examples in the website to be a bit deceiving, since an entire Ping/Pong-like example requires a bit more code than what they explain on the site. Here's a full working example (note: contains both server and client code): https://github.com/galderz/scalag/blob/master/src/main/scala/scalag/spray/PingPongSpray.scala - This examples uses a nighly build of Spray, to be precise: version 1.1-20130507 (versions are a bit confusing in Spray...)

Anyway, without getting too hang up on competition, the idea of Scala + Vert.x integration is how to bring all the goodness of Vert.x to Scala developers in a way that seems natural to them. Right now there's two Scala + Vert.x offerings out there:

1. https://github.com/vert-x/mod-lang-scala - Initlally contributed by Stuart Williams. Unfortunately, I've been unable to find examples on how users can use it :|

Slim's code is smaller, barely 10 classes or so, which seems a better to start at, particularly since the examples look pretty neat. Stuart's work might a be more complete though....  Slim's effort could be tweaked for sure, and I have certain ideas that I'd like to share with the Vert.x community, but before doing that, I'd like to get views of both Stuart and Slim on their respective efforts to decide how to procede next.

Right now, my suggestion would be to start with Slim's work and then add stuff on top from Stuart's work, if it makes sense to do so.

Based on that, I'm currently trying to convert Slim's code to Vert.x 2.0 and then, add those examples to https://github.com/vert-x/vertx-examples/tree/master/src/main so that users can play around with them and give us their feedback. This is crucial to try to achieve the best end result. Until we have an in-memory Scala compiler in place (it's quite doable, IntelliJ Scala uses SBT for that...), I'll be adding SBT build files to generate compiled classes and then see if we can run them from SBT too.

@Slim, @Stuart, and any other Scala fans, let us know what you think :)

Cheers,
Galder
 

Nicolas Melendez

unread,
May 24, 2013, 10:26:24 AM5/24/13
to ve...@googlegroups.com
Hi Galder,
Good to know that the Scala Verticle idea is still alive, didn't know  about Slim Ourtani efforts, seems that it uses a very "scala idiomatic" api design with things like:
val  point = x ! ("path")
 point >> ("ping 1")  
 point >> ("ping 2") 
Currently i am working with the Stuart effort, migrating it to vert.x 2.0.
I move from 39 compile errors to 18 errors, most of them because of vert.x 2 api breaks.

While i was fixing this project, i had to look a lot inside the new vertx 2.0 so no matter if we continue with @stuart or @slim , that small experience can help.

Since you started with @slim project and i started with @stuart, i think we have to coordinate efforts in one single project to make it successful.



Nicolás Meléndez

"People Over Processes"
"Working Software Over Documentation"
"Responding to change over following a Plan"


Sent with Sparrow

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Galder Zamarreño

unread,
May 24, 2013, 10:36:22 AM5/24/13
to ve...@googlegroups.com


On Friday, 24 May 2013 16:26:24 UTC+2, nicolas melendez wrote:
Hi Galder,
Good to know that the Scala Verticle idea is still alive, didn't know  about Slim Ourtani efforts, seems that it uses a very "scala idiomatic" api design with things like:
val  point = x ! ("path")
 point >> ("ping 1")  
 point >> ("ping 2") 
^ Yup, I've noticed that, but I'm happy to let some in as long as they're conventions... So, for example, '!' is a very common expression which is used for sending messages to Scala/Akka actors asynchronously.

So, if "!" still means sending an event, *asynchronously*, to the Vert.x bus, we're making the cake and eating it ourselves. IOW, we're taking advantage of the conciseness of the expression and we're taking advantage that this expressions means pretty much the same in other Scala technologies widely used such as Actors. So, it's not a foreign thing for Scala developers.

This is what I mean by a later message about improvements. If we can align all this send/publish calls with something that makes sense in other uses of idiomatic Scala, them I'm all in. If it's gonna confuse users because meanings are different, then no. IOW, I'd be against adding idiomatic Scala ala SBT, where you have operators like <<= (what the...)
 
Currently i am working with the Stuart effort, migrating it to vert.x 2.0.
I move from 39 compile errors to 18 errors, most of them because of vert.x 2 api breaks.

While i was fixing this project, i had to look a lot inside the new vertx 2.0 so no matter if we continue with @stuart or @slim , that small experience can help.

Since you started with @slim project and i started with @stuart, i think we have to coordinate efforts in one single project to make it successful.

^ Sure, we can do that, but as I said earlier, I'd like to see some examples of Stuart's code from a user POV... maybe you can show when you've finished with the compilation errors? or @Stuart or others can show?

Cheers,

Pid

unread,
May 24, 2013, 12:07:42 PM5/24/13
to ve...@googlegroups.com
> *Nicol�s Mel�ndez*
> /blog.melendez.com.ar <http://blog.melendez.com.ar>/
> /
> /
> /"People Over Processes"/
> /"Working Software Over Documentation"/
> /"Responding to change over following a Plan"/
> /
> /
>
> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>
> On Friday, May 24, 2013 at 9:55 AM, Galder Zamarre�o wrote:
>
>> Hi all,
>>
>> First of all, a little info about myself for those that don't know
>> me. I'm Galder Zamarre�o, founder and lead of Escalante, a Scala
The usual expectation is that a language implementation will closely
follow the vert.x API, but use idiomatic syntax and methods where it
offers a language appropriate benefit.

I am not a Scala expert, so if mod-lang-scala could be improved, please
send PRs.


p



>> Cheers,
>> Galder
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "vert.x" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to vertx+un...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out
>> <https://groups.google.com/groups/opt_out>.
>>
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "vert.x" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to vertx+un...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>


--

[key:62590808]

Nicolas Melendez

unread,
May 25, 2013, 2:32:50 PM5/25/13
to ve...@googlegroups.com

Now the project is compiling, also another commiter helped me @edgarchan thanks to him.

After this pull request to kick off, every commit will be with his tests, and will have all the others tests green to avoid regressions. Also the examples will start to appear soon in my blog, and in the readme of the project.

Thanks.

Nicolás Meléndez

"People Over Processes"
"Working Software Over Documentation"
"Responding to change over following a Plan"


Sent with Sparrow

On Friday, May 24, 2013 at 1:07 PM, Pid wrote:

*Nicolás Meléndez*
/
/
/"People Over Processes"/
/"Working Software Over Documentation"/
/"Responding to change over following a Plan"/
/
/


On Friday, May 24, 2013 at 9:55 AM, Galder Zamarreño wrote:

Hi all,

First of all, a little info about myself for those that don't know
me. I'm Galder Zamarreño, founder and lead of Escalante, a Scala

Edgar Chan

unread,
May 26, 2013, 1:32:48 AM5/26/13
to ve...@googlegroups.com
i didn't know of Slim's work either but when i saw the examples is more or less the interface i had in mind. i think many of his work could be merged into Stuart effort, which even when many of the scala devs dont find it quite idiomatic its a good idea and i vote to keep it that way, because its easy to follow or mirror the official language mod and on top of that we could add all of the scala goodies like Galder suggests.

by the way i am not fan of any arbitrary operators either and if any of them make it through,  a named method counter part should be provided too.

Galder Zamarreño

unread,
Jun 6, 2013, 4:17:58 AM6/6/13
to ve...@googlegroups.com
Sorry for the delay guys (working on multiple things these days...)

Nicolas, thanks for the pull req. Maybe I can handle it but need to get access to the repo (I'll talk to Tim), in the mean time I'll try to comment on it in the next few days.

Looking forward to seeing the examples that you produce. It'll make it easier to compare the two approaches and try to take the best of each.

Cheers, 

Galder Zamarreño

unread,
Jun 6, 2013, 4:20:06 AM6/6/13
to ve...@googlegroups.com


On Sunday, 26 May 2013 07:32:48 UTC+2, Edgar Chan wrote:
i didn't know of Slim's work either but when i saw the examples is more or less the interface i had in mind. i think many of his work could be merged into Stuart effort, which even when many of the scala devs dont find it quite idiomatic its a good idea and i vote to keep it that way, because its easy to follow or mirror the official language mod and on top of that we could add all of the scala goodies like Galder suggests.

by the way i am not fan of any arbitrary operators either and if any of them make it through,  a named method counter part should be provided too.

^ I think that's a good middle ground. Whenever we add any idiomatic call (which makes sense...), we'll have a named method counter part. That gives people the choice... but at the same time, we'd need to do it in a way that it does not confuse people (iow, document it properly!).

Nicolas Melendez

unread,
Jun 6, 2013, 9:27:02 AM6/6/13
to ve...@googlegroups.com
Galder,
Forget about that pull request, it is very old, we have made lot of progress with edgar, most related to the process of development, than API design and coding API implementations , here a small resume:
* Make the project compile
* Migrate from old test framework to testools
* Improve the gradle scripts to use test tools 
* Config travis CI and show a pretty widget in the Readme of github
* Create a organization named : ScalaVert and make admin Edgar and Me to stop doing PR each others.


Now we are going to migrate all vert-core tests to Scala in order to define the scala API and exercising it with the tests.

Thanks

Nicolás Meléndez

"People Over Processes"
"Working Software Over Documentation"
"Responding to change over following a Plan"


Sent with Sparrow

Galder Zamarreño

unread,
Jun 6, 2013, 9:35:10 AM6/6/13
to ve...@googlegroups.com
Nicolas, that's great stuff. Awesome work getting all this done :)

However, you should send some pull reqs to vert-x/mod-lang-scala so that other community members can potentially work on other aspects?

Otherwise, community members have to be tracking two organisations which creates confusion :|

I'm interested in seeing if some of the aspects from Slim's approach could be merged with your current efforts, which I think look pretty good btw :). I want to do this work in paralell to what you guys doing, but for that we need to work of the same upstream :). Hence, you guys sending a pull req to vert-x/mod-lang-scala  would allow me and others to comment on your code and then we can integrate and carry on working on stuff.

WDYT?

Nicolas Melendez

unread,
Jun 6, 2013, 9:45:59 AM6/6/13
to ve...@googlegroups.com
Galder,
Yes we have in mind Slim approach we are moving there. The only reason for the ScalaVertx Organization was to simplify edgar and me collaboration from each other, we don't want others to track that so please, don't :)  All developers must track the Vertx mod-lang-scala,  i will send you a PR from ScalaVertx, but we have experimental code there that i think we have to clean up before making a PR to Vert.x community.

Your comments in the commits of the old PR are good, we will see which one applies to improve the new work.

So the next actionable steps are:
* Clean up our code to make a PR
* Check your comments to improve our code
* send a PR and start with the details in order to merge with Vert.x mod-lang-scala

Opinions?

Nicolás Meléndez

"People Over Processes"
"Working Software Over Documentation"
"Responding to change over following a Plan"


Sent with Sparrow

Ranie Jade Ramiso

unread,
Jun 15, 2013, 1:34:55 PM6/15/13
to ve...@googlegroups.com
Wow, it's nice to see that there is active development for vert.x scala support. I'm no scala expert, but I'll be glad to help if given the chance.

Nicolas Melendez

unread,
Jun 15, 2013, 1:43:55 PM6/15/13
to ve...@googlegroups.com
Hey Ranie, you are very welcome to help us!

Nicolás Meléndez
Software Engineer

Twitter: @nfmelendez



Sent with Sparrow

Ranie Jade Ramiso

unread,
Jun 15, 2013, 1:55:44 PM6/15/13
to ve...@googlegroups.com
Thanks! Just forked the https://github.com/ScalaVertx/mod-lang-scala, I'll see what I can do.

________________________________________________________________

Ranie Jade Ramiso <raniejaderamiso.com>
Software Engineer | Opensource Enthusiast | Professional Slacker 
___________________________________________________________________________

Nicolas Melendez

unread,
Jun 15, 2013, 2:13:46 PM6/15/13
to ve...@googlegroups.com
Great,
To start just do: ./gradlew test and check that the project builds and run all the test, or CI says we are green, so same should be for you.

If you use Idea IDEA just do ./gradlew idea  or also you can use any editor you want, like Sublime.

Then i have a very small task for you if you want to collaborate, not more than 20~50 lines of code between implementation + test.

Want to give it a shoot?

Nicolás Meléndez
Software Engineer

Twitter: @nfmelendez



Sent with Sparrow

Ranie Jade Ramiso

unread,
Jun 15, 2013, 2:21:55 PM6/15/13
to ve...@googlegroups.com
Running the build now. Sure, that would be great!

________________________________________________________________

Ranie Jade Ramiso <raniejaderamiso.com>
Software Engineer | Opensource Enthusiast | Professional Slacker 
___________________________________________________________________________


Nicolas Melendez

unread,
Jun 15, 2013, 2:36:54 PM6/15/13
to ve...@googlegroups.com
Ok, wait me 30 min that a make you a very detailed email about this.

Nicolás Meléndez
Software Engineer

Twitter: @nfmelendez



Sent with Sparrow

Ranie Jade Ramiso

unread,
Jun 15, 2013, 2:41:32 PM6/15/13
to ve...@googlegroups.com
Okay, will do. Thanks!

________________________________________________________________

Ranie Jade Ramiso <raniejaderamiso.com>
Software Engineer | Opensource Enthusiast | Professional Slacker 
___________________________________________________________________________


Nicolas Melendez

unread,
Jun 15, 2013, 3:25:51 PM6/15/13
to ve...@googlegroups.com
Ready, i sent to you.

Nicolás Meléndez
Software Engineer

Twitter: @nfmelendez



Sent with Sparrow

Ranie Jade Ramiso

unread,
Jun 15, 2013, 3:27:26 PM6/15/13
to ve...@googlegroups.com
Got it, thanks! 

________________________________________________________________

Ranie Jade Ramiso <raniejaderamiso.com>
Software Engineer | Opensource Enthusiast | Professional Slacker 
___________________________________________________________________________


Tim Fox

unread,
Jun 16, 2013, 6:39:23 AM6/16/13
to ve...@googlegroups.com
Have you guys heard? Apparently there's this new technology called
"instant messaging", you should try it some-time! ;)

On 15/06/13 20:27, Ranie Jade Ramiso wrote:
> Got it, thanks!
>
> *________________________________________________________________*
> *
> *
> *Ranie Jade Ramiso <raniejaderamiso.com>*
> *Software Engineer | Opensource Enthusiast | Professional Slacker *
> *Twitter <https://twitter.com/raniejade> |
> Facebook<http://www.facebook.com/72878331c221485527705ba87e511306>|
> Github <https://github.com/raniejade>*
> *___________________________________________________________________________
> *
>
>
> On Sun, Jun 16, 2013 at 3:25 AM, Nicolas Melendez <nfmel...@gmail.com>wrote:
>
>> Ready, i sent to you.
>>
>> *Nicol�s Mel�ndez*
>> *Software Engineer*
>> *
>> *
>>
>>
>> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>>
>> On Saturday, June 15, 2013 at 3:41 PM, Ranie Jade Ramiso wrote:
>>
>> Okay, will do. Thanks!
>>
>> *________________________________________________________________*
>> *
>> *
>> *Ranie Jade Ramiso <raniejaderamiso.com>*
>> *Software Engineer | Opensource Enthusiast | Professional Slacker *
>> *Twitter <https://twitter.com/raniejade> | Facebook<http://www.facebook.com/72878331c221485527705ba87e511306>|
>> Github <https://github.com/raniejade>*
>> *
>> ___________________________________________________________________________
>> *
>>
>>
>> On Sun, Jun 16, 2013 at 2:36 AM, Nicolas Melendez <nfmel...@gmail.com>wrote:
>>
>> Ok, wait me 30 min that a make you a very detailed email about this.
>>
>> *Nicol�s Mel�ndez*
>> *Software Engineer*
>> *
>> *
>>
>>
>> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>>
>> On Saturday, June 15, 2013 at 3:21 PM, Ranie Jade Ramiso wrote:
>>
>> Running the build now. Sure, that would be great!
>>
>> *________________________________________________________________*
>> *
>> *
>> *Ranie Jade Ramiso <raniejaderamiso.com>*
>> *Software Engineer | Opensource Enthusiast | Professional Slacker *
>> *Twitter <https://twitter.com/raniejade> | Facebook<http://www.facebook.com/72878331c221485527705ba87e511306>|
>> Github <https://github.com/raniejade>*
>> *
>> ___________________________________________________________________________
>> *
>>
>>
>> On Sun, Jun 16, 2013 at 2:13 AM, Nicolas Melendez <nfmel...@gmail.com>wrote:
>>
>> Great,
>> To start just do: *./gradlew test* and check that the project builds and
>> run all the test, or CI says we are green, so same should be for you.
>>
>> If you use Idea IDEA just do *./gradlew idea * or also you can use any
>> editor you want, like Sublime.
>>
>> Then i have a very small task for you if you want to collaborate, not more
>> than 20~50 lines of code between implementation + test.
>>
>> Want to give it a shoot?
>>
>> *Nicol�s Mel�ndez*
>> *Software Engineer*
>> *
>> *
>>
>>
>> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>>
>> On Saturday, June 15, 2013 at 2:55 PM, Ranie Jade Ramiso wrote:
>>
>> Thanks! Just forked the https://github.com/ScalaVertx/mod-lang-scala,
>> I'll see what I can do.
>>
>> *________________________________________________________________*
>> *
>> *
>> *Ranie Jade Ramiso <raniejaderamiso.com>*
>> *Software Engineer | Opensource Enthusiast | Professional Slacker *
>> *Twitter <https://twitter.com/raniejade> | Facebook<http://www.facebook.com/72878331c221485527705ba87e511306>|
>> Github <https://github.com/raniejade>*
>> *
>> ___________________________________________________________________________
>> *
>>
>>
>> On Sun, Jun 16, 2013 at 1:43 AM, Nicolas Melendez <nfmel...@gmail.com>wrote:
>>
>> Hey Ranie, you are very welcome to help us!
>>
>> *Nicol�s Mel�ndez*
>> *Software Engineer*
>> *
>> *
>>
>>
>> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>>
>> On Saturday, June 15, 2013 at 2:34 PM, Ranie Jade Ramiso wrote:
>>
>> Wow, it's nice to see that there is active development for vert.x scala
>> support. I'm no scala expert, but I'll be glad to help if given the chance.
>>
>> On Thursday, June 6, 2013 9:45:59 PM UTC+8, nicolas melendez wrote:
>>
>> Galder,
>> Yes we have in mind Slim approach we are moving there. The only reason for
>> the ScalaVertx Organization was to simplify edgar and me collaboration from
>> each other, we don't want others to track that so please, don't :) All
>> developers must track the Vertx mod-lang-scala, i will send you a PR
>> from ScalaVertx, but we have experimental code there that i think we have
>> to clean up before making a PR to Vert.x community.
>>
>> Your comments in the commits of the old PR are good, we will see which one
>> applies to improve the new work.
>>
>> So the next actionable steps are:
>> * Clean up our code to make a PR
>> * Check your comments to improve our code
>> * send a PR and start with the details in order to merge with Vert.x
>> mod-lang-scala
>>
>> Opinions?
>>
>> *Nicol�s Mel�ndez*
>> *blog.melendez.com.ar*
>> *
>> *
>> *"People Over Processes"*
>> *"Working Software Over Documentation"*
>> *"Responding to change over following a Plan"*
>> *
>> *
>>
>> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>>
>> On Thursday, June 6, 2013 at 10:35 AM, Galder Zamarre�o wrote:
>>
>> Nicolas, that's great stuff. Awesome work getting all this done :)
>>
>> However, you should send some pull reqs to vert-x/mod-lang-scala so that
>> other community members can potentially work on other aspects?
>>
>> Otherwise, community members have to be tracking two organisations which
>> creates confusion :|
>>
>> I'm interested in seeing if some of the aspects from Slim's approach could
>> be merged with your current efforts, which I think look pretty good btw :).
>> I want to do this work in paralell to what you guys doing, but for that we
>> need to work of the same upstream :). Hence, you guys sending a pull req
>> to vert-x/mod-lang-scala would allow me and others to comment on your code
>> and then we can integrate and carry on working on stuff.
>>
>> WDYT?
>>
>> On Thursday, 6 June 2013 15:27:02 UTC+2, nicolas melendez wrote:
>>
>> Galder,
>> Forget about that pull request, it is very old, we have made lot of
>> progress with edgar, most related to the process of development, than API
>> design and coding API implementations , here a small resume:
>> * Make the project compile
>> * Migrate from old test framework to testools
>> * Improve the gradle scripts to use test tools
>> * Config travis CI and show a pretty widget in the Readme of github
>> * Create a organization named : ScalaVert and make admin Edgar and Me to
>> stop doing PR each others.
>>
>> Link: https://github.com/**ScalaVertx/mod-lang-scala<https://github.com/ScalaVertx/mod-lang-scala>
>>
>> Now we are going to migrate all vert-core tests to Scala in order to
>> define the scala API and exercising it with the tests.
>>
>> Thanks
>>
>> *Nicol�s Mel�ndez*
>> *blog.melendez.com.ar*
>> *
>> *
>> *"People Over Processes"*
>> *"Working Software Over Documentation"*
>> *"Responding to change over following a Plan"*
>> *
>> *
>>
>> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>>
>> On Thursday, June 6, 2013 at 5:20 AM, Galder Zamarre�o wrote:
>>
>>
>>
>> On Sunday, 26 May 2013 07:32:48 UTC+2, Edgar Chan wrote:
>>
>> i didn't know of Slim's work either but when i saw the examples is more or
>> less the interface i had in mind. i think many of his work could be merged
>> into Stuart effort, which even when many of the scala devs dont find it
>> quite idiomatic its a good idea and i vote to keep it that way, because its
>> easy to follow or mirror the official language mod and on top of that we
>> could add all of the scala goodies like Galder suggests.
>>
>> by the way i am not fan of any arbitrary operators either and if any of
>> them make it through, a named method counter part should be provided too.
>>
>>
>> ^ I think that's a good middle ground. Whenever we add any idiomatic call
>> (which makes sense...), we'll have a named method counter part. That gives
>> people the choice... but at the same time, we'd need to do it in a way that
>> it does not confuse people (iow, document it properly!).
>>
>>
>>
>> El s�bado, 25 de mayo de 2013 13:32:50 UTC-5, nicolas melendez escribi�:
>>
>> Sure, i sent a PR : https://github.com/vert-x/**mod-lang-scala/pull/3<https://github.com/vert-x/mod-lang-scala/pull/3>
>>
>> Now the project is compiling, also another commiter helped me @edgarchan<https://github.com/edgarchan> thanks
>> to him.
>>
>> After this pull request to kick off, every commit will be with his tests,
>> and will have all the others tests green to avoid regressions. Also the
>> examples will start to appear soon in my blog, and in the readme of the
>> project.
>>
>> Thanks.
>>
>> *Nicol�s Mel�ndez*
>> *blog.melendez.com.ar*
>> *
>> *
>> *"People Over Processes"*
>> *"Working Software Over Documentation"*
>> *"Responding to change over following a Plan"*
>> *
>> *
>>
>> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>>
>> On Friday, May 24, 2013 at 1:07 PM, Pid wrote:
>>
>> link: https://github.com/nfmelendez/**mod-lang-scala<https://github.com/nfmelendez/mod-lang-scala>
>> <https://github.com/**nfmelendez/mod-lang-scala<https://github.com/nfmelendez/mod-lang-scala>
>> While i was fixing this project, i had to look a lot inside the new
>> vertx 2.0 so no matter if we continue with @stuart or @slim , that
>> small experience can help.
>>
>> Since you started with @slim project and i started with @stuart, i
>> think we have to coordinate efforts in one single project to make it
>> successful.
>>
>>
>> ^ Sure, we can do that, but as I said earlier, I'd like to see some
>> examples of Stuart's code from a user POV... maybe you can show when
>> you've finished with the compilation errors? or @Stuart or others can show?
>>
>> Cheers,
>>
>>
>>
>>
>> *Nicol�s Mel�ndez*
>> /blog.melendez.com.ar <http://blog.melendez.com.ar>/
>> /
>> /
>> /"People Over Processes"/
>> /"Working Software Over Documentation"/
>> /"Responding to change over following a Plan"/
>> /
>> /
>>
>> Sent with Sparrow <http://www.sparrowmailapp.**com/?sig<http://www.sparrowmailapp.com/?sig>
>> On Friday, May 24, 2013 at 9:55 AM, Galder Zamarre�o wrote:
>>
>> Hi all,
>>
>> First of all, a little info about myself for those that don't know
>> me. I'm Galder Zamarre�o, founder and lead of Escalante, a Scala
>> application server based on JBoss AS7/Wildfly which integrates
>> Scala web technologies such as Lift and Play. I work for Red Hat
>> and I'm also working on the Infinispan data grid/cache project.
>>
>> On top of this work, I'm also looking into Scala + Vert.x
>> integration in order to see how we can compete with other similar
>> technologies out there, i.e. Spray.io (http://spray.io/). Spray is
>> primarily focused on the HTTP world and uses Scala actors behind
>> the scenes. I find the examples in the website to be a bit
>> deceiving, since an entire Ping/Pong-like example requires a bit
>> more code than what they explain on the site. Here's a full
>> working example (note: contains both server and client code):
>> https://github.com/galderz/**scalag/blob/master/src/main/**
>> scala/scalag/spray/**PingPongSpray.scala<https://github.com/galderz/scalag/blob/master/src/main/scala/scalag/spray/PingPongSpray.scala>
>> <https://github.com/galderz/**scalag/blob/master/src/main/**
>> scala/scalag/spray/**PingPongSpray.scala<https://github.com/galderz/scalag/blob/master/src/main/scala/scalag/spray/PingPongSpray.scala>
>> - This examples uses a nighly build of Spray, to be precise:
>> version 1.1-20130507 (versions are a bit confusing in Spray...)
>>
>> Anyway, without getting too hang up on competition, the idea of
>> Scala + Vert.x integration is how to bring all the goodness of
>> Vert.x to Scala developers in a way that seems natural to them.
>> Right now there's two Scala + Vert.x offerings out there:
>>
>> 1. https://github.com/vert-x/mod-**lang-scala<https://github.com/vert-x/mod-lang-scala>
>> <https://github.com/vert-x/**mod-lang-scala<https://github.com/vert-x/mod-lang-scala>>
>> - Initlally contributed
>> by Stuart Williams. Unfortunately, I've been unable to find
>> examples on how users can use it :|
>> 2. https://github.com/ouertani/**vert.x/tree/master/vertx-lang/**
>> vertx-lang-scala<https://github.com/ouertani/vert.x/tree/master/vertx-lang/vertx-lang-scala>
>> <https://github.com/ouertani/**vert.x/tree/master/vertx-lang/**
>> vertx-lang-scala<https://github.com/ouertani/vert.x/tree/master/vertx-lang/vertx-lang-scala>
>> - Contributed by Slim Ourtani. There are some examples on how to
>> use it
>> in http://blog.zenika.com/index.**php?post/2013/02/11/fun-with-**
>> scala-and-vert-x<http://blog.zenika.com/index.php?post/2013/02/11/fun-with-scala-and-vert-x>
>> <http://blog.zenika.com/index.**php?post/2013/02/11/fun-with-**
>> scala-and-vert-x<http://blog.zenika.com/index.php?post/2013/02/11/fun-with-scala-and-vert-x>
>> Slim's code is smaller, barely 10 classes or so, which seems a
>> better to start at, particularly since the examples look pretty
>> neat. Stuart's work might a be more complete though.... Slim's
>> effort could be tweaked for sure, and I have certain ideas that
>> I'd like to share with the Vert.x community, but before doing
>> that, I'd like to get views of both Stuart and Slim on their
>> respective efforts to decide how to procede next.
>>
>> Right now, my suggestion would be to start with Slim's work and
>> then add stuff on top from Stuart's work, if it makes sense to do so.
>>
>> Based on that, I'm currently trying to convert Slim's code to
>> Vert.x 2.0 and then, add those examples
>> to https://github.com/vert-x/**vertx-examples/tree/master/**src/main<https://github.com/vert-x/vertx-examples/tree/master/src/main>
>> <https://github.com/vert-x/**vertx-examples/tree/master/**src/main<https://github.com/vert-x/vertx-examples/tree/master/src/main>>
>> so
>> that users can play around with them and give us their feedback.
>> This is crucial to try to achieve the best end result. Until we
>> have an in-memory Scala compiler in place (it's quite doable,
>> IntelliJ Scala uses SBT for that...), I'll be adding SBT build
>> files to generate compiled classes and then see if we can run them
>> from SBT too.
>>
>> @Slim, @Stuart, and any other Scala fans, let us know what you
>> think :)
>>
>>
>> The usual expectation is that a language implementation will closely
>> follow the vert.x API, but use idiomatic syntax and methods where it
>> offers a language appropriate benefit.
>>
>> I am not a Scala expert, so if mod-lang-scala could be improved, please
>> send PRs.
>>
>>
>> p
>>
>>
>>
>> Cheers,
>> Galder
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "vert.x" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to vertx+un...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>> <https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "vert.x" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to vertx+un...@googlegroups.com.
>> For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>> .
>>
>>
>>
>> --
>>
>> [key:62590808]
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "vert.x" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to vertx+un...@googlegroups.com.
>> For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>> .
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "vert.x" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to vertx+un...@googlegroups.com.
>> For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>> .
>>
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "vert.x" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to vertx+un...@**googlegroups.com.
>> For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>> .
>>
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "vert.x" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to vertx+un...@googlegroups.com.
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>>
>> --

Joern Bernhardt

unread,
Jun 16, 2013, 8:30:33 AM6/16/13
to ve...@googlegroups.com
On Sunday, June 16, 2013 12:39:23 PM UTC+2, Tim Fox wrote:
Have you guys heard? Apparently there's this new technology called
"instant messaging", you should try it some-time! ;)


Yeah guys, log into Freenode IRC #vertx and discuss there. Would be nice for me to be able to read what you're up to and maybe help / discuss, too, if I find some time :)

 
On 15/06/13 20:27, Ranie Jade Ramiso wrote:
> Got it, thanks!
>
> *________________________________________________________________*
> *
> *
> *Ranie Jade Ramiso <raniejaderamiso.com>*
> *Software Engineer | Opensource Enthusiast | Professional Slacker *
> *Twitter <https://twitter.com/raniejade> |
> Facebook<http://www.facebook.com/72878331c221485527705ba87e511306>|
> Github <https://github.com/raniejade>*
> *___________________________________________________________________________
> *
>
>
> On Sun, Jun 16, 2013 at 3:25 AM, Nicolas Melendez <nfmel...@gmail.com>wrote:
>
>>   Ready, i sent to you.
>>
>> *Nicol�s Mel�ndez*
>> *Software Engineer*
>>
>> Twitter: @nfmelendez
>> Blog: http://blog.melendez.com.ar/
>> Github: https://github.com/nfmelendez
>> Linkedin: http://ar.linkedin.com/in/nicolasmelendez
>> *
>> *
>>
>>
>> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>>
>> On Saturday, June 15, 2013 at 3:41 PM, Ranie Jade Ramiso wrote:
>>
>> Okay, will do. Thanks!
>>
>> *________________________________________________________________*
>> *
>> *
>> *Ranie Jade Ramiso <raniejaderamiso.com>*
>> *Software Engineer | Opensource Enthusiast | Professional Slacker *
>> *Twitter <https://twitter.com/raniejade> | Facebook<http://www.facebook.com/72878331c221485527705ba87e511306>|
>> Github <https://github.com/raniejade>*
>> *
>> ___________________________________________________________________________
>> *
>>
>>
>> On Sun, Jun 16, 2013 at 2:36 AM, Nicolas Melendez <nfmel...@gmail.com>wrote:
>>
>> Ok, wait me 30 min that a make you a very detailed email about this.
>>
>> *Nicol�s Mel�ndez*
>> *Nicol�s Mel�ndez*
>> *Software Engineer*
>>
>> Twitter: @nfmelendez
>> Blog: http://blog.melendez.com.ar/
>> Github: https://github.com/nfmelendez
>> Linkedin: http://ar.linkedin.com/in/nicolasmelendez
>> *
>> *
>>
>>
>> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>>
>> On Saturday, June 15, 2013 at 2:55 PM, Ranie Jade Ramiso wrote:
>>
>> Thanks! Just forked the https://github.com/ScalaVertx/mod-lang-scala,
>> I'll see what I can do.
>>
>> *________________________________________________________________*
>> *
>> *
>> *Ranie Jade Ramiso <raniejaderamiso.com>*
>> *Software Engineer | Opensource Enthusiast | Professional Slacker *
>> *Twitter <https://twitter.com/raniejade> | Facebook<http://www.facebook.com/72878331c221485527705ba87e511306>|
>> Github <https://github.com/raniejade>*
>> *
>> ___________________________________________________________________________
>> *
>>
>>
>> On Sun, Jun 16, 2013 at 1:43 AM, Nicolas Melendez <nfmel...@gmail.com>wrote:
>>
>>   Hey Ranie, you are very welcome to help us!
>>
>> *Nicol�s Mel�ndez*
>> *Nicol�s Mel�ndez*
>> *Nicol�s Mel�ndez*
>> *blog.melendez.com.ar*
>> *
>> *
>> *"People Over Processes"*
>> *"Working Software Over Documentation"*
>> *"Responding to change over following a Plan"*
>> *
>> *
>>
>> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>>
>> On Thursday, June 6, 2013 at 5:20 AM, Galder Zamarre�o wrote:
>>
>>
>>
>> On Sunday, 26 May 2013 07:32:48 UTC+2, Edgar Chan wrote:
>>
>> i didn't know of Slim's work either but when i saw the examples is more or
>> less the interface i had in mind. i think many of his work could be merged
>> into Stuart effort, which even when many of the scala devs dont find it
>> quite idiomatic its a good idea and i vote to keep it that way, because its
>> easy to follow or mirror the official language mod and on top of that we
>> could add all of the scala goodies like Galder suggests.
>>
>> by the way i am not fan of any arbitrary operators either and if any of
>> them make it through,  a named method counter part should be provided too.
>>
>>
>> ^ I think that's a good middle ground. Whenever we add any idiomatic call
>> (which makes sense...), we'll have a named method counter part. That gives
>> people the choice... but at the same time, we'd need to do it in a way that
>> it does not confuse people (iow, document it properly!).
>>
>>
>>
>> El s�bado, 25 de mayo de 2013 13:32:50 UTC-5, nicolas melendez escribi�:
>>
>>   Sure, i sent a PR : https://github.com/vert-x/**mod-lang-scala/pull/3<https://github.com/vert-x/mod-lang-scala/pull/3>
>>
>> Now the project is compiling, also another commiter helped me @edgarchan<https://github.com/edgarchan> thanks
>> to him.
>>
>> After this pull request to kick off, every commit will be with his tests,
>> and will have all the others tests green to avoid regressions. Also the
>> examples will start to appear soon in my blog, and in the readme of the
>> project.
>>
>> Thanks.
>>
>> *Nicol�s Mel�ndez*
>> *Nicol�s Mel�ndez*
>> /blog.melendez.com.ar <http://blog.melendez.com.ar>/
>>   /
>> /
>> /"People Over Processes"/
>> /"Working Software Over Documentation"/
>> /"Responding to change over following a Plan"/
>> /
>> /
>>
>> Sent with Sparrow <http://www.sparrowmailapp.**com/?sig<http://www.sparrowmailapp.com/?sig>
>> On Friday, May 24, 2013 at 9:55 AM, Galder Zamarre�o wrote:
>>
>> Hi all,
>>
>> First of all, a little info about myself for those that don't know
>> me. I'm Galder Zamarre�o, founder and lead of Escalante, a Scala

Nicolas Melendez

unread,
Jun 16, 2013, 12:13:48 PM6/16/13
to ve...@googlegroups.com
Hey sorry, yeah was too chat the mails, next time we move de discussion to IRC.

Nicolás Meléndez
Software Engineer

Sent with Sparrow

On Sunday, June 16, 2013 at 9:30 AM, Joern Bernhardt wrote:

On Sunday, June 16, 2013 12:39:23 PM UTC+2, Tim Fox wrote:
Have you guys heard? Apparently there's this new technology called
"instant messaging", you should try it some-time! ;)


Yeah guys, log into Freenode IRC #vertx and discuss there. Would be nice for me to be able to read what you're up to and maybe help / discuss, too, if I find some time :)

 
On 15/06/13 20:27, Ranie Jade Ramiso wrote:
> Got it, thanks!
>
> *________________________________________________________________*
> *
> *
> *Ranie Jade Ramiso <raniejaderamiso.com>*
> *Software Engineer | Opensource Enthusiast | Professional Slacker *
> *Twitter <https://twitter.com/raniejade> |
> Facebook<http://www.facebook.com/72878331c221485527705ba87e511306>|
> Github <https://github.com/raniejade>*
> *___________________________________________________________________________
> *
>
>
> On Sun, Jun 16, 2013 at 3:25 AM, Nicolas Melendez <nfmel...@gmail.com>wrote:
>
>>   Ready, i sent to you.
>>
>> *Nicol�s Mel�ndez*
>> *Software Engineer*
>>
>> Twitter: @nfmelendez
>> Blog: http://blog.melendez.com.ar/
>> Github: https://github.com/nfmelendez
>> Linkedin: http://ar.linkedin.com/in/nicolasmelendez
>> *
>> *
>>
>>
>> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>>
>> On Saturday, June 15, 2013 at 3:41 PM, Ranie Jade Ramiso wrote:
>>
>> Okay, will do. Thanks!
>>
>> *________________________________________________________________*
>> *
>> *
>> *Ranie Jade Ramiso <raniejaderamiso.com>*
>> *Software Engineer | Opensource Enthusiast | Professional Slacker *
>> *Twitter <https://twitter.com/raniejade> | Facebook<http://www.facebook.com/72878331c221485527705ba87e511306>|
>> Github <https://github.com/raniejade>*
>> *
>> ___________________________________________________________________________
>> *
>>
>>
>> On Sun, Jun 16, 2013 at 2:36 AM, Nicolas Melendez <nfmel...@gmail.com>wrote:
>>
>> Ok, wait me 30 min that a make you a very detailed email about this.
>>
>> *Nicol�s Mel�ndez*
>> *Nicol�s Mel�ndez*
>> *Software Engineer*
>>
>> Twitter: @nfmelendez
>> Blog: http://blog.melendez.com.ar/
>> Github: https://github.com/nfmelendez
>> Linkedin: http://ar.linkedin.com/in/nicolasmelendez
>> *
>> *
>>
>>
>> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>>
>> On Saturday, June 15, 2013 at 2:55 PM, Ranie Jade Ramiso wrote:
>>
>> Thanks! Just forked the https://github.com/ScalaVertx/mod-lang-scala,
>> I'll see what I can do.
>>
>> *________________________________________________________________*
>> *
>> *
>> *Ranie Jade Ramiso <raniejaderamiso.com>*
>> *Software Engineer | Opensource Enthusiast | Professional Slacker *
>> *Twitter <https://twitter.com/raniejade> | Facebook<http://www.facebook.com/72878331c221485527705ba87e511306>|
>> Github <https://github.com/raniejade>*
>> *
>> ___________________________________________________________________________
>> *
>>
>>
>> On Sun, Jun 16, 2013 at 1:43 AM, Nicolas Melendez <nfmel...@gmail.com>wrote:
>>
>>   Hey Ranie, you are very welcome to help us!
>>
>> *Nicol�s Mel�ndez*
>> *Nicol�s Mel�ndez*
>> *Nicol�s Mel�ndez*
>> *blog.melendez.com.ar*
>> *
>> *
>> *"People Over Processes"*
>> *"Working Software Over Documentation"*
>> *"Responding to change over following a Plan"*
>> *
>> *
>>
>> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>>
>> On Thursday, June 6, 2013 at 5:20 AM, Galder Zamarre�o wrote:
>>
>>
>>
>> On Sunday, 26 May 2013 07:32:48 UTC+2, Edgar Chan wrote:
>>
>> i didn't know of Slim's work either but when i saw the examples is more or
>> less the interface i had in mind. i think many of his work could be merged
>> into Stuart effort, which even when many of the scala devs dont find it
>> quite idiomatic its a good idea and i vote to keep it that way, because its
>> easy to follow or mirror the official language mod and on top of that we
>> could add all of the scala goodies like Galder suggests.
>>
>> by the way i am not fan of any arbitrary operators either and if any of
>> them make it through,  a named method counter part should be provided too.
>>
>>
>> ^ I think that's a good middle ground. Whenever we add any idiomatic call
>> (which makes sense...), we'll have a named method counter part. That gives
>> people the choice... but at the same time, we'd need to do it in a way that
>> it does not confuse people (iow, document it properly!).
>>
>>
>>
>> El s�bado, 25 de mayo de 2013 13:32:50 UTC-5, nicolas melendez escribi�:
>>
>>   Sure, i sent a PR : https://github.com/vert-x/**mod-lang-scala/pull/3<https://github.com/vert-x/mod-lang-scala/pull/3>
>>
>> Now the project is compiling, also another commiter helped me @edgarchan<https://github.com/edgarchan> thanks
>> to him.
>>
>> After this pull request to kick off, every commit will be with his tests,
>> and will have all the others tests green to avoid regressions. Also the
>> examples will start to appear soon in my blog, and in the readme of the
>> project.
>>
>> Thanks.
>>
>> *Nicol�s Mel�ndez*
>> *Nicol�s Mel�ndez*
>> /blog.melendez.com.ar <http://blog.melendez.com.ar>/
>>   /
>> /
>> /"People Over Processes"/
>> /"Working Software Over Documentation"/
>> /"Responding to change over following a Plan"/
>> /
>> /
>>
>> Sent with Sparrow <http://www.sparrowmailapp.**com/?sig<http://www.sparrowmailapp.com/?sig>
>> On Friday, May 24, 2013 at 9:55 AM, Galder Zamarre�o wrote:
>>
>> Hi all,
>>
>> First of all, a little info about myself for those that don't know
>> me. I'm Galder Zamarre�o, founder and lead of Escalante, a Scala

Ranie Jade Ramiso

unread,
Jun 18, 2013, 4:22:37 AM6/18/13
to ve...@googlegroups.com
Do you think we should move to more scala oriented test framework (like specs2, scalatest)? I find it tedious to express what the test does via the method name.

________________________________________________________________

Ranie Jade Ramiso <raniejaderamiso.com>
Software Engineer | Opensource Enthusiast | Professional Slacker 
___________________________________________________________________________

Galder Zamarreño

unread,
Jun 19, 2013, 6:22:38 AM6/19/13
to ve...@googlegroups.com
We've barely started adding tests now, so this is a good time to think about this.

Ranie, why don't you create a separate topic about the test framework to use for the Scala tests?

Integration with tooling is important as well, so if you can prototype different frameworks and provide an analysis on the pluses/minuses of each framework, that'd be awesome :). This way we can make a decision with all the information available to us.

Cheers,

Tim Fox

unread,
Jun 19, 2013, 7:13:35 AM6/19/13
to ve...@googlegroups.com
I doubt you will be able to use existing test frameworks, as the Vert.x
tests need to be run in-container.

That's why we provide the testtools framework which let's you write
tests as standard Junit tests and does the magic to actually run them in
the container too.

Also bear in mind that most test frameworks don't support async very
well, test tools does.

On 19/06/13 11:22, Galder Zamarreño wrote:
> We've barely started adding tests now, so this is a good time to think
> about this.
>
> Ranie, why don't you create a separate topic about the test framework to
> use for the Scala tests?
>
> Integration with tooling is important as well, so if you can prototype
> different frameworks and provide an analysis on the pluses/minuses of each
> framework, that'd be awesome :). This way we can make a decision with all
> the information available to us.
>
> Cheers,
>
> On Tuesday, 18 June 2013 09:22:37 UTC+1, Ranie Jade Ramiso wrote:
>> Do you think we should move to more scala oriented test framework (like
>> specs2, scalatest)? I find it tedious to express what the test does via the
>> method name.
>>
>> *________________________________________________________________*
>> *
>> *
>> *Ranie Jade Ramiso <raniejaderamiso.com>*
>> *Software Engineer | Opensource Enthusiast | Professional Slacker *
>> *Twitter <https://twitter.com/raniejade> | Facebook<http://www.facebook.com/72878331c221485527705ba87e511306>|
>> Github <https://github.com/raniejade>*
>> *
>> ___________________________________________________________________________
>> *
>>
>>
>> On Mon, Jun 17, 2013 at 12:13 AM, Nicolas Melendez <nfmel...@gmail.com<javascript:>
>>> wrote:
>>> Hey sorry, yeah was too chat the mails, next time we move de discussion
>>> to IRC.
>>>
>>> *Nicolás Meléndez*
>>> *Software Engineer*
>>>
>>> Twitter: @nfmelendez
>>> Blog: http://blog.melendez.com.ar/
>>> Github: https://github.com/nfmelendez
>>> Linkedin: http://ar.linkedin.com/in/nicolasmelendez
>>> *
>>> *
>>>
>>>
>>> Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
>>>
>>> On Sunday, June 16, 2013 at 9:30 AM, Joern Bernhardt wrote:
>>>
>>> On Sunday, June 16, 2013 12:39:23 PM UTC+2, Tim Fox wrote:
>>>
>>> Have you guys heard? Apparently there's this new technology called
>>> "instant messaging", you should try it some-time! ;)
>>>
>>>
>>> Yeah guys, log into Freenode IRC #vertx and discuss there. Would be nice
>>> for me to be able to read what you're up to and maybe help / discuss, too,
>>> if I find some time :)
>>>
>>>
>>>
>>> On 15/06/13 20:27, Ranie Jade Ramiso wrote:
>>>> Got it, thanks!
>>>>
>>>> *_____________________________**______________________________**_____*
>>>> *
>>>> *
>>>> *Ranie Jade Ramiso <raniejaderamiso.com>*
>>>> *Software Engineer | Opensource Enthusiast | Professional Slacker *
>>>> *Twitter <https://twitter.com/raniejade**> |
>>>> Facebook<http://www.facebook.**com/**72878331c221485527705ba87e5113**06<http://www.facebook.com/72878331c221485527705ba87e511306>>|
>>>> Github <https://github.com/raniejade>***
>>>> *_____________________________**______________________________**________________
>>>> *
>>>>
>>>>
>>>> On Sun, Jun 16, 2013 at 3:25 AM, Nicolas Melendez <nfmel...@gmail.com>wrote:
>>>>> Ready, i sent to you.
>>>>>
>>>>> *Nicol�s Mel�ndez*
>>>>> *Software Engineer*
>>>>>
>>>>> Twitter: @nfmelendez
>>>>> Blog: http://blog.melendez.com.ar/
>>>>> Github: https://github.com/nfmelendez
>>>>> Linkedin: http://ar.linkedin.com/in/**nicolasmelendez<http://ar.linkedin.com/in/nicolasmelendez>
>>>>> *
>>>>> *
>>>>>
>>>>>
>>>>> Sent with Sparrow <http://www.sparrowmailapp.**com/?sig<http://www.sparrowmailapp.com/?sig>>
>>>>> On Saturday, June 15, 2013 at 3:41 PM, Ranie Jade Ramiso wrote:
>>>>>
>>>>> Okay, will do. Thanks!
>>>>>
>>>>> *_____________________________**______________________________**_____*
>>>>> *
>>>>> *
>>>>> *Ranie Jade Ramiso <raniejaderamiso.com>*
>>>>> *Software Engineer | Opensource Enthusiast | Professional Slacker *
>>>>> *Twitter <https://twitter.com/raniejade**> | Facebook<
>>> http://www.facebook.**com/**72878331c221485527705ba87e5113**06<http://www.facebook.com/72878331c221485527705ba87e511306>>|
>>>
>>>>> Github <https://github.com/raniejade>***
>>>>> *
>>>>> ______________________________**______________________________**_______________
>>>>> *
>>>>>
>>>>>
>>>>> On Sun, Jun 16, 2013 at 2:36 AM, Nicolas Melendez <nfmel...@gmail.com>wrote:
>>>>> Ok, wait me 30 min that a make you a very detailed email about this.
>>>>>
>>>>> *Nicol�s Mel�ndez*
>>>>> *Software Engineer*
>>>>>
>>>>> Twitter: @nfmelendez
>>>>> Blog: http://blog.melendez.com.ar/
>>>>> Github: https://github.com/nfmelendez
>>>>> Linkedin: http://ar.linkedin.com/in/**nicolasmelendez<http://ar.linkedin.com/in/nicolasmelendez>
>>>>> *
>>>>> *
>>>>>
>>>>>
>>>>> Sent with Sparrow <http://www.sparrowmailapp.**com/?sig<http://www.sparrowmailapp.com/?sig>>
>>>>> On Saturday, June 15, 2013 at 3:21 PM, Ranie Jade Ramiso wrote:
>>>>>
>>>>> Running the build now. Sure, that would be great!
>>>>>
>>>>> *_____________________________**______________________________**_____*
>>>>> *
>>>>> *
>>>>> *Ranie Jade Ramiso <raniejaderamiso.com>*
>>>>> *Software Engineer | Opensource Enthusiast | Professional Slacker *
>>>>> *Twitter <https://twitter.com/raniejade**> | Facebook<
>>> http://www.facebook.**com/**72878331c221485527705ba87e5113**06<http://www.facebook.com/72878331c221485527705ba87e511306>>|
>>>
>>>>> Github <https://github.com/raniejade>***
>>>>> *
>>>>> ______________________________**______________________________**_______________
>>>>> *
>>>>>
>>>>>
>>>>> On Sun, Jun 16, 2013 at 2:13 AM, Nicolas Melendez <nfmel...@gmail.com>wrote:
>>>>> Great,
>>>>> To start just do: *./gradlew test* and check that the project builds
>>> and
>>>>> run all the test, or CI says we are green, so same should be for you.
>>>>>
>>>>> If you use Idea IDEA just do *./gradlew idea * or also you can use any
>>>>> editor you want, like Sublime.
>>>>>
>>>>> Then i have a very small task for you if you want to collaborate, not
>>> more
>>>>> than 20~50 lines of code between implementation + test.
>>>>>
>>>>> Want to give it a shoot?
>>>>>
>>>>> *Nicol�s Mel�ndez*
>>>>> *Software Engineer*
>>>>>
>>>>> Twitter: @nfmelendez
>>>>> Blog: http://blog.melendez.com.ar/
>>>>> Github: https://github.com/nfmelendez
>>>>> Linkedin: http://ar.linkedin.com/in/**nicolasmelendez<http://ar.linkedin.com/in/nicolasmelendez>
>>>>> *
>>>>> *
>>>>>
>>>>>
>>>>> Sent with Sparrow <http://www.sparrowmailapp.**com/?sig<http://www.sparrowmailapp.com/?sig>>
>>>>> On Saturday, June 15, 2013 at 2:55 PM, Ranie Jade Ramiso wrote:
>>>>>
>>>>> Thanks! Just forked the https://github.com/ScalaVertx/**mod-lang-scala<https://github.com/ScalaVertx/mod-lang-scala>,
>>>>> I'll see what I can do.
>>>>>
>>>>> *_____________________________**______________________________**_____*
>>>>> *
>>>>> *
>>>>> *Ranie Jade Ramiso <raniejaderamiso.com>*
>>>>> *Software Engineer | Opensource Enthusiast | Professional Slacker *
>>>>> *Twitter <https://twitter.com/raniejade**> | Facebook<
>>> http://www.facebook.**com/**72878331c221485527705ba87e5113**06<http://www.facebook.com/72878331c221485527705ba87e511306>>|
>>>
>>>>> Github <https://github.com/raniejade>***
>>>>> *
>>>>> ______________________________**______________________________**_______________
>>>>> *
>>>>>
>>>>>
>>>>> On Sun, Jun 16, 2013 at 1:43 AM, Nicolas Melendez <nfmel...@gmail.com>wrote:
>>>>> Hey Ranie, you are very welcome to help us!
>>>>>
>>>>> *Nicol�s Mel�ndez*
>>>>> *Software Engineer*
>>>>>
>>>>> Twitter: @nfmelendez
>>>>> Blog: http://blog.melendez.com.ar/
>>>>> Github: https://github.com/nfmelendez
>>>>> Linkedin: http://ar.linkedin.com/in/**nicolasmelendez<http://ar.linkedin.com/in/nicolasmelendez>
>>>>> *
>>>>> *
>>>>>
>>>>>
>>>>> Sent with Sparrow <http://www.sparrowmailapp.**com/?sig<http://www.sparrowmailapp.com/?sig>>
>>>>> Sent with Sparrow <http://www.sparrowmailapp.**com/?sig<http://www.sparrowmailapp.com/?sig>>
>>>>> Link: https://github.com/****ScalaVertx/mod-lang-scala<https://github.com/**ScalaVertx/mod-lang-scala>
>>> <http**s://github.com/ScalaVertx/mod-**lang-scala<https://github.com/ScalaVertx/mod-lang-scala>>
>>>
>>>>> Now we are going to migrate all vert-core tests to Scala in order to
>>>>> define the scala API and exercising it with the tests.
>>>>>
>>>>> Thanks
>>>>>
>>>>> *Nicol�s Mel�ndez*
>>>>> *blog.melendez.com.ar*
>>>>> *
>>>>> *
>>>>> *"People Over Processes"*
>>>>> *"Working Software Over Documentation"*
>>>>> *"Responding to change over following a Plan"*
>>>>> *
>>>>> *
>>>>>
>>>>> Sent with Sparrow <http://www.sparrowmailapp.**com/?sig<http://www.sparrowmailapp.com/?sig>>
>>>>> Sure, i sent a PR : https://github.com/vert-x/****
>>> mod-lang-scala/pull/3 <https://github.com/vert-x/**mod-lang-scala/pull/3>
>>> <https://**github.com/vert-x/mod-lang-**scala/pull/3<https://github.com/vert-x/mod-lang-scala/pull/3>>
>>>
>>>>> Now the project is compiling, also another commiter helped me
>>> @edgarchan<https://github.com/**edgarchan <https://github.com/edgarchan>>
>>> thanks
>>>>> to him.
>>>>>
>>>>> After this pull request to kick off, every commit will be with his
>>> tests,
>>>>> and will have all the others tests green to avoid regressions. Also
>>> the
>>>>> examples will start to appear soon in my blog, and in the readme of
>>> the
>>>>> project.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> *Nicol�s Mel�ndez*
>>>>> *blog.melendez.com.ar*
>>>>> *
>>>>> *
>>>>> *"People Over Processes"*
>>>>> *"Working Software Over Documentation"*
>>>>> *"Responding to change over following a Plan"*
>>>>> *
>>>>> *
>>>>>
>>>>> link: https://github.com/nfmelendez/****mod-lang-scala<https://github.com/nfmelendez/**mod-lang-scala>
>>> <https://**github.com/nfmelendez/mod-**lang-scala<https://github.com/nfmelendez/mod-lang-scala>>
>>>
>>>>> <https://github.com/****nfmelendez/mod-lang-scala<https://github.com/**nfmelendez/mod-lang-scala>
>>> <http**s://github.com/nfmelendez/mod-**lang-scala<https://github.com/nfmelendez/mod-lang-scala>>
>>>
>>>>> While i was fixing this project, i had to look a lot inside the new
>>>>> vertx 2.0 so no matter if we continue with @stuart or @slim , that
>>>>> small experience can help.
>>>>>
>>>>> Since you started with @slim project and i started with @stuart, i
>>>>> think we have to coordinate efforts in one single project to make it
>>>>> successful.
>>>>>
>>>>>
>>>>> ^ Sure, we can do that, but as I said earlier, I'd like to see some
>>>>> examples of Stuart's code from a user POV... maybe you can show when
>>>>> you've finished with the compilation errors? or @Stuart or others can
>>> show?
>>>>> Cheers,
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *Nicol�s Mel�ndez*
>>>>> /blog.melendez.com.ar <http://blog.melendez.com.ar>/
>>>>> /
>>>>> /
>>>>> /"People Over Processes"/
>>>>> /"Working Software Over Documentation"/
>>>>> /"Responding to change over following a Plan"/
>>>>> /
>>>>> /
>>>>>
>>>>> Sent with Sparrow <http://www.sparrowmailapp.****com/?sig<http://www.*
>>> *sparrowmailapp.com/?sig <http://www.sparrowmailapp.com/?sig>>
>>>>> On Friday, May 24, 2013 at 9:55 AM, Galder Zamarre�o wrote:
>>>>>
>>>>> Hi all,
>>>>>
>>>>> First of all, a little info about myself for those that don't know
>>>>> me. I'm Galder Zamarre�o, founder and lead of Escalante, a Scala
>>>>> application server based on JBoss AS7/Wildfly which integrates
>>>>> Scala web technologies such as Lift and Play. I work for Red Hat
>>>>> and I'm also working on the Infinispan data grid/cache project.
>>>>>
>>>>> On top of this work, I'm also looking into Scala + Vert.x
>>>>> integration in order to see how we can compete with other similar
>>>>> technologies out there, i.e. Spray.io (http://spray.io/). Spray is
>>>>> primarily focused on the HTTP world and uses Scala actors behind
>>>>> the scenes. I find the examples in the website to be a bit
>>>>> deceiving, since an entire Ping/Pong-like example requires a bit
>>>>> more code than what they explain on the site. Here's a full
>>>>> working example (note: contains both server and client code):
>>>>> https://github.com/galderz/****scalag/blob/master/src/main/**<https://github.com/galderz/**scalag/blob/master/src/main/**>
>>>>> scala/scalag/spray/****PingPongSpray.scala<https://**
>>> github.com/galderz/scalag/**blob/master/src/main/scala/**
>>> scalag/spray/PingPongSpray.**scala<https://github.com/galderz/scalag/blob/master/src/main/scala/scalag/spray/PingPongSpray.scala>>
>>>
>>>>> <https://github.com/galderz/****scalag/blob/master/src/main/**<https://github.com/galderz/**scalag/blob/master/src/main/**>
>>>>> scala/scalag/spray/****PingPongSpray.scala<https://**
>>> github.com/galderz/scalag/**blob/master/src/main/scala/**
>>> scalag/spray/PingPongSpray.**scala<https://github.com/galderz/scalag/blob/master/src/main/scala/scalag/spray/PingPongSpray.scala>>
>>>
>>>>> - This examples uses a nighly build of Spray, to be precise:
>>>>> version 1.1-20130507 (versions are a bit confusing in Spray...)
>>>>>
>>>>> Anyway, without getting too hang up on competition, the idea of
>>>>> Scala + Vert.x integration is how to bring all the goodness of
>>>>> Vert.x to Scala developers in a way that seems natural to them.
>>>>> Right now there's two Scala + Vert.x offerings out there:
>>>>>
>>>>> 1. https://github.com/vert-x/mod-****lang-scala<https://github.com/vert-x/mod-**lang-scala>
>>> <https://github.**com/vert-x/mod-lang-scala<https://github.com/vert-x/mod-lang-scala>>
>>>
>>>>> <https://github.com/vert-x/****mod-lang-scala<https://github.com/vert-x/**mod-lang-scala>
>>> <https://github.**com/vert-x/mod-lang-scala<https://github.com/vert-x/mod-lang-scala>>>
>>>
>>>>> - Initlally contributed
>>>>> by Stuart Williams. Unfortunately, I've been unable to find
>>>>> examples on how users can use it :|
>>>>> 2. https://github.com/ouertani/****vert.x/tree/master/vertx-lang/****<https://github.com/ouertani/**vert.x/tree/master/vertx-lang/**>
>>>>> vertx-lang-scala<https://**github.com/ouertani/vert.x/**
>>> tree/master/vertx-lang/vertx-**lang-scala<https://github.com/ouertani/vert.x/tree/master/vertx-lang/vertx-lang-scala>>
>>>
>>>>> <https://github.com/ouertani/****vert.x/tree/master/vertx-**lang/**<https://github.com/ouertani/**vert.x/tree/master/vertx-lang/**>
>>>>> vertx-lang-scala<https://**github.com/ouertani/vert.x/**
>>> tree/master/vertx-lang/vertx-**lang-scala<https://github.com/ouertani/vert.x/tree/master/vertx-lang/vertx-lang-scala>>
>>>
>>>>> - Contributed by Slim Ourtani. There are some examples on how to
>>>>> use it
>>>>> in http://blog.zenika.com/index.****php?post/2013/02/11/fun-with-****<http://blog.zenika.com/index.**php?post/2013/02/11/fun-with-**>
>>>>> scala-and-vert-x<http://blog.**zenika.com/index.php?post/**
>>> 2013/02/11/fun-with-scala-and-**vert-x<http://blog.zenika.com/index.php?post/2013/02/11/fun-with-scala-and-vert-x>>
>>>
>>>>> <http://blog.zenika.com/index.****php?post/2013/02/11/fun-**with-**<http://blog.zenika.com/index.**php?post/2013/02/11/fun-with-**>
>>>>> scala-and-vert-x<http://blog.**zenika.com/index.php?post/**
>>> 2013/02/11/fun-with-scala-and-**vert-x<http://blog.zenika.com/index.php?post/2013/02/11/fun-with-scala-and-vert-x>>
>>>
>>>>> Slim's code is smaller, barely 10 classes or so, which seems a
>>>>> better to start at, particularly since the examples look pretty
>>>>> neat. Stuart's work might a be more complete though.... Slim's
>>>>> effort could be tweaked for sure, and I have certain ideas that
>>>>> I'd like to share with the Vert.x community, but before doing
>>>>> that, I'd like to get views of both Stuart and Slim on their
>>>>> respective efforts to decide how to procede next.
>>>>>
>>>>> Right now, my suggestion would be to start with Slim's work and
>>>>> then add stuff on top from Stuart's work, if it makes sense to do so.
>>>>>
>>>>> Based on that, I'm currently trying to convert Slim's code to
>>>>> Vert.x 2.0 and then, add those examples
>>>>> to https://github.com/vert-x/****vertx-examples/tree/master/****
>>> src/main<https://github.com/vert-x/**vertx-examples/tree/master/**src/main>
>>> <https://github.com/**vert-x/vertx-examples/tree/**master/src/main<https://github.com/vert-x/vertx-examples/tree/master/src/main>>
>>>
>>>>> <https://github.com/vert-x/****vertx-examples/tree/master/****
>>> src/main<https://github.com/vert-x/**vertx-examples/tree/master/**src/main>
>>> <https://github.com/**vert-x/vertx-examples/tree/**master/src/main<https://github.com/vert-x/vertx-examples/tree/master/src/main>>>
>>>
>>>>> so
>>>>> that users can play around with them and give us their feedback.
>>>>> This is crucial to try to achieve the best end result. Until we
>>>>> have an in-memory Scala compiler in place (it's quite doable,
>>>>> IntelliJ Scala uses SBT for that...), I'll be adding SBT build
>>>>> files to generate compiled classes and then see if we can run them
>>>>> from SBT too.
>>>>>
>>>>> @Slim, @Stuart, and any other Scala fans, let us know what you
>>>>> think :)
>>>>>
>>>>>
>>>>> The usual expectation is that a language implementation will closely
>>>>> follow the vert.x API, but use idiomatic syntax and methods where it
>>>>> offers a language appropriate benefit.
>>>>>
>>>>> I am not a Scala expert, so if mod-lang-scala could be improved,
>>> please
>>>>> send PRs.
>>>>>
>>>>>
>>>>> p
>>>>>
>>>>>
>>>>>
>>>>> Cheers,
>>>>> Galder
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "vert.x" group.
>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>> send an email to vertx+un...@googlegroups.com <javascript:>.
>>>>> For more options, visit https://groups.google.com/****groups/opt_out<https://groups.google.com/**groups/opt_out>
>>> <https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>
>>>
>>>>> <https://groups.google.com/****groups/opt_out<https://groups.google.com/**groups/opt_out>
>>> <https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>
>>>
>>>>>> .
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "vert.x" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to vertx+un...@googlegroups.com.
>>>>> For more options, visit https://groups.google.com/****groups/opt_out<https://groups.google.com/**groups/opt_out>
>>> <https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>
>>>
>>>>> .
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> [key:62590808]
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>> Groups
>>>>> "vert.x" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an
>>>>> email to vertx+un...@googlegroups.com.
>>>>> For more options, visit https://groups.google.com/****groups/opt_out<https://groups.google.com/**groups/opt_out>
>>> <https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>
>>>
>>>>> .
>>>>>
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>> Groups
>>>>> "vert.x" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an
>>>>> email to vertx+un...@googlegroups.com.
>>>>> For more options, visit https://groups.google.com/****groups/opt_out<https://groups.google.com/**groups/opt_out>
>>> <https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>
>>>
>>>>> .
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>> Groups
>>>>> "vert.x" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an
>>>>> email to vertx+un...@**googlegroups.com**.
>>>>> For more options, visit https://groups.google.com/****groups/opt_out<https://groups.google.com/**groups/opt_out>
>>> <https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>
>>> email to vertx+un...@googlegroups.com <javascript:>.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "vert.x" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to vertx+un...@googlegroups.com <javascript:>.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>

Joern Bernhardt

unread,
Jun 19, 2013, 7:42:47 AM6/19/13
to ve...@googlegroups.com
You know that the Vert.x module registry is written in Scala against the Java API, right?

It is not too bad to just use the testtools framework, actually. Here is an example:

https://github.com/vert-x/vertx-module-registry/blob/master/src/test/scala/io/vertx/modreg/vertxmoduleregistry/integrationtests/ModuleRegistryTester1.scala

Would be cool if the Scala support would become available soon instead of having to wait for it another few months until every possible scala-test-framework is evaluated... ;)

HTH,
Joern

Ranie Jade Ramiso

unread,
Jun 19, 2013, 8:27:02 AM6/19/13
to ve...@googlegroups.com
For integration tests you really need the container, but not for the individual components.

________________________________________________________________

Ranie Jade Ramiso <raniejaderamiso.com>
Software Engineer | Opensource Enthusiast | Professional Slacker 
___________________________________________________________________________


For more options, visit https://groups.google.com/groups/opt_out.
 
 

Tim Fox

unread,
Jun 19, 2013, 8:30:11 AM6/19/13
to ve...@googlegroups.com
On 19/06/13 13:27, Ranie Jade Ramiso wrote:
> For integration tests you really need the container, but not for the
> individual components.

You mean unit tests? If so, that is correct.

However almost all the tests in the language test suite are integration
tests, not unit tests.
>>>>> *_____________________________**______________________________**_____*
>>>>> *
>>>>> *
>>>>> *Ranie Jade Ramiso <raniejaderamiso.com>*
>>>>> *Software Engineer | Opensource Enthusiast | Professional Slacker *
>>>>> *Twitter <https://twitter.com/raniejade**> | Facebook<
>>> http://www.facebook.**com/**72878331c221485527705ba87e5113**06<http://www.facebook.com/72878331c221485527705ba87e511306>>|
>>>
>>>>> Github <https://github.com/raniejade>***
>>>>> *
>>>>> ______________________________**______________________________**_______________
>>>>> *
>>>>>
>>>>>
>>>>> On Mon, Jun 17, 2013 at 12:13 AM, Nicolas Melendez <nfmel...@gmail.com
>>> <**javascript:>
>>>>>> wrote:
>>>>>> Hey sorry, yeah was too chat the mails, next time we move de
>>> discussion
>>>>>> to IRC.
>>>>>>
>>>>>> *Nicolás Meléndez*
>>>>>> *Software Engineer*
>>>>>>
>>>>>> Twitter: @nfmelendez
>>>>>> Blog: http://blog.melendez.com.ar/
>>>>>> Github: https://github.com/nfmelendez
>>>>>> On Sunday, June 16, 2013 at 9:30 AM, Joern Bernhardt wrote:
>>>>>>
>>>>>> On Sunday, June 16, 2013 12:39:23 PM UTC+2, Tim Fox wrote:
>>>>>>
>>>>>> Have you guys heard? Apparently there's this new technology called
>>>>>> "instant messaging", you should try it some-time! ;)
>>>>>>
>>>>>>
>>>>>> Yeah guys, log into Freenode IRC #vertx and discuss there. Would be
>>> nice
>>>>>> for me to be able to read what you're up to and maybe help / discuss,
>>> too,
>>>>>> if I find some time :)
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 15/06/13 20:27, Ranie Jade Ramiso wrote:
>>>>>>> Got it, thanks!
>>>>>>>
>>>>>>> *_____________________________****____________________________**__**_____*
>>>>>>> *
>>>>>>> *
>>>>>>> *Ranie Jade Ramiso <raniejaderamiso.com>*
>>>>>>> *Software Engineer | Opensource Enthusiast | Professional Slacker *
>>>>>>> *Twitter <https://twitter.com/**raniejade**<https://twitter.com/raniejade**>>
>>> |
>>>>>>> Facebook<http://www.facebook.****com/****
>>> 72878331c221485527705ba87e5113****06<http://www.facebook.com/**
>>> 72878331c221485527705ba87e5113**06<http://www.facebook.com/72878331c221485527705ba87e511306>>>|
>>>
>>>>>>> Github <https://github.com/raniejade>*****
>>>>>>> *_____________________________****____________________________**__**________________
>>>>>>> *
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Jun 16, 2013 at 3:25 AM, Nicolas Melendez <
>>> nfmel...@gmail.com>wrote:
>>>>>>>> Ready, i sent to you.
>>>>>>>>
>>>>>>>> *Nicol�s Mel�ndez*
>>>>>>>> *Software Engineer*
>>>>>>>>
>>>>>>>> Twitter: @nfmelendez
>>>>>>>> Blog: http://blog.melendez.com.ar/
>>>>>>>> Github: https://github.com/nfmelendez
>>>>>>>> Linkedin: http://ar.linkedin.com/in/****nicolasmelendez<http://ar.linkedin.com/in/**nicolasmelendez>
>>> <http://ar.**linkedin.com/in/**nicolasmelendez<http://ar.linkedin.com/in/nicolasmelendez>>
>>>
>>>>>>>> *
>>>>>>>> *
>>>>>>>>
>>>>>>>>
>>>>>>>> Sent with Sparrow <http://www.sparrowmailapp.****com/?sig<
>>> http://www.**sparrowmailapp.com/?sig <http://www.sparrowmailapp.com/?sig>>>
>>>
>>>>>>>> On Saturday, June 15, 2013 at 3:41 PM, Ranie Jade Ramiso wrote:
>>>>>>>>
>>>>>>>> Okay, will do. Thanks!
>>>>>>>>
>>>>>>>> *_____________________________****____________________________**__**_____*
>>>>>>>> *
>>>>>>>> *
>>>>>>>> *Ranie Jade Ramiso <raniejaderamiso.com>*
>>>>>>>> *Software Engineer | Opensource Enthusiast | Professional Slacker *
>>>>>>>> *Twitter <https://twitter.com/**raniejade**<https://twitter.com/raniejade**>>
>>> | Facebook<
>>>>>> http://www.facebook.**com/****72878331c221485527705ba87e5113****06<
>>> http://www.facebook.com/**72878331c221485527705ba87e5113**06<http://www.facebook.com/72878331c221485527705ba87e511306>>>|
>>>
>>>>>>>> Github <https://github.com/raniejade>*****
>>>>>>>> *
>>>>>>>> ______________________________****____________________________**__**_______________
>>>>>>>> *
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, Jun 16, 2013 at 2:36 AM, Nicolas Melendez <
>>> nfmel...@gmail.com>wrote:
>>>>>>>> Ok, wait me 30 min that a make you a very detailed email about
>>> this.
>>>>>>>> *Nicol�s Mel�ndez*
>>>>>>>> *Software Engineer*
>>>>>>>>
>>>>>>>> Twitter: @nfmelendez
>>>>>>>> Blog: http://blog.melendez.com.ar/
>>>>>>>> Github: https://github.com/nfmelendez
>>>>>>>> Linkedin: http://ar.linkedin.com/in/****nicolasmelendez<http://ar.linkedin.com/in/**nicolasmelendez>
>>> <http://ar.**linkedin.com/in/**nicolasmelendez<http://ar.linkedin.com/in/nicolasmelendez>>
>>>
>>>>>>>> *
>>>>>>>> *
>>>>>>>>
>>>>>>>>
>>>>>>>> Sent with Sparrow <http://www.sparrowmailapp.****com/?sig<
>>> http://www.**sparrowmailapp.com/?sig <http://www.sparrowmailapp.com/?sig>>>
>>>
>>>>>>>> On Saturday, June 15, 2013 at 3:21 PM, Ranie Jade Ramiso wrote:
>>>>>>>>
>>>>>>>> Running the build now. Sure, that would be great!
>>>>>>>>
>>>>>>>> *_____________________________****____________________________**__**_____*
>>>>>>>> *
>>>>>>>> *
>>>>>>>> *Ranie Jade Ramiso <raniejaderamiso.com>*
>>>>>>>> *Software Engineer | Opensource Enthusiast | Professional Slacker *
>>>>>>>> *Twitter <https://twitter.com/**raniejade**<https://twitter.com/raniejade**>>
>>> | Facebook<
>>>>>> http://www.facebook.**com/****72878331c221485527705ba87e5113****06<
>>> http://www.facebook.com/**72878331c221485527705ba87e5113**06<http://www.facebook.com/72878331c221485527705ba87e511306>>>|
>>>
>>>>>>>> Github <https://github.com/raniejade>*****
>>>>>>>> *
>>>>>>>> ______________________________****____________________________**__**_______________
>>>>>>>> *
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, Jun 16, 2013 at 2:13 AM, Nicolas Melendez <
>>> nfmel...@gmail.com>wrote:
>>>>>>>> Great,
>>>>>>>> To start just do: *./gradlew test* and check that the project
>>> builds
>>>>>> and
>>>>>>>> run all the test, or CI says we are green, so same should be for
>>> you.
>>>>>>>> If you use Idea IDEA just do *./gradlew idea * or also you can use
>>> any
>>>>>>>> editor you want, like Sublime.
>>>>>>>>
>>>>>>>> Then i have a very small task for you if you want to collaborate,
>>> not
>>>>>> more
>>>>>>>> than 20~50 lines of code between implementation + test.
>>>>>>>>
>>>>>>>> Want to give it a shoot?
>>>>>>>>
>>>>>>>> *Nicol�s Mel�ndez*
>>>>>>>> *Software Engineer*
>>>>>>>>
>>>>>>>> Twitter: @nfmelendez
>>>>>>>> Blog: http://blog.melendez.com.ar/
>>>>>>>> Github: https://github.com/nfmelendez
>>>>>>>> Linkedin: http://ar.linkedin.com/in/****nicolasmelendez<http://ar.linkedin.com/in/**nicolasmelendez>
>>> <http://ar.**linkedin.com/in/**nicolasmelendez<http://ar.linkedin.com/in/nicolasmelendez>>
>>>
>>>>>>>> *
>>>>>>>> *
>>>>>>>>
>>>>>>>>
>>>>>>>> Sent with Sparrow <http://www.sparrowmailapp.****com/?sig<
>>> http://www.**sparrowmailapp.com/?sig <http://www.sparrowmailapp.com/?sig>>>
>>>
>>>>>>>> On Saturday, June 15, 2013 at 2:55 PM, Ranie Jade Ramiso wrote:
>>>>>>>>
>>>>>>>> Thanks! Just forked the https://github.com/ScalaVertx/**
>>> **mod-lang-scala <https://github.com/ScalaVertx/**mod-lang-scala><
>>> https://**github.com/ScalaVertx/mod-**lang-scala<https://github.com/ScalaVertx/mod-lang-scala>>,
>>>
>>>>>>>> I'll see what I can do.
>>>>>>>>
>>>>>>>> *_____________________________****____________________________**__**_____*
>>>>>>>> *
>>>>>>>> *
>>>>>>>> *Ranie Jade Ramiso <raniejaderamiso.com>*
>>>>>>>> *Software Engineer | Opensource Enthusiast | Professional Slacker *
>>>>>>>> *Twitter <https://twitter.com/**raniejade**<https://twitter.com/raniejade**>>
>>> | Facebook<
>>>>>> http://www.facebook.**com/****72878331c221485527705ba87e5113****06<
>>> http://www.facebook.com/**72878331c221485527705ba87e5113**06<http://www.facebook.com/72878331c221485527705ba87e511306>>>|
>>>
>>>>>>>> Github <https://github.com/raniejade>*****
>>>>>>>> *
>>>>>>>> ______________________________****____________________________**__**_______________
>>>>>>>> *
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, Jun 16, 2013 at 1:43 AM, Nicolas Melendez <
>>> nfmel...@gmail.com>wrote:
>>>>>>>> Hey Ranie, you are very welcome to help us!
>>>>>>>>
>>>>>>>> *Nicol�s Mel�ndez*
>>>>>>>> *Software Engineer*
>>>>>>>>
>>>>>>>> Twitter: @nfmelendez
>>>>>>>> Blog: http://blog.melendez.com.ar/
>>>>>>>> Github: https://github.com/nfmelendez
>>>>>>>> Linkedin: http://ar.linkedin.com/in/****nicolasmelendez<http://ar.linkedin.com/in/**nicolasmelendez>
>>> <http://ar.**linkedin.com/in/**nicolasmelendez<http://ar.linkedin.com/in/nicolasmelendez>>
>>>
>>>>>>>> *
>>>>>>>> *
>>>>>>>>
>>>>>>>>
>>>>>>>> Sent with Sparrow <http://www.sparrowmailapp.****com/?sig<
>>> http://www.**sparrowmailapp.com/?sig <http://www.sparrowmailapp.com/?sig>>>
>>>>>>>> Sent with Sparrow <http://www.sparrowmailapp.****com/?sig<
>>> http://www.**sparrowmailapp.com/?sig <http://www.sparrowmailapp.com/?sig>>>
>>>>>>>> Link: https://github.com/******ScalaVertx/mod-lang-scala<https://github.com/****ScalaVertx/mod-lang-scala>
>>> <http**s://github.com/**ScalaVertx/**mod-lang-scala<https://github.com/**ScalaVertx/mod-lang-scala>>
>>>
>>>>>> <http**s://github.com/**ScalaVertx/mod-**lang-scala<http://github.com/ScalaVertx/mod-**lang-scala>
>>> <ht**tps://github.com/ScalaVertx/**mod-lang-scala<https://github.com/ScalaVertx/mod-lang-scala>>>
>>>
>>>>>>>> Now we are going to migrate all vert-core tests to Scala in order
>>> to
>>>>>>>> define the scala API and exercising it with the tests.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> *Nicol�s Mel�ndez*
>>>>>>>> *blog.melendez.com.ar*
>>>>>>>> *
>>>>>>>> *
>>>>>>>> *"People Over Processes"*
>>>>>>>> *"Working Software Over Documentation"*
>>>>>>>> *"Responding to change over following a Plan"*
>>>>>>>> *
>>>>>>>> *
>>>>>>>>
>>>>>>>> Sent with Sparrow <http://www.sparrowmailapp.****com/?sig<
>>> http://www.**sparrowmailapp.com/?sig <http://www.sparrowmailapp.com/?sig>>>
>>>>>> mod-lang-scala/pull/3 <https://github.com/vert-x/****
>>> mod-lang-scala/pull/3 <https://github.com/vert-x/**mod-lang-scala/pull/3>>
>>>
>>>>>> <https://**github.com/vert-x/**mod-lang-**scala/pull/3<http://github.com/vert-x/mod-lang-**scala/pull/3>
>>> <https:**//github.com/vert-x/mod-lang-**scala/pull/3<https://github.com/vert-x/mod-lang-scala/pull/3>>>
>>>
>>>>>>>> Now the project is compiling, also another commiter helped me
>>>>>> @edgarchan<https://github.com/****edgarchan<https://github.com/**edgarchan><
>>> https://github.com/edgarchan>**>
>>>>>> thanks
>>>>>>>> to him.
>>>>>>>>
>>>>>>>> After this pull request to kick off, every commit will be with his
>>>>>> tests,
>>>>>>>> and will have all the others tests green to avoid regressions. Also
>>>>>> the
>>>>>>>> examples will start to appear soon in my blog, and in the readme of
>>>>>> the
>>>>>>>> project.
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>> *Nicol�s Mel�ndez*
>>>>>>>> *blog.melendez.com.ar*
>>>>>>>> *
>>>>>>>> *
>>>>>>>> *"People Over Processes"*
>>>>>>>> *"Working Software Over Documentation"*
>>>>>>>> *"Responding to change over following a Plan"*
>>>>>>>> *
>>>>>>>> *
>>>>>>>>
>>>>>>>> Sent with Sparrow <http://www.sparrowmailapp.****com/?sig<
>>> http://www.**sparrowmailapp.com/?sig <http://www.sparrowmailapp.com/?sig>>>
>>>>>>>> link: https://github.com/nfmelendez/******mod-lang-scala<https://github.com/nfmelendez/****mod-lang-scala>
>>> <https://**github.com/nfmelendez/**mod-**lang-scala<https://github.com/nfmelendez/**mod-lang-scala>>
>>>
>>>>>> <https://**github.com/**nfmelendez/mod-**lang-scala<http://github.com/nfmelendez/mod-**lang-scala>
>>> <ht**tps://github.com/nfmelendez/**mod-lang-scala<https://github.com/nfmelendez/mod-lang-scala>>>
>>>
>>>>>>>> <https://github.com/******nfmelendez/mod-lang-scala<https://github.com/****nfmelendez/mod-lang-scala>
>>> <http**s://github.com/**nfmelendez/**mod-lang-scala<https://github.com/**nfmelendez/mod-lang-scala>>
>>>
>>>>>> <http**s://github.com/**nfmelendez/mod-**lang-scala<http://github.com/nfmelendez/mod-**lang-scala>
>>> <ht**tps://github.com/nfmelendez/**mod-lang-scala<https://github.com/nfmelendez/mod-lang-scala>>>
>>>
>>>>>>>> While i was fixing this project, i had to look a lot inside the new
>>>>>>>> vertx 2.0 so no matter if we continue with @stuart or @slim ,
>>> that
>>>>>>>> small experience can help.
>>>>>>>>
>>>>>>>> Since you started with @slim project and i started with @stuart, i
>>>>>>>> think we have to coordinate efforts in one single project to make
>>> it
>>>>>>>> successful.
>>>>>>>>
>>>>>>>>
>>>>>>>> ^ Sure, we can do that, but as I said earlier, I'd like to see some
>>>>>>>> examples of Stuart's code from a user POV... maybe you can show
>>> when
>>>>>>>> you've finished with the compilation errors? or @Stuart or others
>>> can
>>>>>> show?
>>>>>>>> Cheers,
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> *Nicol�s Mel�ndez*
>>>>>>>> /blog.melendez.com.ar <http://blog.melendez.com.ar>/
>>>>>>>> /
>>>>>>>> /
>>>>>>>> /"People Over Processes"/
>>>>>>>> /"Working Software Over Documentation"/
>>>>>>>> /"Responding to change over following a Plan"/
>>>>>>>> /
>>>>>>>> /
>>>>>>>>
>>>>>>>> Sent with Sparrow <http://www.sparrowmailapp.******com/?sig<
>>> http://www.*
>>>>>> *sparrowmailapp.com/?sig <http://www.sparrowmailapp.**com/?sig<http://www.sparrowmailapp.com/?sig>>>
>>>>>>>> On Friday, May 24, 2013 at 9:55 AM, Galder Zamarre�o wrote:
>>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> First of all, a little info about myself for those that don't know
>>>>>>>> me. I'm Galder Zamarre�o, founder and lead of Escalante, a Scala
>>>>>>>> application server based on JBoss AS7/Wildfly which integrates
>>>>>>>> Scala web technologies such as Lift and Play. I work for Red Hat
>>>>>>>> and I'm also working on the Infinispan data grid/cache project.
>>>>>>>>
>>>>>>>> On top of this work, I'm also looking into Scala + Vert.x
>>>>>>>> integration in order to see how we can compete with other similar
>>>>>>>> technologies out there, i.e. Spray.io (http://spray.io/). Spray is
>>>>>>>> primarily focused on the HTTP world and uses Scala actors behind
>>>>>>>> the scenes. I find the examples in the website to be a bit
>>>>>>>> deceiving, since an entire Ping/Pong-like example requires a bit
>>>>>>>> more code than what they explain on the site. Here's a full
>>>>>>>> working example (note: contains both server and client code):
>>>>>>>> https://github.com/galderz/******scalag/blob/master/src/main/****<https://github.com/galderz/****scalag/blob/master/src/main/**>
>>> <https://github.com/galderz/****scalag/blob/master/src/main/****<https://github.com/galderz/**scalag/blob/master/src/main/**>>
>>>
>>>>>>>> scala/scalag/spray/******PingPongSpray.scala<https://**
>>>>>> github.com/galderz/scalag/****blob/master/src/main/scala/**<http://github.com/galderz/scalag/**blob/master/src/main/scala/**>
>>>>>> scalag/spray/PingPongSpray.****scala<https://github.com/**
>>> galderz/scalag/blob/master/**src/main/scala/scalag/spray/**
>>> PingPongSpray.scala<https://github.com/galderz/scalag/blob/master/src/main/scala/scalag/spray/PingPongSpray.scala>>>
>>>
>>>>>>>> <https://github.com/galderz/******scalag/blob/master/src/**
>>> main/** <https://github.com/galderz/****scalag/blob/master/src/main/**><
>>> https://github.com/**galderz/**scalag/blob/master/**src/main/**<https://github.com/galderz/**scalag/blob/master/src/main/**>>
>>>
>>>>>>>> scala/scalag/spray/******PingPongSpray.scala<https://**
>>>>>> github.com/galderz/scalag/****blob/master/src/main/scala/**<http://github.com/galderz/scalag/**blob/master/src/main/scala/**>
>>>>>> scalag/spray/PingPongSpray.****scala<https://github.com/**
>>> galderz/scalag/blob/master/**src/main/scala/scalag/spray/**
>>> PingPongSpray.scala<https://github.com/galderz/scalag/blob/master/src/main/scala/scalag/spray/PingPongSpray.scala>>>
>>>
>>>>>>>> - This examples uses a nighly build of Spray, to be precise:
>>>>>>>> version 1.1-20130507 (versions are a bit confusing in Spray...)
>>>>>>>>
>>>>>>>> Anyway, without getting too hang up on competition, the idea of
>>>>>>>> Scala + Vert.x integration is how to bring all the goodness of
>>>>>>>> Vert.x to Scala developers in a way that seems natural to them.
>>>>>>>> Right now there's two Scala + Vert.x offerings out there:
>>>>>>>>
>>>>>>>> 1. https://github.com/vert-x/mod-******lang-scala<https://github.com/vert-x/mod-****lang-scala>
>>> <https://github.**com/vert-x/mod-**lang-scala<https://github.com/vert-x/mod-**lang-scala>>
>>>
>>>>>> <https://github.**com/vert-x/**mod-lang-scala<https://github.**
>>> com/vert-x/mod-lang-scala <https://github.com/vert-x/mod-lang-scala>>>
>>>>>>>> <https://github.com/vert-x/******mod-lang-scala<https://github.com/vert-x/****mod-lang-scala>
>>> <https://**github.com/vert-x/**mod-lang-**scala<https://github.com/vert-x/**mod-lang-scala>>
>>>
>>>>>> <https://github.**com/vert-x/**mod-lang-scala<https://github.**
>>> com/vert-x/mod-lang-scala <https://github.com/vert-x/mod-lang-scala>>>>
>>>>>>>> - Initlally contributed
>>>>>>>> by Stuart Williams. Unfortunately, I've been unable to find
>>>>>>>> examples on how users can use it :|
>>>>>>>> 2. https://github.com/ouertani/******vert.x/tree/master/vertx-**
>>> lang/****<https://github.com/ouertani/****vert.x/tree/master/vertx-lang/****>
>>> <https://github.com/**ouertani/**vert.x/tree/master/**vertx-lang/**<https://github.com/ouertani/**vert.x/tree/master/vertx-lang/**>>
>>>
>>>>>>>> vertx-lang-scala<https://**git**hub.com/ouertani/vert.x/**<http://github.com/ouertani/vert.x/**>
>>>>>> tree/master/vertx-lang/vertx-****lang-scala<https://github.**
>>> com/ouertani/vert.x/tree/**master/vertx-lang/vertx-lang-**scala<https://github.com/ouertani/vert.x/tree/master/vertx-lang/vertx-lang-scala>>>
>>>
>>>>>>>> <https://github.com/ouertani/******vert.x/tree/master/vertx-***
>>> *lang/**<https://github.com/ouertani/****vert.x/tree/master/vertx-**lang/**>
>>> <https://github.com/**ouertani/**vert.x/tree/master/**vertx-lang/**<https://github.com/ouertani/**vert.x/tree/master/vertx-lang/**>>
>>>
>>>>>>>> vertx-lang-scala<https://**git**hub.com/ouertani/vert.x/**<http://github.com/ouertani/vert.x/**>
>>>>>> tree/master/vertx-lang/vertx-****lang-scala<https://github.**
>>> com/ouertani/vert.x/tree/**master/vertx-lang/vertx-lang-**scala<https://github.com/ouertani/vert.x/tree/master/vertx-lang/vertx-lang-scala>>>
>>>
>>>>>>>> - Contributed by Slim Ourtani. There are some examples on how to
>>>>>>>> use it
>>>>>>>> in http://blog.zenika.com/index.******php?post/2013/02/11/fun-**
>>> with-****<http://blog.zenika.com/index.****php?post/2013/02/11/fun-with-****>
>>> <http://blog.zenika.**com/index.**php?post/2013/02/**11/fun-with-**<http://blog.zenika.com/index.**php?post/2013/02/11/fun-with-**>>
>>>
>>>>>>>> scala-and-vert-x<http://blog.****zenika.com/index.php?post/**
>>>>>> 2013/02/11/fun-with-scala-and-****vert-x<http://blog.zenika.**
>>> com/index.php?post/2013/02/11/**fun-with-scala-and-vert-x<http://blog.zenika.com/index.php?post/2013/02/11/fun-with-scala-and-vert-x>>>
>>>
>>>>>>>> <http://blog.zenika.com/**index.****php?post/2013/02/11/**
>>> fun-**with-**<http://blog.zenika.com/index.****php?post/2013/02/11/fun-**with-**>
>>> <http://blog.**zenika.com/index.**php?post/**2013/02/11/fun-with-**<http://blog.zenika.com/index.**php?post/2013/02/11/fun-with-**>>
>>>
>>>>>>>> scala-and-vert-x<http://blog.****zenika.com/index.php?post/**
>>>>>> 2013/02/11/fun-with-scala-and-****vert-x<http://blog.zenika.**
>>> com/index.php?post/2013/02/11/**fun-with-scala-and-vert-x<http://blog.zenika.com/index.php?post/2013/02/11/fun-with-scala-and-vert-x>>>
>>>
>>>>>>>> Slim's code is smaller, barely 10 classes or so, which seems a
>>>>>>>> better to start at, particularly since the examples look pretty
>>>>>>>> neat. Stuart's work might a be more complete though.... Slim's
>>>>>>>> effort could be tweaked for sure, and I have certain ideas that
>>>>>>>> I'd like to share with the Vert.x community, but before doing
>>>>>>>> that, I'd like to get views of both Stuart and Slim on their
>>>>>>>> respective efforts to decide how to procede next.
>>>>>>>>
>>>>>>>> Right now, my suggestion would be to start with Slim's work and
>>>>>>>> then add stuff on top from Stuart's work, if it makes sense to do
>>> so.
>>>>>>>> Based on that, I'm currently trying to convert Slim's code to
>>>>>>>> Vert.x 2.0 and then, add those examples
>>>>>>>> to https://github.com/vert-x/******vertx-examples/tree/master/*****
>>> * <https://github.com/vert-x/****vertx-examples/tree/master/****>
>>>>>> src/main<https://github.com/**vert-x/**vertx-examples/tree/**
>>> master/**src/main<https://github.com/vert-x/**vertx-examples/tree/master/**src/main>>
>>>
>>>>>> <https://github.com/**vert-x/**vertx-examples/tree/**master/**
>>> src/main<https://github.com/**vert-x/vertx-examples/tree/**master/src/main>
>>> <https://github.com/**vert-x/vertx-examples/tree/**master/src/main<https://github.com/vert-x/vertx-examples/tree/master/src/main>>>
>>>
>>>>>>>> <https://github.com/vert-x/******vertx-examples/tree/master/***
>>> *** <https://github.com/vert-x/****vertx-examples/tree/master/****>
>>>>>> src/main<https://github.com/**vert-x/**vertx-examples/tree/**
>>> master/**src/main<https://github.com/vert-x/**vertx-examples/tree/master/**src/main>>
>>>
>>>>>> <https://github.com/**vert-x/**vertx-examples/tree/**master/**
>>> src/main<https://github.com/**vert-x/vertx-examples/tree/**master/src/main>
>>>>>>>> For more options, visit https://groups.google.com/******
>>> groups/opt_out <https://groups.google.com/****groups/opt_out><
>>> https://groups.**google.com/**groups/opt_out<https://groups.google.com/**groups/opt_out>>
>>>
>>>>>> <https://groups.**google.com/**groups/opt_out<http://google.com/groups/opt_out>
>>> <https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>>
>>>
>>>>>>>> <https://groups.google.com/******groups/opt_out<https://groups.google.com/****groups/opt_out>
>>> <https://**groups.google.com/**groups/**opt_out<https://groups.google.com/**groups/opt_out>>
>>>
>>>>>> <https://groups.**google.com/**groups/opt_out<http://google.com/groups/opt_out>
>>> <https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>>
>>>
>>>>>>>>> .
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "vert.x" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>> send
>>>>>>>> an email to vertx+un...@googlegroups.com.
>>>>>>>> For more options, visit https://groups.google.com/******
>>> groups/opt_out <https://groups.google.com/****groups/opt_out><
>>> https://groups.**google.com/**groups/opt_out<https://groups.google.com/**groups/opt_out>>
>>>
>>>>>> <https://groups.**google.com/**groups/opt_out<http://google.com/groups/opt_out>
>>> <https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>>
>>>
>>>>>>>> .
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> [key:62590808]
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups
>>>>>>>> "vert.x" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>> send
>>>>>> an
>>>>>>>> email to vertx+un...@googlegroups.com.
>>>>>>>> For more options, visit https://groups.google.com/******
>>> groups/opt_out <https://groups.google.com/****groups/opt_out><
>>> https://groups.**google.com/**groups/opt_out<https://groups.google.com/**groups/opt_out>>
>>>
>>>>>> <https://groups.**google.com/**groups/opt_out<http://google.com/groups/opt_out>
>>> <https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>>
>>>
>>>>>>>> .
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups
>>>>>>>> "vert.x" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>> send
>>>>>> an
>>>>>>>> email to vertx+un...@googlegroups.com.
>>>>>>>> For more options, visit https://groups.google.com/******
>>> groups/opt_out <https://groups.google.com/****groups/opt_out><
>>> https://groups.**google.com/**groups/opt_out<https://groups.google.com/**groups/opt_out>>
>>>
>>>>>> <https://groups.**google.com/**groups/opt_out<http://google.com/groups/opt_out>
>>> <https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>>
>>>
>>>>>>>> .
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups
>>>>>>>> "vert.x" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>> send
>>>>>> an
>>>>>>>> email to vertx+un...@**googlegroups.com****.
>>>>>>>> For more options, visit https://groups.google.com/******
>>> groups/opt_out <https://groups.google.com/****groups/opt_out><
>>> https://groups.**google.com/**groups/opt_out<https://groups.google.com/**groups/opt_out>>
>>>
>>>>>> <https://groups.**google.com/**groups/opt_out<http://google.com/groups/opt_out>
>>> <https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>>
>>>
>>>>>>>> .
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups
>>>>>>>> "vert.x" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>> send
>>>>>> an
>>>>>>>> email to vertx+un...@**googlegroups.com**.
>>>>>>>>
>>>>>>>> For more options, visit https://groups.google.com/****
>>> groups/opt_out <https://groups.google.com/**groups/opt_out><
>>> https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>.
>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups
>>>>>>>> "vert.x" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>> send
>>>>>> an
>>>>>>>> email to vertx+un...@**googlegroups.com**.
>>>>>>>>
>>>>>>>> For more options, visit https://groups.google.com/****
>>> groups/opt_out <https://groups.google.com/**groups/opt_out><
>>> https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>.
>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups
>>>>>>>> "vert.x" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>> send
>>>>>> an
>>>>>>>> email to vertx+un...@**googlegroups.com**.
>>>>>>>> For more options, visit https://groups.google.com/****
>>> groups/opt_out <https://groups.google.com/**groups/opt_out><
>>> https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>.
>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups
>>>>>>>> "vert.x" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>> send
>>>>>> an
>>>>>>>> email to vertx+un...@**googlegroups.com**.
>>>>>>>> For more options, visit https://groups.google.com/****
>>> groups/opt_out <https://groups.google.com/**groups/opt_out><
>>> https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>.
>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups
>>>>>>>> "vert.x" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>> send
>>>>>> an
>>>>>>>> email to vertx+un...@**googlegroups.com**.
>>>>>>>> For more options, visit https://groups.google.com/****
>>> groups/opt_out <https://groups.google.com/**groups/opt_out><
>>> https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>.
>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups
>>>>>>>> "vert.x" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>> send
>>>>>> an
>>>>>>>> email to vertx+un...@**googlegroups.com**.
>>>>>>>> For more options, visit https://groups.google.com/****
>>> groups/opt_out <https://groups.google.com/**groups/opt_out><
>>> https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>.
>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups
>>>>>>>> "vert.x" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>> send
>>>>>> an
>>>>>>>> email to vertx+un...@**googlegroups.com**.
>>>>>>>> For more options, visit https://groups.google.com/****
>>> groups/opt_out <https://groups.google.com/**groups/opt_out><
>>> https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>.
>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups
>>>>>>>> "vert.x" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>> send
>>>>>> an
>>>>>>>> email to vertx+un...@**googlegroups.com**.
>>>>>>>> For more options, visit https://groups.google.com/****
>>> groups/opt_out <https://groups.google.com/**groups/opt_out><
>>> https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>>.
>>>
>>>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>> Groups
>>>>>> "vert.x" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>> send an
>>>>>> email to vertx+un...@googlegroups.com <javascript:>.
>>>>>> For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>.
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>> Groups
>>>>>> "vert.x" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>> send an
>>>>>> email to vertx+un...@googlegroups.com <javascript:>.
>>>>>> For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>.
>>>>>>
>>>>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "vert.x" group.
>> To unsubscribe from this group and stop receiving emails from it, send an

Ranie Jade Ramiso

unread,
Jun 19, 2013, 10:00:45 AM6/19/13
to ve...@googlegroups.com
Yes. ScalaTest supports running tests under a junit container, probably we can use it to run integration tests.

________________________________________________________________

Ranie Jade Ramiso <raniejaderamiso.com>
Software Engineer | Opensource Enthusiast | Professional Slacker 
___________________________________________________________________________

Edgar Chan

unread,
Jun 19, 2013, 10:53:24 AM6/19/13
to ve...@googlegroups.com


El miércoles, 19 de junio de 2013 09:00:45 UTC-5, Ranie Jade Ramiso escribió:
Yes. ScalaTest supports running tests under a junit container, probably we can use it to run integration tests.
 

________________________________________________________________

Ranie Jade Ramiso <raniejaderamiso.com>
Software Engineer | Opensource Enthusiast | Professional Slacker 
___________________________________________________________________________


another thing to consider is that gradle is quite slow and compiling scala with gradle is freaking slow adding another layer of test DSL would be damn freaking slow.
 

Pid

unread,
Jun 27, 2013, 6:05:02 PM6/27/13
to ve...@googlegroups.com
On 19/06/2013 15:53, Edgar Chan wrote:
>
>
> El mi�rcoles, 19 de junio de 2013 09:00:45 UTC-5, Ranie Jade Ramiso
> escribi�:
>
> Yes. ScalaTest supports running tests under a junit container,
> probably we can use it to run integration tests.
>
>
>
>
> *________________________________________________________________*
> *
> *
> *Ranie Jade Ramiso <raniejaderamiso.com <http://raniejaderamiso.com>>*
> *Software Engineer | Opensource Enthusiast | Professional Slacker *
> *Twitter <https://twitter.com/raniejade> | Facebook
> <http://www.facebook.com/72878331c221485527705ba87e511306> | Github
> <https://github.com/raniejade>*
> *___________________________________________________________________________*
>
>
> another thing to consider is that gradle is quite slow and compiling
> scala with gradle is freaking slow adding another layer of test DSL
> would be damn freaking slow.


pid@localhost:mod-lang-scala (master =)$ gw test --daemon

...

BUILD SUCCESSFUL
Total time: 4.051 secs


Yup. Slow.


p

> --
> You received this message because you are subscribed to the Google
> Groups "vert.x" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to vertx+un...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>


--

[key:62590808]

Galder Zamarreño

unread,
Jul 2, 2013, 12:40:18 PM7/2/13
to ve...@googlegroups.com
All,

I think Ranie's point is worth investigating. As Tim said, the in-container tests should probably stay as is (for consistency and integration), but I don't think we should be scared of trying to find a testing framework that is more idiomatic for Scala developers compared with the current option.

However, any such effort requires some investigation. We're not gonna simply take a framework and use it. I expect several could be evaluated, and that's where @Ranie, since you're the one that suggested, maybe you can make a proposal? Such proposal should include this information: 

- Comparing different testing frameworks that Scala developers are happy to use. Maybe show some examples?
- How each testing framework affects build time, to make sure it does not hinder productivity.
- Does the testing framework integrate well with the most commonly used IDEs (Eclipse and IntelliJ)? Back in 2009 I evaluated some Scala testing frameworks for Infinispan's scala code, but most of them did not run correctly either from the IDE or Maven (the build tool)
- Does the testing framework integrate well with Gradle? 
- What kind of reports does it generate? Examples?
- As a bonus, if you can implement in-container tests with this particular testing framework, it'd be a great plus :)

Finally, to reiterate what I said earlier, can we move this discussion to a different discussion thread? This is piling up too many stuff which makes it hard to follow for everyone. @Ranie, maybe you can start a new one and add information that answers the questions above for the current offering and the other options.

Cheers,

On Friday, 28 June 2013 00:05:02 UTC+2, Pid wrote:
On 19/06/2013 15:53, Edgar Chan wrote:
>
>
> El mi�rcoles, 19 de junio de 2013 09:00:45 UTC-5, Ranie Jade Ramiso
> escribi�:

Ranie Jade Ramiso

unread,
Jul 3, 2013, 12:54:29 AM7/3/13
to ve...@googlegroups.com
Sure thing, I'll do it when I have the time. Probably this weekend.


Ranie Jade Ramiso <raniejaderamiso.com>
Software Engineer | Open Source Enthusiast | Professional Slacker 

Galder Zamarreño

unread,
Jul 5, 2013, 5:38:27 AM7/5/13
to ve...@googlegroups.com
Excellent, thanks Ranie :)

Ranie Jade Ramiso

unread,
Jul 5, 2013, 10:17:32 AM7/5/13
to ve...@googlegroups.com
Hi all! Might as well share my findings on scalatest and specs2. Though they provide a fun and idiomatic way of writing tests in scala and can be run as junit tests (so probably good IDE integration, correct me if I'm wrong), but writing in-container tests would be impossible unless we port the vertx testtools to work with them. It will be a totally waste of time, might as well dedicate our time finishing up mod-lang-scala. I therefore conclude that we stick with JUnit :). I'd rather write long test method names than rewriting something that is already working out of the box.


Ranie Jade Ramiso <raniejaderamiso.com>
Software Engineer | Open Source Enthusiast | Professional Slacker 



Nicolas Melendez

unread,
Jul 5, 2013, 10:19:32 AM7/5/13
to ve...@googlegroups.com
+1 for that, it was my first impression about this.

Nicolás Meléndez
Software Engineer

Galder Zamarreño

unread,
Jul 18, 2013, 2:51:26 AM7/18/13
to ve...@googlegroups.com
Ranie, thanks for looking into this :)

Ranie Jade Ramiso

unread,
Jul 18, 2013, 2:57:48 AM7/18/13
to ve...@googlegroups.com
No problem! Hmm, it seems development for mod-lang-scala has been idle for a while now probably people are just busy. 


Ranie Jade Ramiso <raniejaderamiso.com>
Software Engineer | Open Source Enthusiast | Professional Slacker 



Galder Zamarreño

unread,
Jul 18, 2013, 11:36:31 AM7/18/13
to ve...@googlegroups.com
Ranie, I'm aware and I'm dealing with it :)

Ranie Jade Ramiso

unread,
Jul 18, 2013, 12:01:59 PM7/18/13
to ve...@googlegroups.com
I'm somewhat guilty also, never touch vertx code for a while. Been busy with the new job, a lot of catching up to do.


Ranie Jade Ramiso <raniejaderamiso.com>
Software Engineer | Open Source Enthusiast | Professional Slacker 



Joern Bernhardt

unread,
Jul 24, 2013, 7:58:57 PM7/24/13
to ve...@googlegroups.com
I've raised a couple of issues and added two pull requests for small changes (one bugfix, one tweak regarding logging).

You can see what I'm trying to do with it over here: https://github.com/campudus/vertx-mysql-postgresql

When I try to run the tests, it doesn't even start the module. Maybe it has something to do with the failure I see when I start it itself (see below).

It also fails to start when using ./gradlew runMod

I can't figure out what's wrong right now, so here's the output/exception and someone can help:

Starting async database module for MySQL and PostgreSQL.
could not start async database module!
java.lang.LinkageError: loader constraint violation: loader (instance of org/vertx/java/platform/impl/ModuleClassLoader) previously initiated loading for a different type with name "scala/util/parsing/json/JSONObject"
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:788)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:447)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at org.vertx.java.platform.impl.ModuleClassLoader.doLoadClass(ModuleClassLoader.java:77)
    at org.vertx.java.platform.impl.ModuleClassLoader.loadClass(ModuleClassLoader.java:61)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at com.campudus.vertx.database.Starter.start(Starter.scala:26)
    at org.vertx.scala.platform.impl.ScalaVerticle.start(ScalaVerticle.scala:55)
    at org.vertx.java.platform.impl.DefaultPlatformManager$18.run(DefaultPlatformManager.java:1278)
    at org.vertx.java.core.impl.DefaultContext$3.run(DefaultContext.java:171)
    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:353)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:366)
    at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)
    at java.lang.Thread.run(Thread.java:724)
Failed to deploy module
java.lang.LinkageError: loader constraint violation: loader (instance of org/vertx/java/platform/impl/ModuleClassLoader) previously initiated loading for a different type with name "scala/util/parsing/json/JSONObject"
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:788)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:447)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at org.vertx.java.platform.impl.ModuleClassLoader.doLoadClass(ModuleClassLoader.java:77)
    at org.vertx.java.platform.impl.ModuleClassLoader.loadClass(ModuleClassLoader.java:61)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at com.campudus.vertx.database.Starter.start(Starter.scala:26)
    at org.vertx.scala.platform.impl.ScalaVerticle.start(ScalaVerticle.scala:55)
    at org.vertx.java.platform.impl.DefaultPlatformManager$18.run(DefaultPlatformManager.java:1278)
    at org.vertx.java.core.impl.DefaultContext$3.run(DefaultContext.java:171)
    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:353)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:366)
    at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)
    at java.lang.Thread.run(Thread.java:724)

Edgar Chan

unread,
Jul 25, 2013, 12:29:18 AM7/25/13
to ve...@googlegroups.com
created a new topic here https://groups.google.com/forum/#!topic/vertx/ph-vWrXmvl0 this is too long already
Reply all
Reply to author
Forward
0 new messages