Re: restructure webapp code so we can easily test .jsp

2008-03-16 Thread Bill Au
+1 I like putting index.jsp, admin, and WEB-INF all in the same directory. Bill On Sun, Mar 16, 2008 at 9:34 AM, Yonik Seeley <[EMAIL PROTECTED]> wrote: > On Thu, Mar 13, 2008 at 1:48 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote: > > The thing I'm tyring to work with is how to get the jsp files

Re: restructure webapp code so we can easily test .jsp

2008-03-16 Thread Yonik Seeley
On Thu, Mar 13, 2008 at 1:48 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote: > The thing I'm tyring to work with is how to get the jsp files to easily > load into jetty for testing/debugging +1 "resources" is only there because IntelliJ put it there lng ago. -Yonik

Re: restructure webapp code so we can easily test .jsp

2008-03-13 Thread Chris Hostetter
: Without objection, I'll go ahead and do this. Patches with 'move' don't work. : : Should I open a JIRA issue? you already opened one, but in general: yes. having an issue associated with any non-trivial code change is handy becuase it gives us an easily trackable place to look up the reas

Re: restructure webapp code so we can easily test .jsp

2008-03-13 Thread Ryan McKinley
: Ok, then let me revise my proposal to: : /src/webapp/java/(all java classes) : /src/webapp/web/index.jsp : /src/webapp/web/admin/... : /src/webapp/web/WEB-INF/... Yeah, got it ... I'm totally on board with that. Without objection, I'll go ahead and do this. Patches with 'move' don't w

Re: restructure webapp code so we can easily test .jsp

2008-03-13 Thread Chris Hostetter
: this way we could debug directly from /src/webapp/ Doh! ... sorry, the piece is was missing in my mind is that 'resources' isn't actually a standard WAR directory name ... for some reason i was thinking that it was a standard directory for holding JSP .. i forgot it's just something we creat

Re: restructure webapp code so we can easily test .jsp

2008-03-13 Thread Ryan McKinley
Chris Hostetter wrote: : and then removing the /src/webapp/resources directory? i'm confused ... where would the JSPs go? rather then /src/webapp/resoures/admin/index.jsp /src/webapp/admin/index.jsp this way we could debug directly from /src/webapp/ : I imagine the reason to have o.a.s.

Re: restructure webapp code so we can easily test .jsp

2008-03-12 Thread Chris Hostetter
: and then removing the /src/webapp/resources directory? i'm confused ... where would the JSPs go? : I imagine the reason to have o.a.s.servlet as an independent source directory : was to keep the javax.servlet dependency isolated. Can we move it into the : same source directory, but agree that

restructure webapp code so we can easily test .jsp

2008-03-11 Thread Ryan McKinley
How do you feel about moving: /src/webapp/src/org... into /src/java/org... and then removing the /src/webapp/resources directory? The reason for this change is: 1) more standard layout 2) The tests could easily run /admin/ and the .jsp files -- this would avoid any problems like my most recen