eclipse - 使用 Oracle Enterprise Pack 在 Eclipse 中安装 Liferay IDE

标签 eclipse oracle liferay liferay-ide

有没有人能够成功安装 Oracle Enterprise Pack for Eclipse 和 Liferay IDE?似乎对 Sapphire 的东西有相互排斥的依赖,我找不到安装两者的 hack。

这是 Eclipse 在尝试安装 Liferay IDE 时给出的错误:

Cannot complete the install because of a conflicting dependency.
  Software being installed: Liferay IDE 1.3.1.v201108310601 (com.liferay.ide.eclipse.tools.feature.group 1.3.1.v201108310601)
  Software currently installed: Oracle Web Tier Tools 1.7.3.201107052114 (oracle.eclipse.tools.indigo.webtier.feature.group 1.7.3.201107052114)
  Only one of the following can be installed at once: 
    Sapphire Modeling Framework 0.2.3.201106221307 (org.eclipse.sapphire.modeling 0.2.3.201106221307)
    Sapphire Modeling Framework 0.3.0.201106221325 (org.eclipse.sapphire.modeling 0.3.0.201106221325)
  Cannot satisfy dependency:
    From: Liferay Portlet Core 1.5.0.v201108310601 (com.liferay.ide.eclipse.portlet.core 1.5.0.v201108310601)
    To: bundle org.eclipse.sapphire.modeling 0.3.1
  Cannot satisfy dependency:
    From: Liferay IDE 1.3.1.v201108310601 (com.liferay.ide.eclipse.tools.feature.group 1.3.1.v201108310601)
    To: com.liferay.ide.eclipse.portlet.core [1.5.0.v201108310601]
  Cannot satisfy dependency:
    From: Oracle Web Tier Tools 1.7.3.201107052114 (oracle.eclipse.tools.indigo.webtier.feature.group 1.7.3.201107052114)
    To: oracle.eclipse.tools.webtier.jsf [4.0.2.201107052114]
  Cannot satisfy dependency:
    From: Oracle WebLogic Server Tools 4.0.2.201107052114 (oracle.eclipse.tools.weblogic 4.0.2.201107052114)
    To: bundle org.eclipse.sapphire.modeling [0.2.3,0.3.0)
  Cannot satisfy dependency:
    From: Oracle Web Tier Tools JSF 4.0.2.201107052114 (oracle.eclipse.tools.webtier.jsf 4.0.2.201107052114)
    To: bundle oracle.eclipse.tools.weblogic [4.0.2,4.1.0)

最佳答案

Liferay IDE 的最新版本需要特定版本的 Sapphire 才能运行,因此它不能与同样需要不同特定版本的 Oracle 共同安装。

唯一的解决方法是下载 Liferay IDE 源代码并手动构建它,在构建它之前,为所有下载的 Liferay IDE 插件(其中 5 个具有蓝 gem deps)打开蓝 gem 要求的有效版本范围。注意:这意味着任何时候 Liferay IDE 中基于 sapphire 的功能实际上遇到了一些需要的东西,它可能会失败,但其他一切都会正常工作。如果您有兴趣走这么远来解决这个问题,我很乐意提供帮助,但我们应该在这里继续对话:Liferay IDE Forums

关于eclipse - 使用 Oracle Enterprise Pack 在 Eclipse 中安装 Liferay IDE,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7322966/

相关文章:

Python AttributeError 'str' 对象没有属性 '_sID'

java - 防止 JAR 导入到 Eclipse Java 项目中

java - JPA 自定义查询仅返回某些值

sql - 在 SQL 过程中使用 UTL_MAIL 时出错

java - Liferay 的文档库可供多个用户使用,每个用户都有私有(private)存储库/文件夹/文件

java - 在 Eclipse 中运行 Java 应用程序时如何避免 glob 扩展

eclipse - 为什么我的代码不断收到 java.sql.SQLException : [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified?

java - 从 Java 调用 SQL 包过程

drupal - Drupal 中的 Liferay-Portlet

jsp - 在 liferay portlet 中无法访问 renderRequest