History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-12711
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Eugene Zhuravlev
Reporter: Alexander Chernikov
Votes: 4
Watchers: 5
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Ant integration: support task definitions using org.apache.tools.ant.DynamicConfigurator

Created: 18 Dec 06 18:08   Updated: 26 Sep 07 20:53
Component/s: Ant Integration
Fix Version/s: Diana Final

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Depend
 
This issue is required for:
IDEABKL-1347 XDoclet ant task's subtasks are not r... Normal Open
IDEA-11248 Ant: property and condition builtin t... Open
Relates
 
This issue is related to:
IDEADEV-21711 Do not highlight as errors attributes... Normal Open

Build: 6,603


 Description  « Hide
Please, see Ant API docs for org.apache.tools.ant.DynamicConfigurator. Custom ant task definitions (user classes, extending org.apache.tools.ant.Task) may implement org.apache.tools.ant.DynamicConfigurator, org.apache.tools.ant.DynamicElement, org.apache.tools.ant.DynamicAttribute, that allows to load task definition in runtime.

In particular xdoclet tasks is highlighted as error now - see IDEABKL-1347.



 All   Comments   Work Log   Change History      Sort Order:
Alexander Chernikov - 12 Jul 07 22:41
Possible minimal solution: if the task implements DynamicConfigurator, then do not highlight any attribute without setters (dynamic) as error. Consider all dynamic attributes as allowed, with plain String values. This way, completion will not work, but user will not get superfluous errors.

Colin Fleming - 12 Jul 07 22:51
This also affects the JAXB XJC task, as mentioned in the comments of IDEA-11248.