I am basing my build on an ant file from some examples in the book "Alfresco Business Solutions" chapter 2 (basically demonstrates the uses of NodeService, Policies and other java services). I have the ant file working well enough for my needs. I will use the ant file for actually building and deploying but I want eclipse to be able to compile and do auto complete so that everything is not all red with errors in eclipse. So I looked at the ant file to see what it includes as its build path which is every jar in the sdk. I tried to do this in eclipse and suddenly realized I had an insane amount of jars. I did eventually, by trial and error, get a set of jars included that works but it just feels like there is a better way. So what is the correct way to do this? How do other people deal with this problem? Just trial and error? By the way I am using Alfresco 4 SDK.