相关疑难解决方法(0)

无法在OS X上启动Eclipse RCP应用程序

我正在尝试使用带有Java 1.6的Eclipse Indigo插件在OS X上使用Shell脚本启动Eclipse RCP应用程序.OS的版本是10.11.3脚本如下:

#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
app_cmd="\"$DIR/../Resources/jre/Contents/Home/bin/java\" 
-XstartOnFirstThread
-Xdock:name=GS\ Risk
-Xdock:icon=\"$DIR/../Resources/AppIcon.ico\"
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Dosgi.console.enable.builtin=true
-jar \"$DIR/../Resources/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar\"
-data @noDefault 
-Dfile.encoding=UTF-8 
-os macosx 
-ws cocoa 
-arch x86_64 
-nl en_US 
-consoleLog 
-console 
-showsplash
AppName"

runCommand() { 
    typeset cmnd="$*" 
    typeset ret_code
    echo cmnd=$cmnd 
    eval $cmnd 
    ret_code=$?
    case $ret_code in 
    0)   
        printf "[%s] exit OK." "$NAME"   
        ;; 
    23)   
        printf "[%s] requested a restart. Restarting..." "$NAME"   r
        unCommand "$cmnd"   
        ;; 
    *)
        printf "Error : [%d] when executing command: …
Run Code Online (Sandbox Code Playgroud)

bash rcp eclipse-rcp osx-elcapitan

6
推荐指数
1
解决办法
92
查看次数

无法在目录中找到feature.xml

我刚刚在我的Eclipse RCP项目中添加了一个插件,并收到错误:无法在目录中找到feature.xml

这是什么意思?

java eclipse plugins

2
推荐指数
1
解决办法
5335
查看次数

标签 统计

bash ×1

eclipse ×1

eclipse-rcp ×1

java ×1

osx-elcapitan ×1

plugins ×1

rcp ×1