Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 56742 invoked from network); 27 Oct 2005 17:39:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Oct 2005 17:39:14 -0000 Received: (qmail 39274 invoked by uid 500); 27 Oct 2005 17:39:09 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 38950 invoked by uid 500); 27 Oct 2005 17:39:07 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 38939 invoked by uid 500); 27 Oct 2005 17:39:07 -0000 Delivered-To: apmail-jakarta-tomcat-dev@jakarta.apache.org Received: (qmail 38936 invoked by uid 99); 27 Oct 2005 17:39:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2005 10:39:07 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,HTML_TAG_EXIST_TBODY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [12.11.148.122] (HELO relay2.ptc.com) (12.11.148.122) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2005 10:39:03 -0700 Received: from hq-ex3fe1.ptcnet.ptc.com ([132.253.201.60]) by relay2.ptc.com with ESMTP; 27 Oct 2005 13:38:39 -0400 X-IronPort-AV: i="3.97,259,1125892800"; d="scan'208,217"; a="105886772:sNHT1202109536" Received: from HQ-EX3FE2.ptcnet.ptc.com ([132.253.201.63]) by hq-ex3fe1.ptcnet.ptc.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 27 Oct 2005 13:40:37 -0400 Received: from [132.253.11.50] ([132.253.11.50]) by HQ-EX3FE2.ptcnet.ptc.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 27 Oct 2005 12:39:02 -0400 Message-ID: <436102A0.8050402@ptc.com> Date: Thu, 27 Oct 2005 11:38:56 -0500 From: Jess Holle User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: [Fwd: JSP Precompilation vs. JSR-45 Debugging] References: <4360FCEC.7010305@ptc.com> <43610229.1010507@ptc.com> In-Reply-To: <43610229.1010507@ptc.com> Content-Type: multipart/alternative; boundary="------------020708060701010905090405" X-OriginalArrivalTime: 27 Oct 2005 16:39:02.0471 (UTC) FILETIME=[F024F570:01C5DB14] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --------------020708060701010905090405 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit P.S. If this is as simple as adding a field for this property and a setter, then I'll go ahead and do this in my own Tomcat distro if nothing else... -- Jess Holle Jess Holle wrote: > Not to reply to my own e-mail but after reading the sources this would > appear to be squarely a Tomcat developer issue. > > JspC.isSmapSuppressed() always returns true -- affording no > opportunity to precompile while still generating JSR-45 debug info. > > While that's a great default for production, I for one would really > like the ability to set this to false in development so I can > precompile *and* do JSP source level debugging. > > Thoughts? [Or is this already in 5.5.12? I'm still at 5.5.9.] > > -- > Jess Holle > > Jess Holle wrote: > >> Is this a more appropriate question for the dev list? >> >> -- >> Jess Holle >> >> >> ------------------------------------------------------------------------ >> >> Subject: >> JSP Precompilation vs. JSR-45 Debugging >> From: >> Jess Holle >> Date: >> Thu, 27 Oct 2005 08:45:47 -0500 >> To: >> Tomcat Users List >> >> To: >> Tomcat Users List >> >> >> I have noticed that when I use an Ant script based on that documented >> in the Tomcat docs to precompile all my JSPs the resulting JSPs do >> not support source-level (JSR-45) debugging. >> >> I thought I was doing something wrong so I looked through the JspC >> source code and I can't see how I could feed it anything more >> information. >> >> As an added complication I have an extra directory that I need in the >> compilation classpath. I have extended the web app classloader to >> handle this and added a line to the javac classpath in the Ant >> script. Thus things work fine in that respect but I need that to >> keep working -- I just want to have an option to do source-level JSP >> debugging as well. >> >> What am I missing? >> >> -- >> Jess Holle >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> > --------------020708060701010905090405--