Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to package and run my application?  RSS feed

 
Ranch Hand
Posts: 514
1
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

I have project in which there is ant file given below. I need somehow to run main class from command-line.

But I don't know how to modify this ant file to tell it include Main-Class property in MANIFEST.MF file which should be in swarm.jar.



Finally I need to create windows batch file that will run main class in swarm.jar?

Thank you!
 
Ranch Hand
Posts: 440
Eclipse IDE Hibernate Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a manifest tag that you can use in your parent jar tag. Look at snippet below



As for the batch file , I would first like you to try it out yourself and post whatever you have tried here and then I will guide you along the way !
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!