Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Konstantin Kolinko
2010/2/8 Fabian Panthen : > >>java -version > java version "1.6.0_14" > Java(TM) SE Runtime Environment (build 1.6.0_14-b08) > Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode) > >>echo %JAVA_HOME% > C:\Program Files\Java\jdk1.6.0_14 > >>ant -diagnostics > ... > --

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Fabian Panthen
Has Eclipse (outside of Tomcat) been configured to emit .class files in a certain format? I'm guessing this hasn't been done for 'ant', so maybe they need to match each other. that was one of my guesses, but apart from the compliance level i dont know of any- This happens as well under tom

RE: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Caldarale, Charles R
> From: Fabian Panthen [mailto:f...@unitb-consulting.de] > Subject: Re: jsp compilation fails depending on how WEB-INF classes are > build > > Yes i will try to get round building a simple example. > Until then - the only "exotic" thing is a varargs call to > String

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Fabian Panthen
We will now begin the grasping at straws phase: are there perhaps annotations or other esoterica in the class files that are allowed only in certain levels of the JSP spec? Can you create a relatively simple test case that exhibits the problem without exposing corporate secrets? Yes i w

RE: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Caldarale, Charles R
> From: Fabian Panthen [mailto:f...@unitb-consulting.de] > Subject: Re: jsp compilation fails depending on how WEB-INF classes are > build > > i agree, but, compiling the classes with the path with spaces works > fine in eclipse or ant. the jsp compilation though fails even on

Re: [OT] jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joseph, On 2/8/2010 11:23 AM, Joseph Morgan wrote: >>> There is an Ig-Nobel prize waiting to be atributed, >>> if one can ever identify the guy who came up with that idea first. > > You mean it wasn't Bill??? :-) Although the FAT filesystem (introd

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Fabian Panthen
+1. I would even leave out the word "Windows" and anything after paths-with-spaces above. There is an Ig-Nobel prize waiting to be atributed, if one can ever identify the guy who came up with that idea first. - i agree, but, compiling the classes with the path with spaces works fine in ec

RE: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Joseph Morgan
Tomcat Users List Subject: Re: jsp compilation fails depending on how WEB-INF classes are build Mikolaj Rydzewski wrote: > Fabian Panthen wrote: >> >echo %JAVA_HOME% >> C:\Program Files\Java\jdk1.6.0_14 > I don't think that's the case, but... > There're a lot howt

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread André Warnier
Mikolaj Rydzewski wrote: Fabian Panthen wrote: >echo %JAVA_HOME% C:\Program Files\Java\jdk1.6.0_14 I don't think that's the case, but... There're a lot howtos that encourage Windows users not to use paths-with-spaces for Java programs (Tomcat, ant, JDK itself, etc.). +1. I would even leave

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fabian, On 2/8/2010 8:29 AM, Fabian Panthen wrote: > not sure whether here is the right place to post, but i give it a shot... This is the right place. I would have thought this was a simply "javac" compiler mismatch, but that doesn't appear to be t

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Mikolaj Rydzewski
Fabian Panthen wrote: >echo %JAVA_HOME% C:\Program Files\Java\jdk1.6.0_14 I don't think that's the case, but... There're a lot howtos that encourage Windows users not to use paths-with-spaces for Java programs (Tomcat, ant, JDK itself, etc.). -- Mikolaj Rydzewski --

RE: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Joseph Morgan
I would think so, but there really has to be different versions somehow... I'm lost for ideas now. -Original Message- From: Fabian Panthen [mailto:f...@unitb-consulting.de] Sent: Monday, February 08, 2010 9:00 AM To: Tomcat Users List Subject: Re: jsp compilation fails depending o

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Fabian Panthen
Joseph Morgan schrieb: Fabian, This looks almost certainly like you are compiling with two different versions of the JDK. Spit out the version from the OS and compare that to the version set for Eclipse and Ant. Joe I thougth so, too. But checked this... >java -version java version "1.

RE: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Joseph Morgan
, February 08, 2010 7:30 AM To: users@tomcat.apache.org Subject: jsp compilation fails depending on how WEB-INF classes are build Hello, not sure whether here is the right place to post, but i give it a shot... I have a webapp with JSP's using some classes from WEB-INF/classes in a declaration

jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Fabian Panthen
Hello, not sure whether here is the right place to post, but i give it a shot... I have a webapp with JSP's using some classes from WEB-INF/classes in a declaration block (<%!%>), running in tomcat 6 on jdk1.6.0_14. The problem is such, if I compile the classes in WEB-INF/classes using eclip