Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

module wise jars using ant

 
gaurav dhama
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
thanx to all who replied to my previous query.
What remains to be answered is if my project is divided into various modules along with some common files(which are used by all the modules), then can we make jars so as to make jars of each module seperately instead of only one for the whole project.
take care
bye. gauravdhama@gmail.com
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by gaurav dhama:
What remains to be answered is if my project is divided into various modules along with some common files(which are used by all the modules), then can we make jars so as to make jars of each module seperately instead of only one for the whole project.

Sure you can. Just use separate <jar> task and <include> only those files you want in that specific .jar file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic