Показаны сообщения с ярлыком servlet. Показать все сообщения
Показаны сообщения с ярлыком servlet. Показать все сообщения

понедельник, 28 октября 2013 г.

groovy script for running jetty server

The following script starts jetty server and opens the folder, specified on command line, for http access (read-only):
Usage:
  1. Save this script to file “jetty.groovy”
  2. Invoke on command-line:
    groovy jetty.groovy /path/to/some/folder"
  3. Enter address in web-browser:
    http://localhost:8080/jetty
Expected result: you see the content of the folder “/path/to/some/folder” in the web-browser.

пятница, 14 июня 2013 г.

Meet Gretty: gradle plugin for running web-applications under Jetty 8.1.8

I created little gradle plugin for running web-applications under Jetty 8.1.8.

The main advantage for a programmer is that now it’s possible to use servlet-api 3.0 and higher (under standard gradle-jetty plugin it was not possible, because jetty was too old).

Full sources, documentation and examples here:

https://github.com/akhikhl/gretty