Ant 'presetdef' breaks validation?
I have an Ant buildscript that makes use of the PreSetDef Task. IntelliJ (14.1.4) appears to be struggling with it.
In the screenshot below, you can see that the IDE does regonize the pre-set: it's name "my.javac" is colored blue. However, any overrides are not recognized at all (colored red). The tooltip reads: "Element src is not allowed here"
This happens for pretty much all child elements of the preset. When I use auto-complete, only three child element suggetions pop up:
- ant-project
- context-ant-project
- declaring-element
Only these two attributes appear to be valid
- id
- refid
I would expect that all child elements and attributes that are valid on the 'original' javac task are valid. What am I missing here?
Attachment(s):
Screenshot from 2015-07-30 14:49:57.png
请先登录再写评论。
Please see https://youtrack.jetbrains.com/issues?q=project%3A+IDEA%2CIDEABKL+presetdef+%23unresolved .
Auch, various duplicates of the same bug reported in the last few years, and no fix nor response? That's not good. :(