tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kitching Simon <Simon.Kitch...@orange.ch>
Subject RE: JSP compilation / debug problem
Date Fri, 15 Sep 2000 16:15:02 GMT
And I've been using Oracle jDeveloper 3.1 which is derived from JBuilder.
It's also pretty flaky, debugger doesn't work, etc. Stay away if possible.

> -----Original Message-----
> From:	Tom Drake [SMTP:tdrake@turnstone.com]
> Sent:	Friday, September 15, 2000 6:11 PM
> To:	'tomcat-user@jakarta.apache.org'
> Subject:	RE: JSP compilation / debug problem
> 
> Steven: 
> 
> Our team has been experiencing similar problems with the JB3.5 build/make.
> In addition, the debugger has serious problems. IMHO, JB 3.5 is a piece of
> crap. We are going to look at their 4.0 to see if it is any better. If
> not, we'll cut over to Symantec.
> 
> --------------------------------------------------- 
> Tom Drake | tdrake@turnstone.com | 408/907-1659 
> --------------------------------------------------- 
> 
> 
> -----Original Message----- 
> From: Steven_Shaw@adc.com [ <mailto:Steven_Shaw@adc.com>] 
> Sent: Thursday, September 14, 2000 8:01 PM 
> To: tomcat-user@jakarta.apache.org 
> Subject: Re: JSP compilation / debug problem 
> 
> 
> 
> 
> Could you maybe use a soft link to the <context_dir> from somewhere else
> and 
> call it 'jsp'. 
> 
>      ln -s ${TOMCAT_HOME}/work/<context_dir> ${SOMEWHERE_ELSE}/jsp 
> 
> Then point JBuilder at ${SOMEWHERE_ELSE}. 
> 
> I have tried to get into using JBuilder 3.5 Foundation afew times, but
> having 
> the .jpr files set up correctly always bothers me. It doesn't seem to
> compile 
> things even when you change them (unless you specfically add every java
> source 
> file to your project - the add package thing just doesn't seem to work 
> properly). Also, I don't know how to set up Tomcat for use from JBuilder
> 'cause 
> I've never got that far! I have a link to an article on that subject
> though: 
> 
>      <http://community.borland.com/article/0,1410,22057,00.html> 
> 
> Could you shed some light on my JBuilder woes? 
> 
> cheers, 
> 
> Steve. 
> 
> 
> 
> 
> 
> rhorowitz@ni4u.com on 15/09/2000 08:35:46 
> 
> Please respond to tomcat-user@jakarta.apache.org 
>                                                               
>                                                               
>                                                               
>  To:      tomcat-user@jakarta.apache.org                      
>                                                               
>  cc:      (bcc: Steven Shaw/Net)                              
>                                                               
>                                                               
>                                                               
>  Subject: JSP compilation / debug problem                     
>                                                               
> 
> 
> 
> 
> 
> 
> 
> I just started using Tomcat and have run into something that should not 
> be hard to improve, and will make it alot easier to debug JSPs in Tomcat 
> with an IDE, specifically JBuilder in my case, but I imagine this 
> applies across the board. 
> 
> Tomcat seems to drop all the generated .java files from .jsp's into the 
> ${TOMCAT_HOME}/work/<context_dir>.  The problem is, my jsp's are 
> arranged hierarchically in subdirectories, the top one of which is 
> jsp/.  When I try to set up JBuilder I can set a breakpoint in the 
> generated .java file for a jsp, it cannot find the .java file associated 
> with a .class file generated for the jsp because the package name of the 
> .java file is set correctly by Tomcat as "package jsp;" in this 
> instance, but the .class and .java files are not in the jsp/ directory. 
> Instead, they're in the top level directory... 
> 
> So, after the .java and .class files were generated, I copied them by 
> hand to the 
> 
> ${TOMCAT_HOME}/work/<context_dir>/jsp/ 
> 
> ...and it worked. 
> 
> Not too hard for this situation, but I happen to have a bunch of 
> subdirectories under jsp/ and it will be a real pain to do this 
> correctly each time I rerun Tomcat. 
> 
> So, here's the request... 
> 
> I realize it may be hard to fully implement the generation of .java and 
> .class files from .jsp's into the right directory structure and you may 
> not want to tackle the whole thing right now (although that seems to me 
> the right fix).  Instead, can you at least copy the generated files into 
> the right subdirectories when they are generated?  That would make it 
> easy to do source-level debugging on the generated files. 
> 
> Thanks, 
> 
> Rick Horowitz 
> 
> 

Mime
View raw message