Intellij IDEA的GWT插件 [英] GWT plugin for Intellij IDEA

查看:1422
本文介绍了Intellij IDEA的GWT插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如我所看到的,在intellij 14中没有选择升级特定的插件。GWT插件可能是为GWT 2.6分发的,因为在GWT 2.7中我们有新的超级开发模式参数,如-launcherDir,不在当前的Intellij所以我需要等待下一个Intellij IDEA版本更新或者我可以升级唯一的GWT插件来支持完整版本GWT2.7?



实际上,这个问题可能是单独升级intellij插件还是更新IDE更新?



thnx

这是错误日志:

 未知参数:-LauncherDir 
Google Web Toolkit 2.7.0
DevMode [ - [no] startServer] [-port port-number | auto] [-whitelist whitelist-string] [-blacklist blacklist-string] [-logdir directory] ​​[-logLevel level] [-gen dir] [-bindAddress host-name-or-address] [-codeServerPort port-number | auto] [ - [no] superDevMode] [-server servletContainerLauncher [:args]] [-startupUrl url] [-war dir] [-deploy dir] [-extra dir] [-modulePathPrefix] [-workDir dir] [ -XmethodNameDisplayMode NONE | ONLY_METHOD_NAME | ABBREVIATED | FULL] [-sourceLevel [auto,1.6,1.7]] [-XjsInteropMode [NONE,JS,CLOSURE]] [ - [no] incremental]模块[s]

其中
- [ no] startServer启动一个服务于由-war标志指定的目录的servlet容器。 (默认为ON)
-port指定嵌入式Web服务器的TCP端口(默认为8888)
-whitelist允许用户浏览与指定正则表达式匹配的URL(以逗号或空格分隔)
-blacklist防止用户浏览与指定正则表达式匹配的URL(以逗号或空格分隔)
-logdir以图形方式记录到给定目录中的文件
-logLevel记录详细信息的级别:错误,警告,信息,痕迹,调试,垃圾邮件或全部
-gen调试:导致正常瞬态生成的类型被保存在指定的目录中
-bindAddress指定代码服务器的绑定地址和web服务器(默认为127.0.0.1)
-codeServerPort指定代码服务器的TCP端口(默认为经典开发模式9997或超级开发模式9876)
- [no] superDevMode运行超级Dev Mo而不是传统的开发模式。 (默认为ON)
-server指定要运行的不同嵌入式Web服务器(必须实现ServletContainerLauncher)
-startupUrl自动启动指定的URL
-war可部署输出文件的目录写入(默认为'war')
-deploy将编写可部署但不可用的输出文件的目录(默认为-war目录/ jar下的'WEB-INF / deploy',可能是相同的作为-extra目录/ jar)
-extra额外文件不打算用于部署的目录将被写入
-modulePathPrefix DevMode将创建模块目录的war目录中的子目录。 (顶层缺省为空)
-workDir编译器内部使用的工作目录(必须是可写的;默认为系统临时目录)
-XmethodNameDisplayMode发出额外的信息允许chrome开发工具显示Java标识符许多地方,而不是JavaScript的功能。
-sourceLevel指定Java源代码级别(默认为auto:1.7)
-XjsInteropMode指定JsInterop模式,NONE,JS或CLOSURE(默认为NONE)
- [no] incremental更快编译通过重用先前编译的数据。 (默认为ON)

module [s]指定要托管的模块的名称


解决方案

IntelliJ IDEA捆绑插件只与产品一起发布,它们不会单独更新。



实际上,IntelliJ IDEA 14中的GWT插件已经完全更新以支持GWT 2.7。当你遇到有关launcherDir的错误时,你到底在做什么?


As I see there is no option to do upgrade specific plugin in intellij 14. GWT plugin probably is distributed for GWT 2.6, because in GWT 2.7 we have new super dev mode parameters like -launcherDir that is not in the current Intellij (v14) and getting "Unknown argument: -launcherDir" error.

So I need to wait for next Intellij IDEA version update or somehow I can upgrade only GWT plugin to support fully GWT2.7 ?

Actually the question would be is this possibl;e to upgrade intellij plugins individually or they will be updated be IDE update ?

Thnx

This is Error log:

Unknown argument: -LauncherDir
Google Web Toolkit 2.7.0
DevMode [-[no]startServer] [-port port-number | "auto"] [-whitelist whitelist-string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [-gen dir] [-bindAddress host-name-or-address] [-codeServerPort port-number | "auto"] [-[no]superDevMode] [-server servletContainerLauncher[:args]] [-startupUrl url] [-war dir] [-deploy dir] [-extra dir] [-modulePathPrefix ] [-workDir dir] [-XmethodNameDisplayMode NONE | ONLY_METHOD_NAME | ABBREVIATED | FULL] [-sourceLevel [auto, 1.6, 1.7]] [-XjsInteropMode [NONE, JS, CLOSURE]] [-[no]incremental] module[s] 

where 
  -[no]startServer         Starts a servlet container serving the directory specified by the -war flag. (defaults to ON)
  -port                    Specifies the TCP port for the embedded web server (defaults to 8888)
  -whitelist               Allows the user to browse URLs that match the specified regexes (comma or space separated)
  -blacklist               Prevents the user browsing URLs that match the specified regexes (comma or space separated)
  -logdir                  Logs to a file in the given directory, as well as graphically
  -logLevel                The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL
  -gen                     Debugging: causes normally-transient generated types to be saved in the specified directory
  -bindAddress             Specifies the bind address for the code server and web server (defaults to 127.0.0.1)
  -codeServerPort          Specifies the TCP port for the code server (defaults to 9997 for classic Dev Mode or 9876 for Super Dev Mode)
  -[no]superDevMode        Runs Super Dev Mode instead of classic Development Mode. (defaults to ON)
  -server                  Specify a different embedded web server to run (must implement ServletContainerLauncher)
  -startupUrl              Automatically launches the specified URL
  -war                     The directory into which deployable output files will be written (defaults to 'war')
  -deploy                  The directory into which deployable but not servable output files will be written (defaults to 'WEB-INF/deploy' under the -war directory/jar, and may be the same as the -extra directory/jar)
  -extra                   The directory into which extra files, not intended for deployment, will be written
  -modulePathPrefix        The subdirectory inside the war dir where DevMode will create module directories. (defaults empty for top level)
  -workDir                 The compiler's working directory for internal use (must be writeable; defaults to a system temp dir)
  -XmethodNameDisplayMode  Emit extra information allow chrome dev tools to display Java identifiers in many places instead of JavaScript functions.
  -sourceLevel             Specifies Java source level (defaults to auto:1.7)
  -XjsInteropMode          Specifies JsInterop mode, either NONE, JS, or CLOSURE (defaults to NONE)
  -[no]incremental         Compiles faster by reusing data from the previous compile. (defaults to ON)
and 
  module[s]                Specifies the name(s) of the module(s) to host

解决方案

IntelliJ IDEA bundled plugins are distributed only together with the product, they are not updated separately.

And actually the GWT plugin in IntelliJ IDEA 14 has been fully updated to support GWT 2.7. What exactly are you doing when you get this error about launcherDir?

这篇关于Intellij IDEA的GWT插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆