[ 
https://issues.apache.org/jira/browse/CACTUS-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487134
 ] 

Jeffrey Bennett commented on CACTUS-246:
----------------------------------------

Has there been any progress on this issue?

I suspect you'll need to support both Ant 1.6 and 1.7 simultaneously.  Why not 
do something like?
Leave org.apache.cactus.integration.ant.CactusTask alone (link it against Ant 
1.6)
Create org.apache.cactus.integration.ant.Ant17CactusTask (link it against Ant 
1.7)
Create a series of parallel tasks <ant17cactus> <ant17cactifywar> etc.

When switching to Ant 1.7, consumers would need to change from <cactus> to 
<ant17cactus> etc.

OK, I admit, slightly hokey and clumsy, but it gets the job done.

I've been waiting for a resolution, but would be satisfied with a "We'll 
address this in version X" statement.


> Jakarta Cactus 1.7.2 won't work with Apache ANT 1.7.0.
> ------------------------------------------------------
>
>                 Key: CACTUS-246
>                 URL: https://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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to