tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Lost with sources in CVS
Date Thu, 09 Dec 2004 13:22:13 GMT

Hi,
No offense, but if you can't figure that out, you shouldn't be messing
around with this stuff.  There's only one source, the others are copies
for distribution for packaging.

Yoav Shapira http://www.yoavshapira.com
 

>-----Original Message-----
>From: Hans Verschoor [mailto:hanjen@xs4all.nl]
>Sent: Wednesday, December 08, 2004 5:35 PM
>To: Tomcat Developers List
>Subject: Lost with sources in CVS
>
>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.j
ava
>./jakarta-servletapi-
>5/jsr154/dist/src/javax/servlet/http/HttpServletResponse.java
>./jakarta-servletapi-5/jsr154/dist/src/javax/servlet/ServletResponse.ja
va
>./jakarta-tomcat-
>catalina/catalina/src/share/org/apache/catalina/core/ApplicationRespons
e.ja
>va
>./jakarta-tomcat-
>catalina/catalina/src/share/org/apache/catalina/core/ApplicationHttpRes
pons
>e.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.ja
va
>./jakarta-tomcat-
>connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.jav
a
>./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" <Yoav.Shapira@mpi.com>
>To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org>
>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:hanjen@xs4all.nl]
>> >Sent: Wednesday, December 08, 2004 3:41 PM
>> >To: tomcat-dev@jakarta.apache.org
>> >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



This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message