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.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 all servlet related items belong in that
: package?

looking at the build file, it doesn't look like we actually have anything ensuring that only webapps/src has serlvet dependencies at the moment ... i'd kind of like to add that now that i've noticed it ... either way, i'm not sure how moving the source really helps anything. what matters is that the classes are available to the classloader when the unit tests run right ? that should already be true ... both src/java and src/webapp/src are compiled into build/core which is in the classpath when the unit tests are run.

(and leaving src/webapps/src where it is leaves open the possibility of me fixing the build.xml to only make the servlet jar available when compiling src/webapps/src)


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/...

The thing I'm tyring to work with is how to get the jsp files to easily load into jetty for testing/debugging

ryan

Reply via email to