Results 1 to 2 of 2
  1. #1
    ytrewqc is offline Member
    Join Date
    Nov 2011
    Posts
    12
    Rep Power
    0

    Default Eclipse " save as ANT script" or not?

    I use eclipse and when i export a project I go to: file>export>java>runnable jar file
    and in there, there is an option to "save as ANT script"
    (Then i make a text file and type "java -jar name.jar")
    What is this ANT script option because it doesnt matter if you choose it or not, the program still works fine.(all it does is create an extra file)

    So should I save it as an ANT script, or as an regular jar file?


    *also another question, is there any way to export the project without having to use the text document: "java -jar name.jar"? So you can just run the jar file directly by clicking it?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,587
    Rep Power
    25

    Default Re: Eclipse " save as ANT script" or not?

    run the jar file directly by clicking it?
    The JRE installation can make entries with OS to do that.
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. OnClick = "A java script"
    By Caz1224 in forum New To Java
    Replies: 2
    Last Post: 01-18-2011, 08:26 AM
  2. How to "allow null" in a very simple script?
    By Mattedatten in forum New To Java
    Replies: 7
    Last Post: 12-05-2010, 12:09 AM
  3. Hwlp with "Open", "Save", "Save as..."
    By trill in forum New To Java
    Replies: 3
    Last Post: 11-02-2010, 10:26 AM
  4. Replies: 1
    Last Post: 10-20-2008, 08:35 AM
  5. Open "Save Page As" Dialog Box
    By Anubha in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 12-12-2007, 10:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •