Re: Problems building 5.5.27 from source

2009-04-19 Thread Mark Thomas
Kirk True wrote:
 Hi all,
 
 I had some problems building 5.5.27 as pulled from
 http://tomcat.apache.org/download-55.cgi.
Thanks for the report.

 The first issue was that I couldn't use a JDK 1.4.2-level compiler as it
 chokes on the class format of the JUnit libraries.
I'll look into this.

 Using JDK 1.6 didn't
 work because of the fact that the java.sql.Wrapper class methods aren't
 implemented in the connection pool module classes.
That is a know issue with DBCP that has been fixed. We are currently
fixing the remaining DBCP (and POOL) issues so we can have a release.

 Secondly, there are some version problems in the
 build.properties.default for which I've submitted a patch (below).
The version number is a known issue. It has been left as is as is was
discovered after the release.

The tc native version is correct. That is the version that shipped with
5.5.27. It is available from the archive.

Mark



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



Re: Problems building 5.5.27 from source

2009-04-19 Thread Mark Thomas
Mark Thomas wrote:
 Kirk True wrote:
 The first issue was that I couldn't use a JDK 1.4.2-level compiler as it
 chokes on the class format of the JUnit libraries.
 I'll look into this.

This works for me if I use the version of JUuit (3.8.2) specified in the
build.properties.default

Mark



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



Re: Problems building 5.5.27 from source

2009-04-17 Thread sebb
On 17/04/2009, Kirk True k...@mustardgrain.com wrote:
 Hi all,

  I had some problems building 5.5.27 as pulled from
 http://tomcat.apache.org/download-55.cgi.

  The first issue was that I couldn't use a JDK 1.4.2-level compiler as it
 chokes on the class format of the JUnit libraries.

AFAIK it requires Java 1.5, see:

http://www.mirrorservice.org/sites/ftp.apache.org/tomcat/tomcat-5/v5.5.27/README.html

Or is there some other documentation that says otherwise?

 Using JDK 1.6 didn't work
 because of the fact that the java.sql.Wrapper class methods aren't
 implemented in the connection pool module classes. So I had to install a
 1.5-era JDK. No biggie.

  Secondly, there are some version problems in the build.properties.default
 for which I've submitted a patch (below). I don't know what the right fix
 is for the native Tomcat dependencies, but this at least allowed the build
 to complete. I couldn't find 1.1.12 anywhere, so while the build doesn't
 complain, I don't _assume_ this is the correct fix.

I don't know about the properties file, perhaps someone more familiar
with Tomcat releases will chip in.

  Thanks,
  Kirk

  --- a/build/build.properties.default2008-08-28
 22:10:32.0 -0700
  +++ b/build/build.properties.default2009-04-17
 11:58:06.0 -0700
  @@ -12,10 +12,10 @@
  # - Vesion Control Flags -
  version.major=5
  version.minor=5
  -version.build=26
  +version.build=27
  version.patch=0
  #Set the pretty version name
  -version=5.5.26
  +version=5.5.27

  # - Compile Control Flags -
  compile.debug=on
  @@ -140,9 +140,9 @@
 jdt.loc=http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.3.1-200709211145/eclipse-JDT-3.3.1.zip

  # - Tomcat native library -
  -tomcat-native.home=${base.path}/tomcat-native-1.1.12
  +tomcat-native.home=${base.path}/tomcat-native-1.1.16
 tomcat-native.tar.gz=${tomcat-native.home}/tomcat-native.tar.gz
 -tomcat-native.loc=${base-tomcat.loc}/tomcat-connectors/native/tomcat-native-1.1.12-src.tar.gz
 +tomcat-native.loc=${base-tomcat.loc}/tomcat-connectors/native/source/1.1.16/tomcat-native-1.1.16-src.tar.gz


  # --


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



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



Re: Problems building 5.5.27 from source

2009-04-17 Thread Kirk True

Hi sebb,

sebb wrote:

On 17/04/2009, Kirk True k...@mustardgrain.com wrote:
  

Hi all,

 I had some problems building 5.5.27 as pulled from
http://tomcat.apache.org/download-55.cgi.

 The first issue was that I couldn't use a JDK 1.4.2-level compiler as it
chokes on the class format of the JUnit libraries.



AFAIK it requires Java 1.5, see:

http://www.mirrorservice.org/sites/ftp.apache.org/tomcat/tomcat-5/v5.5.27/README.html

Or is there some other documentation that says otherwise?
  


In the zip, apache-tomcat-5.5.27-src.zip is a file named 
build/BUILDING.txt which provides steps to build, among which is:


   (0) Download and Install a Java Development Kit

   * If the JDK is already installed, skip to (1).

   * Download a Java Development Kit (JDK) release (version 1.4.x or 
later) from:


   http://java.sun.com/j2se/

   * Install the JDK according to the instructions included with the 
release.


   * Set an environment variable JAVA_HOME to the pathname of the directory
 into which you installed the JDK release.

That's what I went off of.

Kirk


Using JDK 1.6 didn't work
because of the fact that the java.sql.Wrapper class methods aren't
implemented in the connection pool module classes. So I had to install a
1.5-era JDK. No biggie.

 Secondly, there are some version problems in the build.properties.default
for which I've submitted a patch (below). I don't know what the right fix
is for the native Tomcat dependencies, but this at least allowed the build
to complete. I couldn't find 1.1.12 anywhere, so while the build doesn't
complain, I don't _assume_ this is the correct fix.



I don't know about the properties file, perhaps someone more familiar
with Tomcat releases will chip in.

  

 Thanks,
 Kirk

 --- a/build/build.properties.default2008-08-28
22:10:32.0 -0700
 +++ b/build/build.properties.default2009-04-17
11:58:06.0 -0700
 @@ -12,10 +12,10 @@
 # - Vesion Control Flags -
 version.major=5
 version.minor=5
 -version.build=26
 +version.build=27
 version.patch=0
 #Set the pretty version name
 -version=5.5.26
 +version=5.5.27

 # - Compile Control Flags -
 compile.debug=on
 @@ -140,9 +140,9 @@
jdt.loc=http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.3.1-200709211145/eclipse-JDT-3.3.1.zip

 # - Tomcat native library -
 -tomcat-native.home=${base.path}/tomcat-native-1.1.12
 +tomcat-native.home=${base.path}/tomcat-native-1.1.16
tomcat-native.tar.gz=${tomcat-native.home}/tomcat-native.tar.gz
-tomcat-native.loc=${base-tomcat.loc}/tomcat-connectors/native/tomcat-native-1.1.12-src.tar.gz
+tomcat-native.loc=${base-tomcat.loc}/tomcat-connectors/native/source/1.1.16/tomcat-native-1.1.16-src.tar.gz


 # --


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





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

  


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