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