Ant: <project - xmlns:xyz ("XML Namespace Support") isn't recognized
1) I have the following <taskdefs:
]]>
2) Starting the build file as follows doesn't work, see the image attached:
]]>
Setting -> IDE Settings -> Resources doesn't help as well - there's nothing to map the URI to.
See
"XML Namespace Support"
http://ant.apache.org/manual/CoreTypes/namespace.html
Attachment(s):
1.png
请先登录再写评论。
What worse - having above errors in the beginning of the build file totally disables all Ant's completions :(
It also disables all Ctrl+Click tooltips ..
I meant Ctrl+Space completions
If this was the only problem... The ant editor seems to have a hitch against custom taskdefs.
Isn't nobody concerned about this issue ? Without proper support of namespaces for custom Ant tasks - it's impossible
to recognize to which package some custom task belongs, as usually the only person who knows that is the one who used that task.
For example - people go and ask me what is <propertycopy and I have to tell them it's Ant-Contrib every time.
If it was written as <ant-contrib:propertycopy - no question was asked at all. The same about <deploy vs <tomcat:deploy, etc and etc ..
I really hope someone will adress this issue and make usage of custom tasks in our build files much more readable and easy.