The issue is that at least in 5.5.9 this attribute appears to be *hard-wired* in JspC so that you can't override the default via a simple Ant task attribute or command line argument.

I guess I should double check the latest sources. Otherwise I'm inclined to change this in our own Tomcat distro.

--
Jess Holle

Kin-man Chung wrote:

I believe Smap is suppressed by default in JSPC.  There is
a switch to term it on (-smap ?).  Don't remember what the
ant task attribute name is (smapSuppressed="false" ??).

-Kin-man

On Thu, 2005-10-27 at 09:14, Jess Holle wrote:
Is this a more appropriate question for the dev list?

--
Jess Holle


______________________________________________________________________

From: Jess Holle <[EMAIL PROTECTED]>
To: Tomcat Users List <tomcat-user@jakarta.apache.org>
Subject: JSP Precompilation vs. JSR-45 Debugging
Date: 27 Oct 2005 08:45:47 -0500

Return-path: [EMAIL PROTECTED]
Received: from hq-ex3fe1.ptcnet.ptc.com ([132.253.201.60])
by HQ-MAIL3.ptcnet.ptc.com with Microsoft SMTPSVC(6.0.3790.1830);       Thu,
27 Oct 2005 09:46:17 -0400
Received: from relay1.ptc.com ([12.11.148.121]) by hq-ex3fe1.ptcnet.ptc.com
with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 27 Oct 2005 09:46:17 -0400
Received: from hermes.apache.org (HELO mail.apache.org) ([209.237.227.199])
by relay1.ptc.com with SMTP; 27 Oct 2005 09:43:38 -0400
Received: (qmail 4564 invoked by uid 500); 27 Oct 2005 13:43:36 -0000
Received: (qmail 4547 invoked by uid 500); 27 Oct 2005 13:43:35 -0000
Received: (qmail 4543 invoked by uid 99); 27 Oct 2005 13:43:35 -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 06:43:35 -0700
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 06:43:29 -0700
Received: from hq-ex3fe2.ptcnet.ptc.com ([132.253.201.63])
by relay2.ptc.com with ESMTP; 27 Oct 2005 09:43:11 -0400
Received: from hq-ex3fe1.ptcnet.ptc.com ([132.253.201.60])
by HQ-EX3FE2.ptcnet.ptc.com with Microsoft SMTPSVC(6.0.3790.1830);      Thu,
27 Oct 2005 09:45:49 -0400
Received: from [132.253.11.50] ([132.253.11.50]) by hq-ex3fe1.ptcnet.ptc.com
with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 27 Oct 2005 09:45:48 -0400
Date: Thu, 27 Oct 2005 08:45:47 -0500
From: Jess Holle <[EMAIL PROTECTED]>
Subject: JSP Precompilation vs. JSR-45 Debugging
In-reply-to: <[EMAIL PROTECTED]>
To: Tomcat Users List <tomcat-user@jakarta.apache.org>
Reply-to: "Tomcat Users List" <users@tomcat.apache.org>
Message-id: <[EMAIL PROTECTED]>
X-Envelope-from: [EMAIL PROTECTED]
X-Envelope-to: @bedge2-mail1.central.sun.com:[EMAIL PROTECTED]
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
Precedence: bulk
Delivered-to: mailing list users@tomcat.apache.org
Delivered-to: [EMAIL PROTECTED]
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Received-SPF: pass (asf.osuosl.org: local policy)
X-Account-Key: account1
X-BrightmailFiltered: true
X-Brightmail-Tracker: AAAAAQAAA+k=
X-IronPort-AV: i="3.97,258,1125892800";   d="scan'208";
a="86074334:sNHT20043712"
X-ASF-Spam-Status: No, hits=0.5 required=10.0   tests=DNS_FROM_RFC_ABUSE
X-Spam-Check-By: apache.org
X-IronPort-AV: i="3.97,258,1125892800";   d="scan'208";
a="105871541:sNHT15778616"
X-Virus-Checked: Checked by ClamAV on apache.org
References: <[EMAIL PROTECTED]>
List-Post: <mailto:users@tomcat.apache.org>
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Id: <users.tomcat.apache.org>
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
X-OriginalArrivalTime: 27 Oct 2005 13:45:48.0759 (UTC)
FILETIME=[BD025E70:01C5DAFC]

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: [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]


Reply via email to