Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 57073 invoked from network); 27 Oct 2005 17:39:47 -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:47 -0000 Received: (qmail 41364 invoked by uid 500); 27 Oct 2005 17:39:40 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 41299 invoked by uid 500); 27 Oct 2005 17:39:40 -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 41288 invoked by uid 500); 27 Oct 2005 17:39:40 -0000 Delivered-To: apmail-jakarta-tomcat-dev@jakarta.apache.org Received: (qmail 41285 invoked by uid 99); 27 Oct 2005 17:39:40 -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:40 -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:36 -0700 Received: from hq-ex3fe1.ptcnet.ptc.com ([132.253.201.60]) by relay2.ptc.com with ESMTP; 27 Oct 2005 13:39:01 -0400 X-IronPort-AV: i="3.97,259,1125892800"; d="scan'208,217"; a="105887335:sNHT1646297376" 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:37:05 -0400 Message-ID: <43610229.1010507@ptc.com> Date: Thu, 27 Oct 2005 11:36:57 -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> In-Reply-To: <4360FCEC.7010305@ptc.com> Content-Type: multipart/alternative; boundary="------------040205000405070502090100" X-OriginalArrivalTime: 27 Oct 2005 16:37:05.0853 (UTC) FILETIME=[AAA276D0:01C5DB14] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --------------040205000405070502090100 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 > --------------040205000405070502090100--