jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lenz <cml...@gmx.de>
Subject Re: CactifyWar task calling non-existent method void org.apache.tools.ant.types.FileSet.setFile(java.io.File)
Date Tue, 27 Jan 2004 18:45:28 GMT
Am 27.01.2004 um 15:50 schrieb Paul Green:
> I'm posting this for a third time because email problems at my end have
> left me unsure as to whether it has actually gone out or not. 
> Apologies,
> therefore, if you are reading it again. I'm currently trying to use 
> Ant to
> trigger Cactus to cactify a war file and then run tests on it. I've 
> come
> across a problem with a call from Cactus to an object in Ant. the 
> method
> "void 
> org.apache.cactus.integration.ant.CactifyWarTask.addJspRedirector()"
> is trying to call "void
> org.apache.tools.ant.types.FileSet.setFile(java.io.File)" and a
> "java.lang.NoSuchMethodError" is being thrown. I'm using Cactus 1.5
> downloaded a week ago, and Ant 1.5 compiled on 9 July 2002. I've 
> downloaded
> and looked at the source for a later Ant 1.5 release, and the latest 
> Ant
> 1.6 release, but the "setFile" method doesn't exist in "FileSet" within
> either of these. Can anyone shed any light on this matter? Stack trace:

I'm pretty sure FileSet has a setFile(File) method since Ant 1.5.1, 
which is the minimum required version to use the Cactus Ant tasks.

Cheers,
Chris
--
Christopher Lenz
/=/ cmlenz at gmx.de


Mime
View raw message