Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MANIFEST.MF Class-path

ben oliver
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used eclipse and have a project. I saw in its MANIFEST.MF file it includes



I believe this file is created by eclipse. However when I looked at the project's property --> Java build path, I only saw "project_1" there. So

Question 1: when I build this project, do I have to build (compile) "project_1" and "project_2" first ? Or do I just need to compile "project_1" first ?

Question 2: when I write ant script to create a jar file for this project, the jar will include a "META-INF" and a MANIFEST.MF inside. How do I specify in my ant script that I will just use this MANIFEST.MF ? (I assume I should provide this info in the "jar" target, but how ?)

Thank You.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic