Jumping to declarations with Ant builds

I am using IntelliJ 13 Ultimate (preview) for an Andriod project at work. My project is built using Ant, and it has several modules. I have the dependencies set up with IntelliJ.
The project builds alright with Ant, but IntelliJ does not seem to be analysing the build output to create an index for declarations i.e. I cannot jump to declarations of anything, it says "Cannot find declaration to go to" whenever I Ctrl+click on something.

I tried doing a standard build without Ant and saving that into a separate output directory from the Ant build, but the indexes still don't work.

Any idea on how to make this work?

1 comment

IDEA builds its indices on sources (i.e. directories marked as source roots in module paths settings).
.class files are only indexed if they are part of a library dependency.

0

Please sign in to leave a comment.