Upon adding a new target to an imported ant file, the new target does not appear in the list of targets in the Ant Build pane. For example, if my main build file, build.xml, imports additional-tasks.xml:
And as I am editing additional-targets.xml I add a new target, it does not appear in the list of targets. (Note that it is the build.xml file that I have added as an Ant build file to the IDEA project.) The only way I can get it to show is to go into the "master" build file and start a new <target> definition. Almost, immediately upon typing in "<", the target from the import file shows. So it appears the typing of the "<" triggers a re-parse.
The same thing happens if I rename a target in an imported file. The old name continues to show in the Ant build window until I make an edit in the master build file.
Also note that when I create a very simple project with a single imported file that is small in size, I can trigger the update behavior by switching to the master build file in the editor. I do not actually need to edit it. I am not sure how complex the combined ant files (i.e. size of and number of) need to get before editing is needed to trigger the re-parse.
I would think the new target from the imported file should show in the Ant Build window without the need to switch to or edit the master file.
Description
Upon adding a new target to an imported ant file, the new target does not appear in the list of targets in the Ant Build pane. For example, if my main build file, build.xml, imports additional-tasks.xml:
And as I am editing additional-targets.xml I add a new target, it does not appear in the list of targets. (Note that it is the build.xml file that I have added as an Ant build file to the IDEA project.) The only way I can get it to show is to go into the "master" build file and start a new <target> definition. Almost, immediately upon typing in "<", the target from the import file shows. So it appears the typing of the "<" triggers a re-parse.
The same thing happens if I rename a target in an imported file. The old name continues to show in the Ant build window until I make an edit in the master build file.
Also note that when I create a very simple project with a single imported file that is small in size, I can trigger the update behavior by switching to the master build file in the editor. I do not actually need to edit it. I am not sure how complex the combined ant files (i.e. size of and number of) need to get before editing is needed to trigger the re-parse.
I would think the new target from the imported file should show in the Ant Build window without the need to switch to or edit the master file.