ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Jack" <aj...@openbiz.biz>
Subject RE: Problems Getting JspC Working
Date Mon, 15 Jul 2002 21:39:43 GMT
Whereas me .... I had buckets more woes -- and you might -- dependent upon
what you have in your classpath, your classpath order, what version of
Jasper, etc. etc.

If you need more help after Michaels please post a more informative report,
e.g. what class was not found & stack trace. I would definitely start with
an "ant -debug"...

regards

Adam
-----Original Message-----
From: Michael_Luu@NAI.com [mailto:Michael_Luu@NAI.com]
Sent: Monday, July 15, 2002 3:37 PM
To: ant-user@jakarta.apache.org
Subject: RE: Problems Getting JspC Working


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>


--
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