简体   繁体   English

Play2 Eclipse插件

[英]Play2 Plugin for Eclipse

I am sitting behind a firewall, so I cannot connect to the external repositories to download the necessary files for the Play sample project and then eclipsify. 我正坐在防火墙后面,因此无法连接到外部存储库以下载Play示例项目所需的文件,然后使其黯然失色。 Is there any other way I can create a Play2 project in Eclipse, like an installable Eclipse plugin to do the work? 还有什么其他方法可以在Eclipse中创建Play2项目,例如可安装的Eclipse插件来完成这项工作?

Not sure what are your constraints, but if you can download a zip file, you should try the Typesafe Activator . 不确定您的限制是什么,但是如果您可以下载一个zip文件,则应尝试使用Typesafe Activator It can generate Eclipse or IntelliJ project files. 它可以生成Eclipse或IntelliJ项目文件。

You might want to install the Eclipse plugin for Play2 and the Scala IDE . 您可能需要为Play2Scala IDE安装Eclipse插件。

I don't know exactly what contains the Typesafe activator but I think you will still have issues with SBT in the future when you will need to add more dependencies. 我不知道确切包含Typesafe激活器的内容,但是我认为将来当您需要添加更多依赖项时,SBT仍然存在问题。

This firewall seems unfortunate for any modern development workflow. 对于任何现代开发工作流程,此防火墙似乎都是不幸的。

Do you think you could try to introduce Nexus in your company? 您认为可以尝试在公司中引入Nexus吗? http://www.sonatype.org/nexus/ http://www.sonatype.org/nexus/

It's a proxy that takes place between you and an external repository to have more control over the dependencies in your local network. 它是您与外部存储库之间发生的代理,可以更好地控制本地网络中的依赖关系。

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

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