Yes... here's the fragment of my ant build file:

     <!-- generate java files from jsp's -->
        <jspc
                srcdir="${http.home}/${app.realname}"
                package="org.apache.jsp"
                destdir="${http.home}/${app.realname}/WEB-INF/src"
                compiler="jasper41"
                failonerror="false"
                webinc="${http.home}/${app.realname}/WEB-INF/webJSPfragments.xml"
                compilerclasspath="${catalina.home}/common/lib/jasper-compiler.jar;${catalina.home}/common/lib/jasper-compiler.jar">
                <include name="**/*.jsp" />
        </jspc>

        <xmltask preservetype="true" source="${http.home}/${app.realname}/WEB-INF/web.xml"
                dest="${http.home}/${app.realname}/WEB-INF/web.xml" encoding="ISO-8859-1">
        <insert path="/web-app/" file="${http.home}/${app.realname}/WEB-INF/webJSPfragments.xml"/>
    </xmltask>





Heath Borders <[EMAIL PROTECTED]>

17.01.2005 16:28
Bitte antworten an "MyFaces Discussion"

       
        An:        MyFaces Discussion <[email protected]>
        Kopie:        
        Thema:        Compiling .jsp files into .java files using ant



Does anyone know how to use the jspc ant task?

--
-Heath Borders-Wing

[EMAIL PROTECTED]

Reply via email to