Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

svenwillmann

macrumors member
Original poster
May 6, 2008
58
0
Hi,

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?

Thanks,
Sven
 

foidulus

macrumors 6502a
Jan 15, 2007
904
1
Hi,

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?

Thanks,
Sven

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 YourApp.app/resources, 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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.