Hello Bill-

I would definitely post this to ant-users [EMAIL PROTECTED]
to reference the jspc Ant task
http://ant.apache.org/manual/OptionalTasks/jspc.html
which states you can use the compiler="NameOfCompilerClass" to specify 
classname of the Jsp compiler Adapter you desire (defaults to jasper)

HTH
Martin --
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
----- Original Message ----- 
From: "Bill Milbratz" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, December 26, 2006 11:29 AM
Subject: problem: tomcat build fails. No 'execute()' method on jspc


Hi,

 

I'm trying to build tomcat 5.5.028 from source. It fails on the
'build-webapps-precompile' due to a jsp task.

 

I get this error:

build-webapps-precompile:

No public execute() in class org.apache.jasper.JspC

 

It looks like the build-process compiles "org.apache.jasper.JspC".  And
the source code includes this method:

    public void execute() throws JasperException {

 

I thought the problem lay in duplicate versions of this class in my
classpath. I have the same problem, however, when I remove
"ant-nodeps.jar" from my ${ANT_HOME}/lib. No other jars in the ANT
classpath include "org.apache.jasper.Jspc".

 

Unfortunately ANT doesn't tell me where it found "JspC" so I can verify
whether or not it "found" the right class.

 

Any suggestions?

 

Thanks,

 

Bill m

Reply via email to