You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2014/07/02 09:23:46 UTC
[Bug 56689] New: id/refid not available in ResourceCollection
https://issues.apache.org/bugzilla/show_bug.cgi?id=56689
Bug ID: 56689
Summary: id/refid not available in ResourceCollection
Product: Ant
Version: unspecified
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
Assignee: notifications@ant.apache.org
Reporter: jochen@apache.org
AFAIK, it is not possible to create or use a Reference to a ResourceCollection,
because the id/refid attributes aren't present in the respective implementation
classes.
This is a serious constraint, because (for example) there is no possibility to
pass resource collections to a macro.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 56689] id/refid not available in ResourceCollection
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56689
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from Stefan Bodewig <bo...@apache.org> ---
Not sure I follow you here.
It is true the ResourceCollection interface doesn't support refif/id directly
but (almost?) all concrete implementations of the interface do. What exactly
are your trying to do that isn't possible?
I'm not completely sure we have documented it, but I think we do. The
<resources> type is the generic collection if you need a placeholder for any
type of resource collection. It's getRef() method casts the ref to
ResourceCollection and not to any concrete subclass.
http://ant.apache.org/manual/Types/resources.html#resources
--
You are receiving this mail because:
You are the assignee for the bug.