2 Replies Latest reply on Jan 21, 2005 10:04 AM by mathewa

    Compiling JSPs via an Ant task

    rodneyzhamilton

      Hello, I am trying to build my web application for JBoss 4.0 with an Ant script.
      I have the following task for compiling my JSPs:

      <target name="compileJsp">
       <mkdir dir="${app.classroot.dir}/jsp"/>
       <jspc srcdir="${app.webroot.dir}"
       destdir="${app.classroot.dir}/jsp"
       classpathref="compile.classpath"
       verbose="9"
       package="com.afscn.database"
       compiler="??????">
       </jspc>
       </target>
      
      I have the following paths included in my classpath:
      * <pathelement path = "${env.JBOSS_HOME}/server/all/deploy/jbossweb-tomcat50.sar/jasper-compiler.jar" />
      
      * <pathelement path = "${env.JBOSS_HOME}/server/all/deploy/jbossweb-tomcat50.sar/jasper-runtime.jar" />


      What value belongs in the compiler attribute of the Ant jspc tag?