I'm using an ant-based SDK that has several levels of hierarchy (This happens to be the Liferay Portlet Plugins SDK, but that is not necessarily important to the question I'm asking). At an individual project level, I'm at the third layer.
So say I'm working a the project level. The build file here has almost nothing in it, it just imports the parent, which imports the parent, etc. It is here to tie the project-level directory into the build system, and to create a place for you to have your own targets and do customization, but rarely are any needed. When I do a 'ant -p -v' in my project directory I get this:
< a bunch of messages about properties and classpath info etc... >
clean-service clean generated service builder files
Default target: deploy
But the IDE only shows the one target I happened to define in the project's ant file (in this case clean-service). I can run the default target, or my locally defined target, but none of the other parent targets are available in any contextual menus or the Ant Build window.
I've read the help and googled for this, but the only info I've found that comes close to addressing this has to do with filters in the Ant Build window. When I go there, I actually see three possible targets (clean-service, build-css, and war), and I can check the box to make them available, but I don't see anything that comes close to the entire list of targets provided by 'ant -p -v'
So. What do I do to get Idea to display (and make available in context menus) all targets available to an ant build file?