• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jar -cvfm option needed absolute path

 
Reshma Das
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jar -cvfm server.jar c:\devexam\manifest\server\manifest.mf suncertify\db\*.class suncertify\help\*.class
The above syntax forces me to hardcode the drive name. Is there any way to get rid of absolute path?
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
If you are in the dir: "c:\devexam\manifest\server" and all your classes and the manifest file is there too, then type:
jar -cvfm server.jar manifest.mf suncertify\db\*.class suncertify\help\*.class
Hope this helps..
/Ren´┐Ż
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic