Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 1771 invoked from network); 12 Aug 2004 21:49:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Aug 2004 21:49:02 -0000 Received: (qmail 1959 invoked by uid 500); 12 Aug 2004 21:48:48 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 1900 invoked by uid 500); 12 Aug 2004 21:48:47 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 1887 invoked by uid 99); 12 Aug 2004 21:48:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [66.49.144.157] (HELO host12-server.com) (66.49.144.157) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 12 Aug 2004 14:48:47 -0700 Received: from lqfhvaio ([198.212.148.79]) by host12-server.com (8.11.6/8.11.6) with SMTP id i7CLmjX31804 for ; Thu, 12 Aug 2004 17:48:45 -0400 Message-ID: <015a01c480b6$248adce0$dd01dc0a@Corp.LaQuinta.com> From: "Filip Hanik - Dev" To: "Tomcat Developers List" References: <676171B29CCEA84FBE05EEA11935AE63046CAD8A@cof110avexu1.global.avaya.com> Subject: Re: both jdk1.5 and jdk1.4 needed to build tomcat???? Date: Thu, 12 Aug 2004 16:48:45 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N It works for me with those steps using JDK 1.4, no problem if you need to try again, I suggest to clean your machine, and start over (this includes all the downloads in /usr/share/java) Filip ----- Original Message ----- From: "Hiller, Dean D (Dean)" To: "Tomcat Developers List" Sent: Thursday, August 12, 2004 4:38 PM Subject: both jdk1.5 and jdk1.4 needed to build tomcat???? I for some reason needed 1.4jdk and 1.5jdk to build tomcat. My steps are below. Any help would be appreciated as to how I can correct this.... Using jdk1.5 and Filip's great list of steps(thanks Filip, the list made life easier, and I am almost there) I go through the list to build tomcat 1. cvs co jakarta-tomcat-5 works great 2. cd jakarta-tomcat-5 obviously works 3. ant update works great 4. ant download breaks, and looks like 1.5 problems, so I switch to 1.4 and it works!!!. Basically the tomcat-deps module is not compiling in 1.5 as it conflicts with many different things. 5. ant dist sticking with 1.4 doesn't work, and going to 1.5 doesn't work. So now, I am basically stuck again on Jakarta-tomcat-5/build/classes not compiling at all. I am not sure where to go. I am trying to think what are the possibilities of what is wrong. 1. I need to do some configuration which I haven't done. 2. Builds currently don't work if starting from scratch as something was modified on accident? 3. they do work if you already had everything downloaded? I followed the steps above twice. I don't suppose having to switch between 1.4 and 1.5 makes my situation easier to debug, as that could be part of my problem too. Don't suppose someone just wants to send me a zipped up version of their view that builds?? I would like to fix this and will continue to look at the problem, but I am not really sure where to start so it may take me some time as I jump into all this. Thanks, dean -----Original Message----- From: Mark Thomas [mailto:markt@apache.org] Sent: Thursday, August 12, 2004 2:16 PM To: 'Tomcat Developers List' Subject: RE: tomcat build broken with strange javac error(never seen this one before) 1. Ignore the "stop sending me mail" message. Someone has managed to get themselves subscribed to the list and is obviously incapable of following the simple instructions included in every mail to unsubscribe. One of the list owners (of which I am one) will sort this out. 2. & 3. The right place to posts depends on the question and will always be a judgement call and different people will make different judgements. I wouldn't worry about it too much - personally I thought this one was on the border line. Mark > -----Original Message----- > From: Hiller, Dean D (Dean) [mailto:dhiller@avaya.com] > Sent: Thursday, August 12, 2004 8:29 PM > To: Tomcat Developers List > Subject: RE: tomcat build broken with strange javac > error(never seen this one before) > > Huh, 3 questions about this mail list then..... > > 1. confused by "stop sending me mail" when this is my first > mail to this > list > 2. Huh, I thought building would be a developer issue???? > 3. Where should I post future questions on the source code I > am looking > at in tomcat??? The users list states it is for configuration issues, > etc. > > ps. Thanks shapira for the jdk1.5 note. That makes sense, duh. > Thanks, > dean > > -----Original Message----- > From: Joshua Paul [mailto:joshua@arimiami.com] > Sent: Thursday, August 12, 2004 1:21 PM > To: Tomcat Developers List > Subject: Re: tomcat build broken with strange javac error(never seen > this one before) > > Stop sending me e-mail. > ----- Original Message ----- > From: "Hiller, Dean D (Dean)" > To: > Sent: Thursday, August 12, 2004 3:00 PM > Subject: tomcat build broken with strange javac error(never seen this > one > before) > > > I have never seen an error from javac like this before(and I am by no > means new to java). I have even read the JLS and am not sure what in > the world this is. Can anyone point me somewhere on how to > resolve this > issue? Or possibly point me to a build.xml for tomcat5 that > works? The > one on the website does not work as I get the below. I am using > 1.4.2_05. Does the build.xml file work for anyone else? If so, what > version of java are you using? > > > > > > build-catalina-core: > > [javac] Compiling 302 source files to > C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes > > [javac] > C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\c > atalina\sr > c\share\org\apache\catalina\Container.java:23: cannot access > javax.servlet.ServletException > > [javac] bad class file: > C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/se > rvlet/Serv > letException.class) > > [javac] class file has wrong version 49.0, should be 48.0 > > [javac] Please remove or make sure it appears in the correct > subdirectory of the classpath. > > [javac] import javax.servlet.ServletException; > > [javac] ^ > > [javac] 1 error > > > > Also, I really want to know more about this error and how it is > possible. Does anyone know what this means? Ps. Am I on the wrong > list? Is this really a problem with the servlet api jar?, but which > project is that and who do I talk to??? > > thanks, > > dean > > > > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org