ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schulte-Döinghaus, Meinolf, NMG-ME" <Meinolf.Schulte-Doeingh...@Bertelsmann.de>
Subject AW: using jspc tag
Date Thu, 05 Dec 2002 14:11:46 GMT
Hi, 
I've done jsp precompilng for weblogic by using 
the java tag. Maybe it helps:



  <!-- ######################## -->
  <!-- Compile JSPs             -->
  <!-- ######################## -->
  <target name="jspc" depends="init,copyprops,compile,test,copyconfig">
      <java
        fork="yes"
        classpath="${classpath}${path.separator}${classpath.compile}"
        classname="weblogic.jspc" >
        <arg line="-d ${classes} -webapp ${web} -compileAll -keepgenerated
-O"/>
      </java>
  </target>


webapp is the "document root path where to find the jsps

Best
Meinolf




-----Ursprüngliche Nachricht-----
Von: Shankar [mailto:ashubhat@rediffmail.com]
Gesendet am: Donnerstag, 5. Dezember 2002 12:41
An: ant-user@jakarta.apache.org
Betreff: using jspc tag

Hi friends,

Can any one please give me an example how to use jspc and 
precomile jsps.  And how to give mapping from the resulting 
compiled servlets into the proper jsp in web.xml.

Thankx






--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message