jakarta-cactus-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felipe Leme (JIRA)" <cactus-...@jakarta.apache.org>
Subject [jira] Commented: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with Apache ANT 1.7.0.
Date Fri, 29 Dec 2006 01:41:22 GMT
    [ http://issues.apache.org/jira/browse/CACTUS-246?page=comments#action_12461290 ] 
Felipe Leme commented on CACTUS-246:

Hi all,

I could reproduce the error following the previous instructions from Davy on Cactus 1.7.2.

When I tried on the SVN code, it worked fine if I hadn't defined any server. But once I tried
to run the tests against Tomcat, I got the same issue, even applying the supplied path.

I think we have 2 options: upgrade Ant dependency to 1.7.0 or write some wrapping code that
calls the right method (that would be an ugly hack). 

Petar, could you check with the Ant guys what would be the 'official' recommendation (if any)
for this issue?

-- Felipe

> 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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org

View raw message