ant - Idea highlighting tags in build.xml as not allowed -


my ide (idea) says: element 'property' not allowed here.

and other elements not allowed too. project building successfully. how can fix this?

pic1

it looks idea not recognizing file ant build file. fact <project> tag in red indicates is, pardon pun, root of problem. try following:

  1. got file > invalidate caches / restart (or application > invalidate caches / restart on mac)
  2. click invalidate , restart button on "invalidate caches" dialog
  3. let idea restart , re-index project.

another thing check, although long shot, ant support plugin enabled in file > settings > plugins.

if not solve issue, can please put cursor on <project> element , indicate error element.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -