You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Ian Flanigan <ia...@gmail.com> on 2005/01/05 23:03:12 UTC
Problems checking out Tomcat 5.0 from CVS
Hi all,
I'm trying to checkout and compile the latest Tomcat 5.0 sources from
CVS, but I seem to get the 5.5 sources instead. I used the following
command to get the build.xml.
$ wget http://jakarta.apache.org/tomcat/tomcat-5.0-doc/build.xml
and use the following build.properties file:
$ cat build.properties
# ----- Proxy setup -----
# Uncomment if using a proxy server.
#proxy.host=proxy.domain
#proxy.port=8080
#proxy.use=on
# ----- Default Base Path for Dependent Packages -----
# Replace this path with the directory path where
# dependencies binaries should be downloaded.
base.path=C:/Documents and Settings/flan/My
Documents/Work/Personal/Tomcat/dependencies
The build succeeds, but when I look at the CVS version of files that I
*know* are different in 5.0 and 5.5, I find the 5.5 version. For
example:
$ cat jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/CVS/Entries
/Authenticators.properties/1.1.1.1/Thu Jul 18 16:47:47 2002//
/Bootstrap.java/1.21/Sat Aug 21 19:34:59 2004//
/Catalina.java/1.35/Sat Oct 23 16:54:23 2004//
[...]
/HostConfig.java/1.52/Mon Jan 3 16:10:19 2005//
[...]
What is the best way to check out the 5.0 sources?
Thanks,
Ian Flanigan
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
Re: Problems checking out Tomcat 5.0 from CVS
Posted by Ian Flanigan <ia...@gmail.com>.
Thanks for your help. I was able to build the TOMCAT_5_0 branch with
one change:
Index: catalina/src/share/org/apache/catalina/realm/RealmBase.java
===================================================================
RCS file: /home/cvspublic/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm/RealmBase.java,v
retrieving revision 1.33.2.3
diff -u -r1.33.2.3 RealmBase.java
--- catalina/src/share/org/apache/catalina/realm/RealmBase.java 9 Dec
2004 13:52:59 -0000 1.33.2.3
+++ catalina/src/share/org/apache/catalina/realm/RealmBase.java 5 Jan
2005 23:34:52 -0000
@@ -1094,7 +1094,7 @@
byte[] digest = null;
// Bugzilla 32137
- synchornized(md5Helper) {
+ synchronized(md5Helper) {
digest = md5Helper.digest(valueBytes);
}
This seems to be just a small syntax error.
Thanks again,
Ian Flanigan
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
Re: Problems checking out Tomcat 5.0 from CVS
Posted by Yoav Shapira <yo...@apache.org>.
Hi,
You can use the cvstag (IIRC, I haven't used it in ages) property. If you
check out the right modules, build.properties.default and its dependencies will
be correct.
Yoav
--- Ian Flanigan <ia...@gmail.com> wrote:
> On Wed, 5 Jan 2005 14:10:31 -0800 (PST), Yoav Shapira <yo...@apache.org>
> wrote:
> >
> > You need to use the TOMCAT_5_0 CVS tag when checking out.
>
> Okay, I know how to do that by hand, but is there a "blessed" way to
> do it with the build.xml file? I couldn't find a related property.
> Should I checkout all of the projects using the TOMCAT_5_0 branch, or
> only certain ones? How will this affect the shared dependencies?
>
> Thanks for your help,
>
> Ian Flanigan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
Re: Problems checking out Tomcat 5.0 from CVS
Posted by Ian Flanigan <ia...@gmail.com>.
On Wed, 5 Jan 2005 14:10:31 -0800 (PST), Yoav Shapira <yo...@apache.org> wrote:
>
> You need to use the TOMCAT_5_0 CVS tag when checking out.
Okay, I know how to do that by hand, but is there a "blessed" way to
do it with the build.xml file? I couldn't find a related property.
Should I checkout all of the projects using the TOMCAT_5_0 branch, or
only certain ones? How will this affect the shared dependencies?
Thanks for your help,
Ian Flanigan
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
Re: Problems checking out Tomcat 5.0 from CVS
Posted by Yoav Shapira <yo...@apache.org>.
Hi,
You need to use the TOMCAT_5_0 CVS tag when checking out. That stuff is on its
own branch.
Yoav
--- Ian Flanigan <ia...@gmail.com> wrote:
> Hi all,
>
> I'm trying to checkout and compile the latest Tomcat 5.0 sources from
> CVS, but I seem to get the 5.5 sources instead. I used the following
> command to get the build.xml.
>
> $ wget http://jakarta.apache.org/tomcat/tomcat-5.0-doc/build.xml
>
> and use the following build.properties file:
>
> $ cat build.properties
> # ----- Proxy setup -----
> # Uncomment if using a proxy server.
> #proxy.host=proxy.domain
> #proxy.port=8080
> #proxy.use=on
>
> # ----- Default Base Path for Dependent Packages -----
> # Replace this path with the directory path where
> # dependencies binaries should be downloaded.
> base.path=C:/Documents and Settings/flan/My
> Documents/Work/Personal/Tomcat/dependencies
>
> The build succeeds, but when I look at the CVS version of files that I
> *know* are different in 5.0 and 5.5, I find the 5.5 version. For
> example:
>
> $ cat
>
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/CVS/Entries
> /Authenticators.properties/1.1.1.1/Thu Jul 18 16:47:47 2002//
> /Bootstrap.java/1.21/Sat Aug 21 19:34:59 2004//
> /Catalina.java/1.35/Sat Oct 23 16:54:23 2004//
> [...]
> /HostConfig.java/1.52/Mon Jan 3 16:10:19 2005//
> [...]
>
> What is the best way to check out the 5.0 sources?
>
> Thanks,
>
> Ian Flanigan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org