Reputation: 29463
I am using ant to do builds and outputting to the same file that eclipse outputs .class files into so that I can test easily using the eclipse console. However, once I do this eclipse says pretty much every line of my code is an error as it cannot 'resolve x to a type'. Does anyone know of a way to fix this? Refreshing the project doesn't seem to help..
Upvotes: 0
Views: 400
Reputation: 29139
Do a refresh followed by clean build in eclipse. If it doesn't take the first time, do those steps once more.
I would not recommend having Eclipse and ant output to the same directory.
Upvotes: 2