[ http://issues.apache.org/jira/browse/CACTUS-246?page=comments#action_12460481 ] Petar Tahchiev commented on CACTUS-246: ---------------------------------------
Davy this behaviour seems like a classpath issue problem. It turns out that when I have something that had been built other version of ant (different than 1.7.0) and you try to build it with the new version of Ant it complains. The real solution is to just ensure you have cleaned everything with ant clean and then try building it with ant. HTH > Jakarta Cactus 1.7.2 won't work with Apache ANT 1.7.0. > ------------------------------------------------------ > > Key: CACTUS-246 > URL: http://issues.apache.org/jira/browse/CACTUS-246 > Project: Cactus > Issue Type: Bug > Components: Ant Integration > Affects Versions: 1.7.2 > Environment: - Win XP > - Apache ANT 1.7.0Beta3 > - JDK 1.5 > Reporter: Davy Toch > Attachments: build-246.patch > > > Doing a quick test with Jakarta Cactus 1.7.2 on the latest beta release of > Apache ANT 1.7.0 revealed the following > error message in Cactus: > java.lang.NoSuchMethodError: > org.apache.cactus.integration.ant.CactusTask.addClasspathEntry(Ljava/lang/String;)V > Reason: in ant-junit.jar the signature of the method 'addClasspathEntry' of > the class JUnitTask has been modified between ANT 1.6.5 and ANT 1.7.0: > ANT 1.6.5: > protected void addClasspathEntry(String resource) > ANT 1.7.0: > protected boolean addClasspathEntry(String resource) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]