You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by "Davy Toch (JIRA)" <ca...@jakarta.apache.org> on 2006/10/18 01:09:35 UTC
[jira] Created: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
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
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
[jira] Updated: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
Posted by "Ken (JIRA)" <ca...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/CACTUS-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ken updated CACTUS-246:
-----------------------
Attachment: cactuspatch.txt
> 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, cactuspatch.txt
>
>
> 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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
[jira] Resolved: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
Posted by "Petar Tahchiev (JIRA)" <ca...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/CACTUS-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Petar Tahchiev resolved CACTUS-246.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.8
Cactus works with Ant 1.7.1 but cannot work with Ant 1.7.0.
> 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
> Assignee: Petar Tahchiev
> Fix For: 1.8
>
> Attachments: build-246.patch, cactuspatch.txt
>
>
> 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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
[jira] Updated: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
Posted by "Ken (JIRA)" <ca...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/CACTUS-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ken updated CACTUS-246:
-----------------------
Attachment: (was: cactuspatch.txt)
> 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, cactuspatch.txt
>
>
> 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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
[jira] Updated: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
Posted by "Ken (JIRA)" <ca...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/CACTUS-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ken updated CACTUS-246:
-----------------------
Attachment: cactuspatch.txt
> 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, cactuspatch.txt
>
>
> 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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
[jira] Commented: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
Posted by "Davy Toch (JIRA)" <ca...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/CACTUS-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487291 ]
Davy Toch commented on CACTUS-246:
----------------------------------
Or even cleaner:
Change CactusTask such that it holds an instance of Ant 1.7 and an Ant 1.6 task. Modify it such that rather than extending, it delegates depending on the Java environment property ${ant.version}.
This way you shouldn't add the attribute "ant_version=1.7" to <cactus>.
> 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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
[jira] Assigned: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
Posted by "Petar Tahchiev (JIRA)" <ca...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/CACTUS-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Petar Tahchiev reassigned CACTUS-246:
-------------------------------------
Assignee: Petar Tahchiev
> 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
> Assignee: Petar Tahchiev
> Fix For: 1.8
>
> Attachments: build-246.patch, cactuspatch.txt
>
>
> 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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
[jira] Issue Comment Edited: (CACTUS-246) Jakarta Cactus 1.7.2
won't work with Apache ANT 1.7.0.
Posted by "Ken (JIRA)" <ca...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/CACTUS-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570111#action_12570111 ]
kend edited comment on CACTUS-246 at 2/18/08 10:18 PM:
------------------------------------------------------
Attached a patch allowing Cactus to work with Ant nightly-20071115113719 (1.7.1-alpha).
was (Author: kend):
Attached a patch allowing Cactus to work with Ant nightly-20071115113719
> 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, cactuspatch.txt
>
>
> 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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
[jira] Updated: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
Posted by "Petar Tahchiev (JIRA)" <ca...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/CACTUS-246?page=all ]
Petar Tahchiev updated CACTUS-246:
----------------------------------
Attachment: build-246.patch
Davi hi,
Thank you for pointing this.
I also noticed this problem with one of the first BETA versions of Apache ANT 1.7, but I decided to wait till the official release of ANT 1.7. Here I am attaching a patch that solves the issue.
> 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
[jira] Commented: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
Posted by "Ken (JIRA)" <ca...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/CACTUS-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570111#action_12570111 ]
Ken commented on CACTUS-246:
----------------------------
Attached a patch allowing Cactus to work with Ant nightly-20071115113719
> 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, cactuspatch.txt
>
>
> 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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
[jira] Closed: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
Posted by "Petar Tahchiev (JIRA)" <ca...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/CACTUS-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Petar Tahchiev closed CACTUS-246.
---------------------------------
> 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
> Assignee: Petar Tahchiev
> Fix For: 1.8
>
> Attachments: build-246.patch, cactuspatch.txt
>
>
> 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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
[jira] Commented: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
Posted by "Peter Doornbosch (JIRA)" <ca...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/CACTUS-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493123 ]
Peter Doornbosch commented on CACTUS-246:
-----------------------------------------
For those not so familiar with the cactus sources:
Please note that the patch should be applied to the build.xml file in the integration/ant directory.
> 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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
[jira] Commented: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
Posted by "Jeffrey Bennett (JIRA)" <ca...@jakarta.apache.org>.
[ 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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
[jira] Commented: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
Posted by "Petar Tahchiev (JIRA)" <ca...@jakarta.apache.org>.
[ 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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
[jira] Commented: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
Posted by "Jeffrey Bennett (JIRA)" <ca...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/CACTUS-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487135 ]
Jeffrey Bennett commented on CACTUS-246:
----------------------------------------
An alternative (and cleaner) proposal:
Change CactusTask such that it holds an instance of Ant 1.7 and an Ant 1.6 task. Modify it such that rather than extending, it delegates (to 1.6 by default, but an optional argument "ant_version=1.7" can cause it to delegate otherwise).
Upgrading then consists of changing <cactus> to <cactus ant_version=1.7>
> 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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
[jira] Updated: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
Posted by "Michal Valach (JIRA)" <ca...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/CACTUS-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Valach updated CACTUS-246:
---------------------------------
Comment: was deleted
> 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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
[jira] Commented: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
Posted by "Davy Toch (JIRA)" <ca...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/CACTUS-246?page=comments#action_12460534 ]
Davy Toch commented on CACTUS-246:
----------------------------------
No, I don't think I had a local classpath issue because I
did the following in DOS:
1. set CLASSPATH=
2. set ANT_HOME=
3. download and unzip fresh copy of Jakarta Cactus 13-1.7.2
4. download and unzip fresh copy of Apache ANT 1.6.5
5. download and unzip fresh copy of Apache ANT 1.7.0
6. go to the subfolder samples/ejb of Jakarta Cactus and type:
6.1 set ANT_HOME=...home of fresh Apache ANT 1.6.5 ...
6.2 %ANT_HOME%\bin\ant -version ---> 1.6.5 OK
6.3 %ANT_HOME%\bin\ant clean test
...\samples\ejb\build.xml:134: taskdef A class needed by
class org.apache.cactus.integration.ant.CactusTask
cannot be found: junit/framework/Test
So junit not found.
6.4 copy junit-3.8.1.jar to %ANT_HOME%\lib
6.5 %ANT_HOME%\bin\ant clean test ---> OK
7. go to the subfolder samples/ejb of Jakarta Cactus and type:
7.1 set ANT_HOME=...home of fresh Apache ANT 1.7.0 ...
7.2 %ANT_HOME%\bin\ant -version ---> 1.7.0 OK
7.3 %ANT_HOME%\bin\ant clean test ---> NOK
BUILD FAILED java.lang.NoSuchMethodError:
org.apache.cactus.integration.ant.CactusTask.
addClasspathEntry(Ljava/lang/String;)V
Remarks :
- I tried it with JDK 1.4 and JDK 1.5, but both show the
same behaviour
- when using ANT 1.6.5, the jar junit 3.8.1 must be copied
to %ANT_HOME%\lib, because otherwise the following error
message appears :
...\samples\ejb\build.xml:134: taskdef A class needed by
class org.apache.cactus.integration.ant.CactusTask
cannot be found: junit/framework/Test
With ANT 1.7.0, I didn't get this error message, but
perhaps this is because this error message appears only
after the following error message:
BUILD FAILED java.lang.NoSuchMethodError:
org.apache.cactus.integration.ant.CactusTask.
addClasspathEntry(Ljava/lang/String;)V
> 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
[jira] Commented: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
Posted by "Felipe Leme (JIRA)" <ca...@jakarta.apache.org>.
[ 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
[jira] Commented: (CACTUS-246) Jakarta Cactus 1.7.2 won't work with
Apache ANT 1.7.0.
Posted by "Michal Valach (JIRA)" <ca...@jakarta.apache.org>.
[ https://issues.apache.org/jira/browse/CACTUS-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550085 ]
Michal Valach commented on CACTUS-246:
--------------------------------------
Hi,
I have little problem applying this patch.
Can you pls help me and write step by step guide, how to apply it?
Thank you
> 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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org