I want to create project that runs XDoclet and does some other validation as part of the build -- and I want to do this transparently to the user -- i.e. without resorting to an external Ant build script.
So when the user selects "Make Project", I want the following to happen:
1) XDoclet is run and classes generated by XDoclet
2) Normal "Make Project" action
3) Run an additional validation step (EJB validation)
I can't seem to find any way to override or otherwise modify the build process, so I would be very grateful for any tips.