You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Chun Ji <CJ...@pro-unlimited.com> on 2007/04/27 19:37:27 UTC

classpath value have been ignored.

I have such things in my build.xml, 
" 
  <path id="jboss.jsp.classpath">
       .... 
  </path>

   <target name="jspc">
       <taskdef classname="org.apache.jasper.JspC" name="jasper2" >
          <classpath refid="jboss.jsp.classpath"/>
       </taskdef>
       <jasper2 validateXml="false"
                verbose="99"
                compiler="jasper55"
                failonerror="false"
                uriroot="${jsp.src.dir}"
                webXmlFragment="${web.dir}/WEB-INF/gen_web.xml"
                outputDir="${jsp.generated.src.dir}"
                package="${jsp.package.name}">

       </jasper2>
   </target>
", 
which is supposed to do a jsp precompile work. ( it is suggested by the tomcat 5.5). And I thought when I run "ant jspc", it will include the classpath value that I have set for "jboss.jsp.clsspath", but it doesn't? 

Does someone know why ?  I am using jdk 1.6, And 1.7 on linux box. 


Thanks, 


Chun 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org