This is definitely cool.  Anyone know if such a thing exists for Tomcat?

-jt

----- Original Message ----- 
From: "Marc S. Penner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 3:12 PM
Subject: Re: Precompiling JSP Pages?


> This is the rule that I have used in the build.xml file for pre-compiling
> JSPs using WebLogic 6.0 jspc via an Ant build.  Obviously the properties
> (e.g. CLASSPATH) and paths need to be set up properly for this to work.
> 
> 
>     <target name="jsp">
>         <java
> classpath="${CLASSPATH};${SRC_DIR}\docroot;${PROJECT_HOME}\stage"
>               classname="weblogic.jspc"
>               fork="yes">
>             <arg value="-webapp"/>
>             <arg value="source/docroot"/>
>             <arg value="-d"/>
>             <arg value="stage/WEB-INF/classes"/>
>             <arg value="-depend"/>
>             <arg value="-keepgenerated"/>
>             <arg value="source/docroot/*.jsp"/>
>         </java>
>     </target>
> 
> Marc
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 

Reply via email to