tags:

views:

18

answers:

0

I have an existing java project with an ant build.xml and I'm trying to use Netbeans as my IDE.

In Netbeans I've created a new java free form project and pointed it at my ant file. This works fine for building, running, etc. However code completion does not work unless I manually add all the java sources for my project (that are already defined in my own build.xml!) via the Netbeans project properties "Java Sources" tab. This is very tedius because this project has has many source dirs.

Is there a way to get Netbeans to recognize the source dirs that are already defined in my ant build.xml to get functionality like autocomplete working?