save Jar Bundler settings or automate java to .app

Discussion in 'Mac Programming' started by svenwillmann, Aug 25, 2008.

  1. macrumors member

    May 6, 2008

    I am using Jar Bundler to create a .app from my java application.
    Every time I change my java application, I have to reenter all settings in Jar Bundler e.g. Build Information, Classpath and Files, Properties.

    Do you know of a way to save the Jar Bundler settings?

    Do you know of any way or can you point me to a tutorial to automate the process of java to .app?

  2. macrumors 6502a

    Jan 15, 2007
    There is a much simpler way to do this, creating the jar bundle doesn't do anything all that special, it creates an Info.plist file which points to your jar, and gives you a JavaApplicationStub(which is the same for all Java apps)

    The simpler way to do what you are trying to do is to copy the jar into the Application directory when you build the Jar(I think its in, but check the Info.plist to be sure)

    Ant works great for this, at work I have ant automatically copy the jar to its final destination whenever I build our apps in Eclipse.
  3. thread starter macrumors member

    May 6, 2008

Share This Page