用p2(bash)在eclipse中安装插件

时间:2016-03-16 17:18:04

标签: eclipse bash eclipse-plugin p2

我尝试将插件安装到eclipse中。所以我看了我可以使用p2。我试着跟进:

test.sh

/opt/eclipse/eclipse \
-data /home/Hans/Documents/workspace \
-nosplash \
-application org.eclipse.equinox.p2.director \
-repository http://download.eclipse.org/releases/mars \
-installIUs org.eclipse.jst.ws.axis2tools.feature.feature.group,\ org.eclipse.jst.ws.cxf.feature.feature.group

如果我运行这个bash脚本,我会得到以下输出:

OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized.  Will retry after the state location is initialized.
org.eclipse.m2e.logback.configuration: Logback config file: /home/Hans/Documents/workspace/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.6.2.20150902-0002.xml
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://911.fwk1614238:1/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://911.fwk1614238:2/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
org.eclipse.m2e.logback.configuration: Initializing logback
openjdk version "1.8.0_71"
OpenJDK Runtime Environment (build 1.8.0_71-b15)
OpenJDK 64-Bit Server VM (build 25.71-b15, mixed mode)

如果我关闭eclipse,我会得到以下输出:

test.sh: line 5: -application: command not found

我可以在使用之前安装p2吗?

此致

0 个答案:

没有答案