tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53601] tomcat7 build fails with jdk1.6
Date Fri, 03 Aug 2012 11:33:56 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53601

Brian Burch <Brian@PingToo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #2 from Brian Burch <Brian@PingToo.com> ---
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 it is still necessary 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.

I will attach a patch for a trivial change, which will hopefully avoid this
kind of confusion in future!

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message