You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/07/25 13:42:53 UTC
[Bug 53601] New: tomcat7 build fails with jdk1.6
https://issues.apache.org/bugzilla/show_bug.cgi?id=53601
Priority: P2
Bug ID: 53601
Assignee: dev@tomcat.apache.org
Summary: tomcat7 build fails with jdk1.6
Severity: normal
Classification: Unclassified
Reporter: struberg@yahoo.de
Hardware: PC
Status: NEW
Version: trunk
Component: Catalina
Product: Tomcat 7
Currently tomcat7 can only be build with jdk1.7.
That might become a problem as Servlet-3.0 mandatory requires java6 as
environment.
--
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
[Bug 53601] tomcat7 build fails with jdk1.6
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53601
Brian Burch <Br...@PingToo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |---
--- Comment #2 from Brian Burch <Br...@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
Re: [Bug 53601] tomcat7 build fails with jdk1.6
Posted by Brian Burch <br...@pingtoo.com>.
On 07/08/12 22:46, bugzilla@apache.org wrote:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=53601
>
> Mark Thomas <ma...@apache.org> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|REOPENED |RESOLVED
> Resolution|--- |INVALID
>
> --- Comment #4 from Mark Thomas <ma...@apache.org> ---
> trunk != 7.0.x/trunk hence closing this as INVALID. Maybe we need to start an
> 8.0.x BZ project for 8.0.x specific issues.
That is correct. I used the bugzilla web interface and discovered that
it would not allow me to post against the latest trunk (aka 8.0), only
against 7.0. I decided the most helpful action was to reopen the
original (misdirected) 7.0 bug report.
There really should be an 8.0 option, otherwise we run the risk of
further (possibly more significant) confusion in future.
> I have updated the building instructions for trunk and also included a
> reference to OpenJDK and other JDK vendors although on this occasion I did not
> use the provided patch.
The new wording is fine with me. I only provided a patch in case the
developers were all busy and would have preferred a "proposed default"
wording.
BTW my patch was against a 8.0 trunk revision number, so that should
have disambiguated it. The specific "bug" and change were obviously
trivial, but the meta-topic is not. I hope this follow up does not cause
offence - I'm just trying to be helpful.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 53601] tomcat7 build fails with jdk1.6
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53601
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |INVALID
--- Comment #4 from Mark Thomas <ma...@apache.org> ---
trunk != 7.0.x/trunk hence closing this as INVALID. Maybe we need to start an
8.0.x BZ project for 8.0.x specific issues.
I have updated the building instructions for trunk and also included a
reference to OpenJDK and other JDK vendors although on this occasion I did not
use the provided patch.
--
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
Re: [Bug 53601] tomcat7 build fails with jdk1.6
Posted by Brian Burch <br...@pingtoo.com>.
On 25/07/12 12:55, bugzilla@apache.org wrote:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=53601
>
> Konstantin Kolinko <kn...@gmail.com> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|NEW |RESOLVED
> Resolution|--- |INVALID
> OS| |All
>
> --- Comment #1 from Konstantin Kolinko <kn...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 53601] tomcat7 build fails with jdk1.6
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53601
Konstantin Kolinko <kn...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
OS| |All
--- Comment #1 from Konstantin Kolinko <kn...@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.
--
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
[Bug 53601] tomcat7 build fails with jdk1.6
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53601
--- Comment #3 from Brian Burch <Br...@PingToo.com> ---
Created attachment 29160
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29160&action=edit
patch to JDK section for java 1.7
--
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
[Bug 53601] tomcat8 build fails with jdk1.6
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53601
Konstantin Kolinko <kn...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Catalina |Documentation
Summary|tomcat7 build fails with |tomcat8 build fails with
|jdk1.6 |jdk1.6
--- Comment #5 from Konstantin Kolinko <kn...@gmail.com> ---
Changed Summary to align with the actual issue.
I updated Tomcat 7 docs as well, r1371983. It will be in 7.0.30. Thank you for
reporting this documentation inconsistency.
--
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