One of our guys came up with this target in our build file:

        <!-- Generate java from Jsp files and compile them -->
        <target name="jsp-precompile" 
depends="prepare,compile,dummy_webdoclet" unless="no-jsp-precompile">
                <java classname="org.apache.jasper.JspC" fork="true">
                        <classpath>
                                <pathelement 
location="${jboss.dist}/lib/org.apache.jasper.jar" />
                                <pathelement 
location="${jboss.dist}/lib/javax.servlet.jar" />
                                <pathelement location="${jboss.dist}/lib/crimson.jar" 
/>
                        </classpath>
                        <arg value="-d" />
                                <arg value="${jsp.precompile.tmpdir}" />
                        <arg value="-p" />
                                <arg value="JspServ" />
                        <arg value="-webinc" />
                                <arg value="merge/gen-mappings.xml" />
                        <arg value="-webapp" />
                                <arg value="${build.dir}" />
                </java>
                <javac srcdir="${jsp.precompile.tmpdir}"
                           destdir="${build.dir}/WEB-INF/classes"
                           classpathref="jsp.precompile.path"
                           debug="${debug}"
                           optimize="${optimise}"
                           deprecation="on" />
        </target>

Is that enough for you to go on?


On Thursday, May 30, 2002, at 04:14  PM, Jason Dillon wrote:

> If so, can some one explain this to me.  Jsp compiles are killing us on 
> the
> website, hard to test new versions...
>
> --jason


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to