I have a set of NetBeans java projects with dependencies between them. I added the project at the top of the dependency tree to Hudson for continuous integration. Everything works fine, except that the unit tests of dependent projects don’t get run by Hudson. This is because the ant scripts that NetBeans creates has dependent projects setup to run the “jar” target and not a target that also runs the unit tests. I could add ant build steps for each dependent project in Hudson to run the unit tests, but I was hoping there’s a simpler solution.
Share
It seems to me like there is no simple solution for this as far as I can tell. My solution will be to use Maven for managing dependencies. This way at I least won’t have to manage dependencies redundantly. Both NetBeans and Hudson integrate well with Maven.