• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Eclipse & Ant

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello there,
as I am totally new to Eclipse and unfortunately also to ant I have a question.
Basically I just want to create a .jar file and a .sh file with all settings for starting my client which is located in the .jar file.
What steps do I have to make in order to accomplish above goals ?
I guess I have to write an .xml file with the ant tasks. Can I use eclipse editor to do this ?
Many thanx for your answers,
Max
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, there are no ant tasks that create platform specific 'launchers' for your application, but there is a <jar> task that can be used to jar your application classes into a deployable jar unit.
For more information lookup: http://ant.apache.org/manual
 
Author
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You don't need ant for that, all you need to do is get your project building and running ok inside Eclipse first, then right click on the project, select Export > Jar file, and follow the instructions.
 
reply
    Bookmark Topic Watch Topic
  • New Topic