Hi,

Yes! I finally solved it too, but in another way. I used 
Tomcat5.0/common/lib/servlet.jar for my servlet packages. An analysis of the 
error output showed that only two packages were missing: javax.servlet.jsp and 
javax.servlet.jsp.tagext. These packages are not included in my servlet.jsp, 
but can be found in Tomcat5.0/common/lib/jsp-api.jar. To enable the build to 
access this file, I changed build.properties and jboss-build.xml, as follows:

in build.properties, I added the lines:
tomcat.home= ... path to your local Tomcat installation directory ...
jsp-api.jar=${tomcat.home}/lib/common/jsp-api.jar

in jboss-build.xml, I replaced the lines:

  <!--
   | The build classpath
   -->
  < path id="build.classpath">
    < path refid="client.classpath"/>
    < pathelement location="${servlet.jar}"/>
  </ path>

by:

  <!--
   | The build classpath
   -->
  < path id="build.classpath">
    < path refid="client.classpath"/>
    < pathelement location="${servlet.jar}"/>
    < pathelement location="${jsp-api.jar}"/>
  </ path>

And now it compiles.

I assume that the contents servlet.jar in Tomcat 4.x.y is distributed over 
servlet-api.jar and jsp-api.jar in Tomcat 5.x.y, but I have not been able to 
test that assumption.

Thanks for all the help and support!

Huub


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866423#3866423

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866423


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to