I have project X ( a deployable war file ) which is depended on project Y ( as a jar dependency ) . Anytime i change anything in project Y I have to build a jar and add it to Web-inf/lib folder ( ofcourse i have ant scripts to automatically do it ) .
I am wondering how to avoid this additional step . I would ideally want eclipse to compile project Y to a classes folder which could automatically added to X's war file .
I presume this has to be a common problem . How would you deal with something like this.