简体   繁体   English

在Dart插件中启用Chromium / Dartium

[英]Enable Chromium / Dartium within Dart plugin

I installed the dart plugin and put the dartium (freshly downloaded) in the eclipse project. 我安装了dart插件并将dartium(刚刚下载的)放入eclipse项目中。 The folder is called chromium. 该文件夹名为chromium。

When I now start the project nothing happens. 当我现在启动项目时没有任何反应。 Dart plugin has a property in the preferences where I can specifiy the location of a custom browser to start. Dart插件在首选项中有一个属性,我可以指定自定义浏览器的位置来启动。 Does anyone know what I should select here or what I missed. 有谁知道我应该在这里选择什么或我错过了什么。

'dartium' must be in a directory called 'chromium' at the root of your eclipse installation. 'dartium'必须位于eclipse安装根目录中名为'chromium'的目录中。

For example, if your eclipse is at ~/dev/java/eclipse and you have unzipped dartium to ~/downloads/google/dartium-lucid64-full-stable-1.12.1.0 then if you symbolicaly link 例如,如果你的eclipse位于〜/ dev / java / eclipse并且你有解压缩的dartium到〜/ downloads / google / dartium-lucid64-full-stable-1.12.1.0那么如果你符号链接

ln -s ~/downloads/google/dartium-lucid64-full-stable-1.12.1.0 ~/dev/java/eclipse/chromium ln -s~ / downloads / google / dartium-lucid64-full-stable-1.12.1.0~ / dev / java / eclipse / chromium

then the eclipse dart plugin will find dartium. 然后eclipse dart插件会找到dartium。

On OS X, I place my Chromium.app package in a "chromium" directory that is a child of the actual eclipse install directory. 在OS X上,我将Chromium.app包放在“chromium”目录中,该目录是实际eclipse安装目录的子目录。

(eg /Applications/eclipse-4.3.2/chromium/Chromium.app) (例如/Applications/eclipse-4.3.2/chromium/Chromium.app)

在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM