On 25/07/12 12:55, bugzi...@apache.org wrote:
https://issues.apache.org/bugzilla/show_bug.cgi?id=53601

Konstantin Kolinko <knst.koli...@gmail.com> changed:

            What    |Removed                     |Added
----------------------------------------------------------------------------
              Status|NEW                         |RESOLVED
          Resolution|---                         |INVALID
                  OS|                            |All

--- Comment #1 from Konstantin Kolinko <knst.koli...@gmail.com> ---
You are wrong.

1). It is true that Tomcat trunk (aka Tomcat 8) builds only with jdk1.7.
It is as intended. It is expected to implement the Servlet 3.1 specification.

2). Tomcat 7 builds with jdk1.6 and this status quo has not changed.

Anyway your report noticeably lack of details. You should ask on the mailing
list first, before playing around with Bugzilla.

I thought I would step through the latest trunk BUILDING.TXT instructions because I haven't updated my sandbox for at least a month.


Apache Ant(TM) version 1.8.2 compiled on December 3 2011
Trying the default build file: build.xml
Buildfile: /home/brian/sandboxApache/tomcat8/trunk/build.xml
Detected Java version: 1.6 in: /usr/lib/jvm/java-6-sun-1.6.0.26/jre
Detected OS: Linux

compile:
[javac] Compiling 307 source files to /home/brian/sandboxApache/tomcat8/trunk/output/classes
    [javac] javac: invalid target release: 1.7
    [javac] Usage: javac <options> <source files>
    [javac] use -help for a list of possible options

BUILD FAILED

I wondered whether we still need to tell people how to get a JDK...
if they haven't got one already, and aren't familiar with building complex projects, they probably shouldn't be encouraged to start building tomcat from the trunk! In the end, I thought the best compromise would be to just reference a couple of popular JDKs - we don't want to seem partisan, but equally don't want to get dragged into a debate about which is "best".

It might be helpful to list the JDKs that are used to build and test the production releases, but I don't know what they are.

Here is the trivial change to avoid this kind of confusion for the moment!

Index: BUILDING.txt
===================================================================
--- BUILDING.txt        (revision 1366303)
+++ BUILDING.txt        (working copy)
@@ -37,9 +37,10 @@

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

- 2. Download a Java Development Kit (JDK) release (version 1.6.x or later)
-    from:
-
+ 2. Download a Java Development Kit (JDK) release (version 1.7.x or later)
+    e.g.
+        http://openjdk.java.net/install/index.html
+    or
         http://www.oracle.com/technetwork/java/javase/downloads/index.html

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


I hope my contribution is both simple and helpful.

Brian





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

Reply via email to