Hi Yoav It that so ?
Well ,for instance, this is what I *find*: server:/usr/src/tomcat/5-5-4# find . -name HttpServletResponse.java gives me: ./build/servlet-api-2.4/src/javax/servlet/http/HttpServletResponse.java ./jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/HttpServletResponse.java ./jakarta-servletapi-5/jsr154/dist/src/javax/servlet/http/HttpServletResponse.java OK, which of the 3 ? If I find implementing *Response classes there is quite a list ...... server:/usr/src/tomcat/5-5-4# find . -name *Response.java ./build/servlet-api-2.4/src/javax/servlet/http/HttpServletResponse.java ./build/servlet-api-2.4/src/javax/servlet/ServletResponse.java ./jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/HttpServletResponse.java ./jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletResponse.java ./jakarta-servletapi-5/jsr154/dist/src/javax/servlet/http/HttpServletResponse.java ./jakarta-servletapi-5/jsr154/dist/src/javax/servlet/ServletResponse.java ./jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/ApplicationResponse.java ./jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/ApplicationHttpResponse.java ./jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/DummyResponse.java ./jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Response.java ./jakarta-tomcat-catalina/tester/src/tester/org/apache/tester/UpperCaseResponse.java ./jakarta-tomcat-catalina/tester/src/tester/org/apache/tester/CharArrayResponse.java ./jakarta-tomcat-connectors/jk/java/org/apache/ajp/tomcat4/Ajp13Response.java ./jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3/Tomcat3Response.java ./jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java ./jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/Response.java ./jakarta-tomcat-connectors/webapp/java/org/apache/catalina/connector/warp/WarpResponse.java KR, Hans ----- Original Message ----- From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Wednesday, December 08, 2004 9:55 PM Subject: RE: Lost with sources in CVS > > Hi, > That's OK, don't feel bad asking questions ;) And don't feel bad when > people say you're clueless if you say it's a mess ;) > > For Tomcat 5, Tomcat's source is divided into several CVS modules. > These are jakarta-tomcat-5, jakarta-tomcat-catalina, > jakarta-tomcat-connectors, jakarta-tomcat-jasper, and > jakarta-servletapi-5. > > The last one in the previous list contains the Servlet API classes, so > if you want to change the HttpServletResponse interface, that's where > you would start. > > The build script does checkouts as needed, both for Tomcat's own source > (the above CVS modules) and dependencies as listed in the > build.properties.default file. The checkouts don't use the CVS -C > switch, so they won't override any changes you've made. > > As to your build directory question, you should try it instead of > ranting. You'll find the build script fairly intelligent in not > removing your changes. Of course, if you run the "clean" Ant target, > the directory will be cleaned out. > > Yoav Shapira http://www.yoavshapira.com > > > >-----Original Message----- > >From: Hans Verschoor [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, December 08, 2004 3:41 PM > >To: [EMAIL PROTECTED] > >Subject: Lost with sources in CVS > > > >Hi, > > > >Ok, I'm a newbie in the Tomcat development area, but not in java or > CVS, > >and I don't understand > >anything of what's it like in Tomcat. > >I downloaded the whole thing and ran the ant build. And now I find the > same > >java sources in > >"what the hell is this" locations, js152, j152, catalina, build or > >whatever. > >I find sources in directory path's without the proper package, usually > >"tests", "Clock2" applets > >or "contributions". > >I will probably be my lesser understanding, but I have no idea how to > work > >in these sources. > >Which is the "real" source, will it be overwritten after an update and > >build (because I suspect the build > >directory is written out each time) ? > >Could anyone for instance tell me where I have to work in sources if I > want > >to make a change in the > >servlet response (I just want that and I will do it, no discussion > >please......) > > > >I may be blunt, but TMHO the source and developmant environment is a > mess > >....... > >Sorry I have to say this > > > >KR, Hans