This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I suggest using Maven instead of ANT. Its much less verbose and handles multi-module projects like this very easily. Either direction you go this is really a build tools question so I will move it to a more appropriate forum for you.
monicka rk akilan wrote:I want to make these into two jars based on the module also having some packages and login module.
What do you mean by this sentence?
Anyway, like Bill said, Maven is the way to go. Create a directory structure like this:
Then your modules' pom files should look something like this:
The project's pom should look like this:
After you've installed Maven, you can just open a command prompt in your project folder, and run mvn package, and a jar of each of your modules should appear in the target folder of that module, e.g. Project/Abc/target/abc-0.1.0.jar.
The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.