ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Hable" <DHa...@phmining.com>
Subject RE: Problems Getting JspC Working
Date Mon, 15 Jul 2002 22:01:17 GMT
Thanks Michael,

Once I created the classpath element and force the JspC task to use the this new classpath
reference, it worked just fine. Now that I have the my jsp files compiled into bytecode, can
I force the JspC task to output the web.xml snippet that needs to be included in the main
file? Or do I need to run jasper manually for that information?

Dan






>>> Michael_Luu@NAI.com 07/15/02 04:37PM >>>
you need to download the Jasper JSP compiler:
http://jakarta.apache.org/ant/manual/OptionalTasks/jspc.html 

you'll need to add jasper-compiler.jar and jasper-runtime.jar into a path
element and set the classpathref attribute of the JspC task to that path
element.

i believe the reference to jasper.jar in the doc is incorrect.  it should be
jasper-compiler.jar.

mike
-----Original Message-----
From: Dan Hable [mailto:DHable@phmining.com] 
Sent: Monday, July 15, 2002 2:20 PM
To: ant-user@jakarta.apache.org 
Subject: Problems Getting JspC Working


I'm trying to add the a JspC task to our webapp build process. I've added
the JspC tag without problem but when I execute the task I get a
NoClassDefFoundError. I moved the jasper-runtime.jar and jasper-compiler.jar
files into the ant lib directory and setup the JASPER_HOME env. variable. No
luck. Anyone have any words of wisdom with this task.

Note: I looked for jasper.jar, per the task documentation, but I can't find
any jar file by that name included with Tomcat 4.0.4 or Tomcat 4.1.6.

Thanks In Advance,
Dan


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++
This electronic mail transmission contains information from Joy Global Inc.
which is confidential, and is intended only for the use of the proper
addressee.  
If you are not the intended recipient, please notify us immediately at the
return 
address on this transmission, or by telephone at (414) 671-4400, and delete
this 
message and any attachments from your system.  Unauthorized use, copying, 
disclosing, distributing, or taking any action in reliance on the contents
of this 
transmission is strictly prohibited and may be unlawful.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++




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

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


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
This electronic mail transmission contains information from Joy Global Inc.
which is confidential, and is intended only for the use of the proper addressee.  
If you are not the intended recipient, please notify us immediately at the return 
address on this transmission, or by telephone at (414) 671-4400, and delete this 
message and any attachments from your system.  Unauthorized use, copying, 
disclosing, distributing, or taking any action in reliance on the contents of this 
transmission is strictly prohibited and may be unlawful.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




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


Mime
View raw message