Gradlefy web

Making this a gradle project that dynamically depends on dbi and common. Can be run with autoreloading Jetty on command line like "./gradlew jettyRun" or via Eclipse "Run as server". The freedom of choice. "Run as server" is not hotreloading very good though.

Need to add gradle plugin to eclipse to use this or run:

"./gradlew eclipse"
Hei Jarl Andre

Sitter og jobber litt med gradle for å forstå hva det er og gjør. Litt
usikker på om jeg trenger en plugin i Eclipse, men jeg må vel uansett
installere Gradle på maskinen... Jeg laster ned Gradle 2.1. Virker som en
del folk mener Gradle er bedre og mer fleksibel enn Maven. Det passer meg
meget bra, jeg ble aldri særlig glad i Maven (Ant var bedre).

mvh
Morten S

2014-09-19 21:40 GMT+02:00 Jarl André Hübenthal <notifications@github.com>:

> In src/main/java/com/owera/xaps/web/app/security/LoginServlet.java:
>
> > @@ -486,7 +486,7 @@ private String getRequestURL(HttpServletRequest request) {
> >  	 */
> >  	public void init(FilterConfig filterConfig) throws ServletException {
> >  		String contextPath = "";// filterConfig.getServletContext().getContextPath();
> > -		if (contextPath.equals("/xapsweb")) {
> > +		if (contextPath.equals("/xaps")) {
>
> Instead of supporting different installations of web at the same server
> where you distinguish between each and one of them by creating different
> log settings etc. Use Docker instead. And isolate each instance.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/freeacs/web/pull/3/files#r17804969>.
>