tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nils Liebelt" <n...@candor.co.za>
Subject Jsp Pre-compilation
Date Thu, 30 Jun 2005 13:08:55 GMT
Hi all,

I have trouble pre-compiling my jsp-pages. I wrote following ant target:

	<target name="jspc" depends="build">
	  <taskdef classname="org.apache.jasper.JspC" name="jasper2">
	      <classpath id="jspc.classpath"> 
	        <fileset dir="${tomcat.home}/bin"> 
	          <include name="*.jar"/> 
	        </fileset> 
	        <fileset dir="${tomcat.home}/server/lib"> 
	          <include name="*.jar"/> 
	        </fileset> 
	        <fileset dir="${tomcat.home}/common/lib"> 
	          <include name="*.jar"/> 
	        </fileset> 
	      </classpath> 		
	  </taskdef>
	  <jasper2 validateXml="false"
	  			compile="true"
			  	verbose="99"
	  			listErrors="true"
	            uriroot="./hummingbird" 
	
webXmlFragment="./hummingbird/WEB-INF/generated_web.xml" 
	            outputDir="./hummingbird/WEB-INF/classes" />
	</target>	

The task executes successful but it does not create a single java file nor
its outputs anything? I want execute the task out of my project src folder.
The libraries should be at the right place. I am really stuck here...


Regards,

Nils


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


Mime
View raw message