This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

(B&S) Ant build file and rmic

 
Saheed Adepoju
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I am currently trying to complete the assignment, i never thought having a job and trying to finish the assignment would be this difficult but anyways i am trying to finish it nontheless. I got Andrew's book(ebook) and trust me it is a wonderful buy.
That is all my the side, i am trying to include creating stubs in to the Ant build file i am currently using. I am currently using IntelliJ IDE. I would like to test my Network code and it has been a drag trying to rmic the classes myself and i thought, i could include the command in the build file somehow. Your help will be highly appreciated. Have a nice day all!
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The ANT documentation will tell you what to do

I'm not going to paste my entire buildfile, it's a bit too large for that (it does everything from creating directory trees to unit testing and generating javadoc).

But all you need to do is add a single line to your compile target like this:

after your call to the java compiler (so you can be sure the classfiles exist).
Or you can make this into a separate target dependent upon the compile target.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic