RE: building tomcat source in eclipse

2004-08-14 Thread Hiller, Dean D (Dean)
Ant is at ant.apache.org.  download is just a target.  Read up on ant to
understand more.  They have mailing lists there.  

Doing it in eclipse...I don't think this is an eclipse list.  Look at
the eclipse documentation in the help about ant and if you have trouble
there are many great eclipse forums out there(I have used them myself)
Thanks,
dean

-Original Message-
From: Chris [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 13, 2004 1:58 PM
To: Tomcat Developers List
Subject: Re: building tomcat source in eclipse

  The trick is to get all dependencies. Do an ant download, then
create
  project for repository, tomcat-connectors, tomcat-catalina, jasper,
  servletapi ( with the obvious dependencis ). 

What is ant download ? How to do that in Eclipse?

TIA

- Original Message - 
From: Patrick Lacson [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 2:08 AM
Subject: Re: building tomcat source in eclipse


 Thanks Costin, I'll give that a try.  
 
 
 
 On Thu, 12 Aug 2004 22:07:50 -0700, Costin Manolache
 [EMAIL PROTECTED] wrote:
  The trick is to get all dependencies. Do an ant download, then
create
  project for repository, tomcat-connectors, tomcat-catalina, jasper,
  servletapi ( with the obvious dependencis ). Eclipse will find all
  source trees and jars, then compile without problems. Same works
  in Idea.
  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



SWEEEEET....thankyou thankyou thankyou

2004-08-14 Thread Hiller, Dean D (Dean)
My god, that was so much easier.  I couldn't thank you enough for the
.classpath/.project files.  Only took an hour to change the classpath
stuff to my machine(as eclipse uses absolute paths and I have it checked
out to a different directory).
Thanks,
dean

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 12, 2004 5:18 PM
To: 'Tomcat Developers List'
Subject: RE: building tomcat source in eclipse

The ant script is quite sophisticated. There are lots of optional things
that
don't get built if you don't set the appropriate option - AFAIR mail.jar
is one
of these. I wouldn't even bother trying to build Tomcat directly in
Eclipse. The
best you can hope for is to call the ant script from Eclipse.

I'll send you the eclipse files directly - the apache mailing server
won't
accept zips.

Mark


 -Original Message-
 From: Hiller, Dean D (Dean) [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, August 12, 2004 11:52 PM
 To: Tomcat Developers List; Patrick Lacson
 Subject: RE: building tomcat source in eclipse
 
 I am just trying not to have 800 errors when I run tomcat in eclipse.
 It would be easier if someone just provided .project and .classpath
 files.  I am working on setting up in eclipse.  Am down to 
 800 problems
 from 1000, and am still playing with it.  I can't find mail.jar that
 eclipse is using(might need to just go get it myself), but I can't
 figure out how tomcat built successfully without it via command line.
 Couldn't find it anywhere including /usr/java/share nor the 
 tomcat view
 I have...and that is after building everything fine from command line.
 Thanks,
 dean
 
 -Original Message-
 From: Mark Thomas [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, August 12, 2004 2:24 PM
 To: 'Tomcat Developers List'; 'Patrick Lacson'
 Subject: RE: building tomcat source in eclipse
 
 What are you trying to achieve? I use Eclipse to develop TC5 
 ( TC4) but
 always
 build from the command line. I have each of the top level directories
 created by
 the build script as an Eclipse project. You can still use remote
 debugging etc
 as well as all the other Eclipse features.
 
 Mark
 
  -Original Message-
  From: Patrick Lacson [mailto:[EMAIL PROTECTED] 
  Sent: Thursday, August 12, 2004 9:16 PM
  To: [EMAIL PROTECTED]
  Subject: building tomcat source in eclipse
  
  I searched the archives regarding my question and found nothing.
  
  Has anybody successfully built the tomcat 5 source tree from within
  eclipse?  If so could share your .project and .classpath file?
  
  I want to build and run tomcat from within eclipse, 
 launching it as a
  Java Application within the IDE.
  
  thanks,
  patrick
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Digester

2004-08-14 Thread Hiller, Dean D (Dean)
This Digester for parsing xml looks kind of interesting.  It kind of
reminds me of xsd's.  I am curious why not just use an xsd and JAXB tool
to generate your objects.  Of course, I assume this was done long before
xsd's were even around.  Maybe the reason is just that.  I am also
wondering if there are other advantages over using JAXB with this
Digester stuff.  Looks kind of neat either way.

Thanks,

dean



tomcat build broken with strange javac error(never seen this one before)

2004-08-12 Thread Hiller, Dean D (Dean)
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\catalina\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/servlet/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



RE: tomcat build broken with strange javac error(never seen this one before)

2004-08-12 Thread Hiller, Dean D (Dean)
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:[EMAIL PROTECTED] 
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) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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\catalina\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/servlet/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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: building tomcat source in eclipse

2004-08-12 Thread Hiller, Dean D (Dean)
I second this.  That would rock.  If anyone could provide the .project
and .classpath files, that would be easy to set up in eclipse.  (I am
currently trying to build from command line first but my next step was
to bring it into eclipse)
dean

-Original Message-
From: Patrick Lacson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 12, 2004 2:16 PM
To: [EMAIL PROTECTED]
Subject: building tomcat source in eclipse

I searched the archives regarding my question and found nothing.

Has anybody successfully built the tomcat 5 source tree from within
eclipse?  If so could share your .project and .classpath file?

I want to build and run tomcat from within eclipse, launching it as a
Java Application within the IDE.

thanks,
patrick

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat build broken with strange javac error(never seen this one before)

2004-08-12 Thread Hiller, Dean D (Dean)
Cool, thanks.
dean

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED] 
 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:[EMAIL PROTECTED] 
 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) [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



both jdk1.5 and jdk1.4 needed to build tomcat????

2004-08-12 Thread Hiller, Dean D (Dean)
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:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED] 
 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:[EMAIL PROTECTED] 
 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) [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 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

RE: both jdk1.5 and jdk1.4 needed to build tomcat????

2004-08-12 Thread Hiller, Dean D (Dean)
Thanks, I will do that.
dean

-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 12, 2004 3:49 PM
To: Tomcat Developers List
Subject: Re: both jdk1.5 and jdk1.4 needed to build tomcat

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) [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
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:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED] 
 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:[EMAIL PROTECTED] 
 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) [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 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

solved thanks, all, moron me

2004-08-12 Thread Hiller, Dean D (Dean)
I should have read this e-mail better I realized.  Sorry for being a
timesuck.  Should have just use 1.4 from the start.
dean

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 12, 2004 1:11 PM
To: Tomcat Developers List
Subject: RE: tomcat build broken with strange javac error(never seen
this one before)

Hi,
The build file works for me.

Your servlet-api jar was built with JDK 1.5, so you must build the rest
of Tomcat with JDK 1.5.  Alternatively, build servlet-api.jar with JDK
1.4 and build the rest of Tomcat with JDK 1.4 as well.  You get the
general point ;)


Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Hiller, Dean D (Dean) [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 3:00 PM
To: [EMAIL PROTECTED]
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\catalina\s
r
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/servlet/Ser
v
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: building tomcat source in eclipse

2004-08-12 Thread Hiller, Dean D (Dean)
I am just trying not to have 800 errors when I run tomcat in eclipse.
It would be easier if someone just provided .project and .classpath
files.  I am working on setting up in eclipse.  Am down to 800 problems
from 1000, and am still playing with it.  I can't find mail.jar that
eclipse is using(might need to just go get it myself), but I can't
figure out how tomcat built successfully without it via command line.
Couldn't find it anywhere including /usr/java/share nor the tomcat view
I have...and that is after building everything fine from command line.
Thanks,
dean

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 12, 2004 2:24 PM
To: 'Tomcat Developers List'; 'Patrick Lacson'
Subject: RE: building tomcat source in eclipse

What are you trying to achieve? I use Eclipse to develop TC5 ( TC4) but
always
build from the command line. I have each of the top level directories
created by
the build script as an Eclipse project. You can still use remote
debugging etc
as well as all the other Eclipse features.

Mark

 -Original Message-
 From: Patrick Lacson [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, August 12, 2004 9:16 PM
 To: [EMAIL PROTECTED]
 Subject: building tomcat source in eclipse
 
 I searched the archives regarding my question and found nothing.
 
 Has anybody successfully built the tomcat 5 source tree from within
 eclipse?  If so could share your .project and .classpath file?
 
 I want to build and run tomcat from within eclipse, launching it as a
 Java Application within the IDE.
 
 thanks,
 patrick
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]