ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Medwith" <mmedw...@hotmail.com>
Subject Re: JSPC with Tomcat
Date Fri, 28 Mar 2003 15:28:37 GMT
Will this result in the _jsp to be added?

>From: "Carl Trusiak" <carl_trusiak@hotmail.com>
>Reply-To: "Ant Users List" <user@ant.apache.org>
>To: user@ant.apache.org
>Subject: Re: JSPC with Tomcat
>Date: Fri, 28 Mar 2003 10:18:04 -0500
>MIME-Version: 1.0
>X-Originating-IP: [147.154.235.51]
>X-Originating-Email: [carl_trusiak@hotmail.com]
>Received: from apache.org ([208.185.179.12]) by mc3-f14.law16.hotmail.com 
>with Microsoft SMTPSVC(5.0.2195.5600); Fri, 28 Mar 2003 07:18:18 -0800
>Received: (qmail 46487 invoked by uid 500); 28 Mar 2003 15:18:02 -0000
>Received: (qmail 46476 invoked from network); 28 Mar 2003 15:18:02 -0000
>Received: from f110.law12.hotmail.com (HELO hotmail.com) (64.4.19.110)  by 
>daedalus.apache.org with SMTP; 28 Mar 2003 15:18:02 -0000
>Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; 
>Fri, 28 Mar 2003 07:18:04 -0800
>Received: from 147.154.235.51 by lw12fd.law12.hotmail.msn.com with 
>HTTP;Fri, 28 Mar 2003 15:18:04 GMT
>X-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP
>Mailing-List: contact user-help@ant.apache.org; run by ezmlm
>Precedence: bulk
>List-Unsubscribe: <mailto:user-unsubscribe@ant.apache.org>
>List-Subscribe: <mailto:user-subscribe@ant.apache.org>
>List-Help: <mailto:user-help@ant.apache.org>
>List-Post: <mailto:user@ant.apache.org>
>List-Id: "Ant Users List" <user.ant.apache.org>
>Delivered-To: mailing list user@ant.apache.org
>Message-ID: <F110nyVyIsRrrs9Y43O0000e19e@hotmail.com>
>X-OriginalArrivalTime: 28 Mar 2003 15:18:04.0821 (UTC) 
>FILETIME=[3ACE6450:01C2F53D]
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>Return-Path: user-return-31190-mmedwith=hotmail.com@ant.apache.org
>
>Personnally (And I my be unpopular with this:) ) I think you could get more 
>accurate results creating a new Jspc task following the logic I used to 
>create the OJspc Task.  Use a wrapper around Ant's JavaCommandLine class 
>and simply call Tomcats org.apache.jasper.JspC directly.
>
>Usage: jspc <options> [--] <jsp files>
>where jsp files is any number of:
>    <file>         A file to be parsed as a jsp page
>    -webapp <dir>  A directory containing a web-app, all jsp pages
>                   will recursivly be parsed
>where options include:
>    -q          Quite mode (same as -v0)
>    -v[#]       Verbose mode (optional number is level, default is 2)
>    -d <dir>    Output Directory
>    -dd <dir>   Literal Output Directory.  (package dirs will not be made)
>    -l          Outputs the name of the JSP page upon failure
>    -s          Outputs the name of the JSP page upon success
>    -p <name>   Name of target package
>    -c <name>   Name of target class name
>                (only applies to first JSP page)
>    -mapped     Generate separate write() calls for each HTML line in the 
>JSP
>    -die[#]     Generate an error return code (#) on fatal errors.
>                If the number is absent or unparsable it defaults to 1.
>    -uribase <dir>  The uri directory compilations shoule be relative to
>                    (Default is "/")
>    -uriroot <dir>  The root directory that uri files should be resolved
>                    against, (Default is the directory jspc is invoked 
>from)
>    -webinc <file>  Creates partial servlet mapings for the -webapp option
>    -webxml <file>  Creates a complete web.xml when using the -webapp 
>option.
>    -ieplugin <clsid>  Java Plugin classid for Internet Explorer
>    -sax2 <driverclassname>  Driver class name for the SAX 2.0 parser to be 
>used
>
>The ojspc task can be found at:
>http://www.pittjug.org/JSPWiki/Wiki.jsp?page=CarlTrusiak
>Carl
>
>
>
>
>
>
>
>>From: "Mike Medwith" <mmedwith@hotmail.com>
>>Reply-To: "Ant Users List" <user@ant.apache.org>
>>To: user@ant.apache.org
>>Subject: JSPC with Tomcat
>>Date: Fri, 28 Mar 2003 09:04:06 -0500
>>
>>Using the jspc task turns test.jsp into test.java.  Where tomcat turns 
>>test.jsp in test_jsp.java.... how can I mimic that so I may use the 
>>preconmpiled jsps withing tomcat?
>>
>>-Mike Medwith
>>
>>_________________________________________________________________
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>For additional commands, e-mail: user-help@ant.apache.org
>>
>
>
>_________________________________________________________________
>Add photos to your messages with MSN 8. Get 2 months FREE*.  
>http://join.msn.com/?page=features/featuredemail
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>


_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


Mime
View raw message