为什么我使用p2.director在Macosx上安装EclipseMars.2时没有启动器?
我通过将p2.director指向EclipsePlatform 4.5.2存储库,在Mac上安装EclipseMars.2IDE,完成时没有错误,但没有启动器 以下是我使用的命令: ./eclipse-nosplash-application org.eclipse.equinox.p2.director-profileProperties org.eclipse.update.install.features=true-roaming-repository-installIU-org.eclipse.sdk.ide-bundlepool/home/me/ecl452-destination/home/me/ecl452-p2.os macosx-p2.ws cocococoa-p2.arch x86_64-profile-SDKProfile 没有错误,它报告正在安装org.eclipse.sdk.ide 4.5.2.M20160212-1500,并以“操作在101165毫秒内完成”完成。但是,目标中没有“Eclipse.app”文件夹,也没有Eclipse启动程序文件。生成的目标文件夹只有以下内容:为什么我使用p2.director在Macosx上安装EclipseMars.2时没有启动器?,eclipse,macos,installation,p2,Eclipse,Macos,Installation,P2,我通过将p2.director指向EclipsePlatform 4.5.2存储库,在Mac上安装EclipseMars.2IDE,完成时没有错误,但没有启动器 以下是我使用的命令: ./eclipse-nosplash-application org.eclipse.equinox.p2.director-profileProperties org.eclipse.update.install.features=true-roaming-repository-installIU-org.ecl
-rw-r--r-- .eclipseproduct
-rw-r--r-- artifacts.xml
drwxr-xr-x configuration
drwxr-xr-x dropins
-rw-r--r-- eclipse.ini
drwxr-xr-x features
drwxr-xr-x p2
drwxr-xr-x plugins
drwxr-xr-x readme
我在Windows上做这种事情,它正确地给了我“eclipse.exe”,那么我在Mac上做错了什么呢?将“.app”添加到-bundlepool
和-destination
参数值中,生成了一个可启动的eclipse实例,其可执行文件位于以下文件夹中:
/home/me/ecl452.app/Contents/MacOS/eclipse
似乎当文件夹名称以“.app”结尾时,p2.director认识到它应该将安装设置为Mac应用程序,但对于任何其他文件夹名称,它只是跳过应用程序设置步骤而没有警告或错误
为了完整起见,以下是有效的命令:
./eclipse-nosplash-application org.eclipse.equinox.p2.director-profileProperties org.eclipse.update.install.features=true-roaming-repository-installIU org.eclipse.sdk.ide-bundlepool/home/me/ecl452.app-p2.os macosx-p2.ws cococoa-p2.arch x86_64-profile-SDKProfile