posted 12 years ago
Hi All,
I have a requirement where I need to build multiple jar files from each of the project that exists in my workspace.. In my case, there are 5 projects in my workspace and I would have to create 5 different jars. Also there are external dependency jars, that needs to be included in some projects to build the jar file. Below is the sample code that I have written to create two jar files.
The code works fine. I.e Im able to get the jar files generated. But when I try to execute the target "compileHib". It has a dependency task to be completed. I.E the 'clean' task. But the 'clean' task does not get executed. The jar files that are generated for HibernateService1.jar seems to contain the class files for the ValueObjects as well. This is because the dependency task 'clean' is not executed when trying to run the 'compileHib'. Please let me know if Im missing anything in this. Require help in getting this issue resolved. Thanks in Advance.