简体   繁体   English

Eclipse的Dart插件-使用网络代理

[英]Dart Plugin For Eclipse - Using a network Proxy

I'm currently using Eclipse: Kepler and just installed the Dart plug-in via Help->Install New Software. 我当前正在使用Eclipse:Kepler,并且刚刚通过“帮助”->“安装新软件”安装了Dart插件。

Download went through without a hitch and I attempted to create my first dummy project to see if it was all working fine similar to how it's displayed in http://blog.dartwatch.com/2013/01/integrating-dart-into-eclipse-and-your.html 下载顺利进行,我尝试创建我的第一个虚拟项目,以查看其是否工作正常,类似于http://blog.dartwatch.com/2013/01/integrating-dart-into-eclipse中的显示方式-and-your.html

However, I'm getting some pub errors where it can not download of the required libraries. 但是,我遇到一些发布错误,无法下载所需的库。 The error in question looks like this 有问题的错误看起来像这样

Got socket error trying to find package "browser" at https://pub.dartlang.org.

SocketException: Connection failed (OS Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
, errno = 10060), address = pub.dartlang.org, port = 443

That said, is there an additional configuration/ini file that I need to modify for this to work? 也就是说,是否需要修改其他配置/ ini文件才能使其正常工作? I've checked my system and environment variables - nothing seems out of place. 我已经检查了我的系统和环境变量-似乎什么都没有。 I can use the build in browser inside of eclipse and download other packages through the Eclipse Marketplace. 我可以使用Eclipse中的内置浏览器,并通过Eclipse Marketplace下载其他软件包。

Issue 5454 is relating to using pub behind a proxy and marked as "Fixed", but there's still some discussion going on after it was marked as Fixed, so I'm not completely sure what the status is today. 问题5454与在代理后面使用pub并标记为“ Fixed”有关,但是在将其标记为Fixed之后仍存在一些讨论,因此我不确定目前的状态。 There's some discussion of different behaviour from the editor though. 尽管有一些关于编辑器行为的讨论。

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

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