2014-12-19 7 views
1

Как я вижу, нет возможности обновить определенный плагин в intellij 14. Плагин GWT, вероятно, распространяется для GWT 2.6, потому что в GWT 2.7 у нас есть новые параметры режима super dev, такие как -launcherDir, который не является в текущем Intellij (v14) и получить сообщение «Неизвестный аргумент: -launcherDir».Плагин GWT для Intellij IDEA

Так что мне нужно ждать следующего обновления версии Intellij IDEA или каким-то образом я могу обновить только плагин GWT для полной поддержки GWT2.7?

На самом деле вопрос заключается в том, что это возможно, чтобы обновить плагины intellij в отдельности или они будут обновлены при обновлении IDE?

Thnx

Это журнал ошибок:

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 

ответ

3

IntelliJ IDEA в комплекте плагины распространяются только вместе с продуктом, они не обновляются отдельно.

И на самом деле плагин GWT в IntelliJ IDEA 14 был полностью обновлен для поддержки GWT 2.7. Что именно вы делаете, когда получаете эту ошибку о launcherDir?

+0

Что касается выпуска примечания для GWT 2.7, то у нас есть -launcherDir в качестве параметров режима супер детектора, но когда я пытаюсь это сделать, я получаю сообщение об ошибке. Если я запустил из плагина maven, он пройдет! – Nav

+0

Где вы помещаете этот параметр? – yole

+0

Окно «Конфигурация запуска/отладки» (настройка GWT) перед «Параметры режима Dev» – Nav

1

На самом деле вопрос заключается в том, что это возможно, чтобы обновить плагины intellij по отдельности или они будут обновлены при обновлении IDE?

Он варьируется. Большинство подключаемых модулей обновляется только при обновлении полной IDE. Другие созданные JetBrains плагины обновляются отдельно. Обычно при запуске появляется предупреждающее поле «Плагины, готовые к обновлению», в котором перечислены все плагины, в которых есть доступные обновления. Вы также можете зайти в раздел плагина настроек и посмотреть, доступны ли какие-либо плагины. Любые плагины, для которых доступно обновление, будут иметь значок, указывающий на это.

Какую версию IDEA 14 вы используете? Выпуск IDEA-132009 GWT 2.7.0-beta1 superDevMode doesn't compile был fixed in version 14.0.2 выпущен 8 декабря. Также выпущены IDEA-133522 GWT compile fails in IDEA with GWT 2.7.0 и IDEA-133247 GWT Super Dev Mode ignores inherited public folders в v14.0.3 сборке EAP (Early Access Program) 139.791. Вы можете отправить download the EAP version или дождаться официального релиза v14.0.3. В качестве примечания я постоянно запускаю версии EAP. Они обычно очень стабильны. Эти исправления могут решить вашу проблему.

+0

Я использую 139.791 – Nav