You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2009/09/24 19:57:16 UTC
[jira] Created: (ZOOKEEPER-535) ivy task does not enjoy being
defined twice (build error)
ivy task does not enjoy being defined twice (build error)
---------------------------------------------------------
Key: ZOOKEEPER-535
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-535
Project: Zookeeper
Issue Type: Bug
Components: build
Reporter: Patrick Hunt
Assignee: Patrick Hunt
Fix For: 3.3.0
Ant resolves the same dependencies multiple times if multiple targets are run on the command line:
"ant b c", where b and c both depend on a, results in a being executed twice. However if you have a
target d which depends on both b and c, "ant d" will only result in a being executed once.
say "ant jar compile-test" is run, this will currently fail as ivy-init is run twice, resulting in the taskdef failing.
Rather we need a guard on the ivy-init target itself to ensure it isn't run twice.
ie: put an unless attrib on ivy-init, then set that property in the body of the target
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-535) ivy task does not enjoy being
defined twice (build error)
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated ZOOKEEPER-535:
-----------------------------------
Attachment: ZOOKEEPER-535.patch
this patch ensures that ivy taskdef only run once
also adds a utility target for hudson to make building there more efficient.
> ivy task does not enjoy being defined twice (build error)
> ---------------------------------------------------------
>
> Key: ZOOKEEPER-535
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-535
> Project: Zookeeper
> Issue Type: Bug
> Components: build
> Reporter: Patrick Hunt
> Assignee: Patrick Hunt
> Fix For: 3.3.0
>
> Attachments: ZOOKEEPER-535.patch
>
>
> Ant resolves the same dependencies multiple times if multiple targets are run on the command line:
> "ant b c", where b and c both depend on a, results in a being executed twice. However if you have a
> target d which depends on both b and c, "ant d" will only result in a being executed once.
> say "ant jar compile-test" is run, this will currently fail as ivy-init is run twice, resulting in the taskdef failing.
> Rather we need a guard on the ivy-init target itself to ensure it isn't run twice.
> ie: put an unless attrib on ivy-init, then set that property in the body of the target
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-535) ivy task does not enjoy being
defined twice (build error)
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated ZOOKEEPER-535:
-----------------------------------
Status: Patch Available (was: Open)
> ivy task does not enjoy being defined twice (build error)
> ---------------------------------------------------------
>
> Key: ZOOKEEPER-535
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-535
> Project: Zookeeper
> Issue Type: Bug
> Components: build
> Reporter: Patrick Hunt
> Assignee: Patrick Hunt
> Fix For: 3.3.0
>
> Attachments: ZOOKEEPER-535.patch
>
>
> Ant resolves the same dependencies multiple times if multiple targets are run on the command line:
> "ant b c", where b and c both depend on a, results in a being executed twice. However if you have a
> target d which depends on both b and c, "ant d" will only result in a being executed once.
> say "ant jar compile-test" is run, this will currently fail as ivy-init is run twice, resulting in the taskdef failing.
> Rather we need a guard on the ivy-init target itself to ensure it isn't run twice.
> ie: put an unless attrib on ivy-init, then set that property in the body of the target
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-535) ivy task does not enjoy being
defined twice (build error)
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759222#action_12759222 ]
Hudson commented on ZOOKEEPER-535:
----------------------------------
Integrated in ZooKeeper-trunk #477 (See [http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/477/])
. ivy task does not enjoy being defined twice (build error) (phunt via mahadev)
> ivy task does not enjoy being defined twice (build error)
> ---------------------------------------------------------
>
> Key: ZOOKEEPER-535
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-535
> Project: Zookeeper
> Issue Type: Bug
> Components: build
> Reporter: Patrick Hunt
> Assignee: Patrick Hunt
> Fix For: 3.3.0
>
> Attachments: ZOOKEEPER-535.patch
>
>
> Ant resolves the same dependencies multiple times if multiple targets are run on the command line:
> "ant b c", where b and c both depend on a, results in a being executed twice. However if you have a
> target d which depends on both b and c, "ant d" will only result in a being executed once.
> say "ant jar compile-test" is run, this will currently fail as ivy-init is run twice, resulting in the taskdef failing.
> Rather we need a guard on the ivy-init target itself to ensure it isn't run twice.
> ie: put an unless attrib on ivy-init, then set that property in the body of the target
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-535) ivy task does not enjoy being
defined twice (build error)
Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mahadev konar updated ZOOKEEPER-535:
------------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
the patch looks good... I just committed this. thanks pat.
> ivy task does not enjoy being defined twice (build error)
> ---------------------------------------------------------
>
> Key: ZOOKEEPER-535
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-535
> Project: Zookeeper
> Issue Type: Bug
> Components: build
> Reporter: Patrick Hunt
> Assignee: Patrick Hunt
> Fix For: 3.3.0
>
> Attachments: ZOOKEEPER-535.patch
>
>
> Ant resolves the same dependencies multiple times if multiple targets are run on the command line:
> "ant b c", where b and c both depend on a, results in a being executed twice. However if you have a
> target d which depends on both b and c, "ant d" will only result in a being executed once.
> say "ant jar compile-test" is run, this will currently fail as ivy-init is run twice, resulting in the taskdef failing.
> Rather we need a guard on the ivy-init target itself to ensure it isn't run twice.
> ie: put an unless attrib on ivy-init, then set that property in the body of the target
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.