适用于OSX和Windows应用程序的Eclipse info.plist文件 [英] Eclipse info.plist file for OSX and Windows application

查看:115
本文介绍了适用于OSX和Windows应用程序的Eclipse info.plist文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在寻求隐藏Java应用程序停靠图标的位置时,我看到的是 info.plist文件 info.plist文件。但是我看不到一个。

Everywhere I look when seeking for a way to hide a Java applications dock icon, I see info.plist file this and info.plist file that. However I don't see one.

我的问题是如何在eclipse中生成一个info.plist文件?它属于哪里为什么当我导出为mac osx包时,Eclipse不会生成一个info.plist文件。

这是我的项目文件在eclipse中的视图,你可以看到有一个清单,但没有info.plist:

This is a view of my project files in eclipse, as you can see there is a manifest, but no info.plist:

有没有关于info.plist文件的东西?

Is there something i'm not getting about the info.plist file?

推荐答案

Info.plist由Eclipse生成并驻留在应用程序包中。要在Eclipse中创建应用程序包,请选择导出> Mac OS X应用程序包。选择一个输出目录,你应该看到一个这样创建的目录:

The Info.plist is generated by Eclipse and resides in the application bundle. To create an app bundle in Eclipse, select Export > Mac OS X application bundle. Select an output directory and you should see a directory like this created:

MyApp.app/

MyApp.app内部是一个名为Contents的子目录。在这里你可以找到Info.plist文件。

Inside of MyApp.app is a subdirectory called Contents. Here is where you'll find the Info.plist file.

MyApp.app/Contents/Info.plist

Info.plist文件(或任何应用程序包文件)不会显示在您的项目中。这些是生成的构建文件。

The Info.plist file (nor any of the application bundle files) won't appear in your project. These are generated build files.

这篇关于适用于OSX和Windows应用程序的Eclipse info.plist文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆