How do you create the IDEA Mac OS X Java Application Bundle?

A little bit off topic. I have to create a Java Application Bundle for OS X (including making entries to the Info.plist file) and I was just wondering how you at IntelliJ create the Application Bundle for IDEA. Do you have an Ant task for this or are you using the Jar Bundler on an OS X machine or command line or ...?
I'm particularly interested in an Ant task, since that will allow creating the bundle (without using command line) not only on an OS X machine.

Anybody else has some tips?

0
Avatar
Permanently deleted user

Am 23.05.2003 23:21 Uhr schrieb "Rolf Lohaus" unter <lohaus@justis.de> in
27775880.1053724883448.JavaMail.jrun@is.intellij.net:

A little bit off topic. I have to create a Java Application Bundle for OS X
(including making entries to the Info.plist file) and I was just wondering how
you at IntelliJ create the Application Bundle for IDEA. Do you have an Ant
task for this or are you using the Jar Bundler on an OS X machine or command
line or ...?
I'm particularly interested in an Ant task, since that will allow creating the
bundle (without using command line) not only on an OS X machine.

Anybody else has some tips?

Hallo Rolf,

Ich kann dir ein ant-file anbieten was ein project.app package erstellt.
Suchst du sowas?

Jens

0

I wrote something like this for the pre-official-OSX-support days. Basically it was an ant build file which would have a property for the unix eap tar.gz file, and would spit out a .app bundle for it. It's pretty trivial to write such that it works on any platform. I wish the IntelliJ guys would do that instead of using installanywhere which has a very retarded osx installer, where the bundle it creates is amazingly un-OSX like in terms of layout and behaviour.

0
Avatar
Permanently deleted user

We are using InstallAnywhere (IA) to create all our distributions including the one for OSX. The installer actually has some
problems (for example, the launcher that it uses), but we've solved them in build 701. As for the Info.plist file, we've prepared it
on our Mac and just include it in the distribution, so that IA uses it when building the bundle.

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"



0

Yeah 3.0.4 is quite nice in that it comes with a custom icon etc, this doesn't seem to be the case with the latest eap's though (816). One other option that should be turned on is having the IDEA menubar show up in the apple menu at the top of the screen, for a more consistent OSX experience.

0

Oh God please don't do this or at least make it totally optional. This is one of the most annoying features of OSX (that and the wacky keybindings).

0
Avatar
Permanently deleted user

Gregory Pierce wrote:

Oh God please don't do this or at least make it totally optional. This is one of the most annoying features of OSX (that and the wacky keybindings).


If you find it so whacky, why are you using Mac OS X? It's one of the
fundamental features and any app including Java apps should where
possible strive to look like a native platform app.

Ciao,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919

0
Avatar
Permanently deleted user

Must be a switcher :)

R
"Gordon Tyler" <gordon.tyler@quest.com> wrote in message
news:bb39tg$jbb$1@is.intellij.net...

Gregory Pierce wrote:

Oh God please don't do this or at least make it totally optional.

This is one of the most annoying features of OSX (that and the wacky
keybindings).
>

If you find it so whacky, why are you using Mac OS X? It's one of the
fundamental features and any app including Java apps should where
possible strive to look like a native platform app.

>

Ciao,
Gordon

>

--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919

>


0
Avatar
Permanently deleted user

On Wed, 28 May 2003 17:32:32 -0400, Gordon Tyler wrote:

If you find it so whacky, why are you using Mac OS X? It's one of the
fundamental features and any app including Java apps should where possible
strive to look like a native platform app.


It could probably be achieved by a plugin - theres one for JEdit which
does just this.

--
...turn to the light - don't be frightened by the shadows it creates,
...turn to the light - turning away could be a terrible mistake
...dream theater - the great debate


0
Avatar
Permanently deleted user

Robert S. Sfeir wrote:

Must be a switcher :)


Well I am too, kinda (I use my girlfriend's iBook), and I don't find the
menubar at the top that strange. It makes sense because of the design
principles for Mac applications, and for usability reasons (Fitts Law).

Ciao,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919

0
Avatar
Permanently deleted user

Yes, I'm looking for something like that (mainly I'm looking for an Ant task). I would appreciate if you could send me your file.
Does it allow making entries to the Info.plist file?

0
Avatar
Permanently deleted user

Do you mind, sharing it with me?

0
Avatar
Permanently deleted user

You could just add the property "apple.laf.useScreenMenuBar=true" under Java/Properties in the Info.plist file of IDEA and you will have the menubar at the top!

0
Avatar
Permanently deleted user

Yes, I know. I'm just looking for an Ant task, that does exactly that!

0
Avatar
Permanently deleted user
0
Avatar
Permanently deleted user

I figured as much... Just thought I would post the relevant info here just in case! :)
An Ant task to do that would be great. Maybe we should ask Apple to provide one?

0
Avatar
Permanently deleted user

I have seen it, though it doesn't seem to have the ability to configure the Info.plist file. But thanks, anyway.

0
Avatar
Permanently deleted user

Sounds interesting!

0
Avatar
Permanently deleted user

Apple also provides their "Jar Bundler" application as part of the developer tools. You can use this app to create a Mac OS X application package from a .jar or collection of .jar files.

0
Avatar
Permanently deleted user

Yes I know, but only if I'm working on a Mac or have a Mac available. But I need to be able to create a bundle for example on a Linux machine. And also I don't want to rely on a special solution for creating the Mac distribution, but want to do it from within our build-system, which is Ant.

0
Avatar
Permanently deleted user

There are problems with the menu behaviour in this mode.

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


"Rolf Lohaus" <lohaus@justis.de> wrote in message news:22920323.1054224311309.JavaMail.jrun@is.intellij.net...

You could just add the property "apple.laf.useScreenMenuBar=true" under Java/Properties in the Info.plist file of IDEA and you

will have the menubar at the top!


0

请先登录再写评论。