>>>>> "ext" == ext Ciramella, EJ <[EMAIL PROTECTED]> writes:
ext> ------_=_NextPart_001_01C398B6.A90B3660 ext> Content-Type: text/plain; ext> charset="iso-8859-1" ext> Has anyone done any work precompiling jsps for WebSphere. If so, could they ext> share any tips/tatics? I'm struggling a bit. ext> ------_=_NextPart_001_01C398B6.A90B3660-- I was struggling with the same problem few days ago; Here's how I got it working. Define the task "wsjpc" as suggested at http://publib7b.boulder.ibm.com/wasinfo1/en/info/aes/javadoc/ae/com/ibm/websphere/ant/tasks/JspC.html ---------------------------------------------------------- <taskdef name="wsjspc" classpath="${websphere.home.dir}/lib/wsanttasks.jar" classname="com.ibm.websphere.ant.tasks.JspC"/> ---------------------------------------------------------- ...and use it, for example, like this: ---------------------------------------------------------- <target name="war2"> <wsjspc washome="${websphere.home.dir}" src="${war.src.dir}" toDir="${war.dest.dir}"> </wsjspc> </target> ---------------------------------------------------------- My problem was before I figured out that the directory passed to the task has to be in "war" format. That is, for example, in a format like the example <was installation dir>/samples/lib/TechnologySamples/BasicCalculator.war (you've to have WEB-INF/classed/com/foo etc). -- Best Regards, Mika ---------------------------------------------------------- [EMAIL PROTECTED] phone: +358-0-511-23587 Nokia Networks, PO box 320, FIN-00045 NOKIA GROUP, Finland ---------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
