external "ant" task and dir property

In my build.xml I have the following:
]]>

It references build.xml in ejb directory. "compile" target is highlighted in red even though ${ejb.dir} is set correctly and the build works.

What's interesting is that if I change dir="${ejb.dir}" to dir="./ejb" Idea starts recognizing the target correctly.

Please sign in to leave a comment.