GroovyServ pool

10 views
Skip to first unread message

Olivier Gourment

unread,
Aug 9, 2011, 10:52:39 AM8/9/11
to groovyserv
GroovyServ would be super useful for Gradle. The main problem is with
the current directory, when you need to work on more than one gradle
project (directory) at a time. A solution could be to compute the port
number from a hash of the current directory. This way, if the
groovyServ instance for a specific directory is not started,
groovyclient starts it, otherwise it just contacts the already started
groovyServ instance for that directory.

Simple... :-)

Yasuharu Nakano

unread,
Aug 14, 2011, 8:42:44 AM8/14/11
to groov...@googlegroups.com
Hi Olivier,

# I've just come back from summer vacation.

Thank you for your feedback! Your idea seems interesting.

Additionally, if using an user identity (e.g. a path of $HOME) not
only the current directory path for the computation of port number,
the mechanism of the individual groovyserver instance for each user on
multi-user OS (e.g. Linux) can be realized at once.
cf.) https://github.com/kobo/groovyserv/issues/20

I'll try something about the idea later.

2011/8/9 Olivier Gourment <ogou...@gmail.com>:

--
Yasuharu NAKANO / nobeans

Reply all
Reply to author
Forward
0 new messages