Commit Graph

73 Commits (b331c3c50559958b2e110b8d04640ee6fa34cf21)

Author SHA1 Message Date
Artem Zatsarynnyi 66e2d89095 Fix failing Closure Compiling in case GWT JavaScript compiler output style set to DETAILED mode (#2796)
When I enable Closure Compiler and set GWT JavaScript compiler output style to DETAILED mode
by providing the following configuration of gwt-maven-plugin:
<configuration>
    <modules>
        <module>org.eclipse.che.ide.IDE</module>
    </modules>
    <style>DETAILED</style>
    <enableClosureCompiler>true</enableClosureCompiler>
</configuration>

I get the following compilation error:
[INFO]    Compiling 4 permutations
[INFO]       Compiling permutation 0...
[ERROR] error optimizing:JSC_VAR_ARGUMENTS_SHADOWED_ERROR. Shadowing "arguments" is not allowed at org/eclipse/che/plugin/maven/client/command/MavenCommandModel.java line 25 : 0
[INFO]       [ERROR] Unexpected internal compiler error
[INFO] java.lang.RuntimeException: Shadowing "arguments" is not allowed
[INFO] 	at com.google.gwt.dev.js.ClosureJsRunner.compile(ClosureJsRunner.java:207)
[INFO] 	at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$PermutationCompiler.generateJavaScriptCode(JavaToJavaScriptCompiler.java:524)
[INFO] 	at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$PermutationCompiler.compilePermutation(JavaToJavaScriptCompiler.java:347)
[INFO] 	at com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.compilePermutation(MonolithicJavaToJavaScriptCompiler.java:296)
[INFO] 	at com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(UnifiedAst.java:143)
[INFO] 	at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:197)
[INFO] 	at com.google.gwt.dev.ThreadedPermutationWorkerFactory$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFactory.java:50)
[INFO] 	at com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(PermutationWorkerFactory.java:74)
[INFO] 	at java.lang.Thread.run(Thread.java:745)
[INFO]       [ERROR] Unrecoverable exception, shutting down
[INFO] com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
[INFO] 	at com.google.gwt.dev.javac.CompilationProblemReporter.logAndTranslateException(CompilationProblemReporter.java:112)
[INFO] 	at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$PermutationCompiler.compilePermutation(JavaToJavaScriptCompiler.java:363)
[INFO] 	at com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.compilePermutation(MonolithicJavaToJavaScriptCompiler.java:296)
[INFO] 	at com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(UnifiedAst.java:143)
[INFO] 	at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:197)
[INFO] 	at com.google.gwt.dev.ThreadedPermutationWorkerFactory$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFactory.java:50)
[INFO] 	at com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(PermutationWorkerFactory.java:74)
[INFO] 	at java.lang.Thread.run(Thread.java:745)
[INFO]       [ERROR] Not all permutation were compiled , completed (0/4)

It means that using 'arguments' as a name of a method parameter is forbidden by Google Closure Compiler because, it seems, that it's reserved for internal using here:
https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/SyntacticScopeCreator.java#L38
2016-10-17 12:51:56 +03:00
Artem Zatsarynnyi 2ba8cdfa42 Client command framework improvements (#2730)
Client command framework improvements

1. Introduced contextual commands.
2. Added ${explorer.current.file.parent.path} macro.
3. Cleaned up unused resources.
4. Refactored code in order to simplify it and made it more clear and understandable:

- simplified a way of providing new command types;
- command types api moved to ide-api to avoid unnecessary dependency on machine extension;
- command management extracted from EditCommandsPresenter to the separate facade - CommandManager. So EditCommandsPresenter now doesn't perform several http requests manipulating with commands but only one;
- refactored code related to the obsolete terminology CommandPropertyValueProvider -> Macro;
- macro can provide its description (it will be really useful for showing it in UI);
- macros processing separated from the command execution and extracted to the separate component MacroProcessor since it's used not only for the commands but in debug configurations for example.
2016-10-11 11:35:42 +03:00
Roman Iuvshin b986091e4a [maven-release-plugin] prepare for next development iteration 2016-10-07 10:22:41 +00:00
Roman Iuvshin 8f799b4c28 [maven-release-plugin] prepare release 5.0.0-M5 2016-10-07 10:22:37 +00:00
Vitalii Parfonov 0003b2324b che#2608: added vfs exlude filters, small vfs watcher fix, improved project tree changes detection algorithm (#2713)
Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
2016-10-05 18:41:00 +03:00
Florent BENOIT 67f78d7711 Fix scope to be compliant as well with #2610 issue (#2696)
-Dmaven.test.skip=true should work
Fix #2610 

Change-Id: I27294cb9d2f161d30174d2d7cceb0cf758f6be50
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-10-05 09:58:58 +02:00
Valeriy Svydenko acd9ba49d5 CHE-1857: add ability to rename projects (#2436)
CHE-1857: add an ability to rename project
2016-09-28 10:52:16 +03:00
Roman Iuvshin 33944c6ec1 set M5 version 2016-09-27 16:08:19 +03:00
Roman Iuvshin 152be21b4f [maven-release-plugin] prepare for next development iteration 2016-09-26 14:19:41 +00:00
Roman Iuvshin 89ab012035 [maven-release-plugin] prepare release 5.0.0-M3 2016-09-26 14:19:37 +00:00
Roman Iuvshin 900ccbb807 set M3 version 2016-09-20 17:31:42 +03:00
Anton Korneta d5fe8aed73 CHE-1790: Consolidate databases 2016-09-15 16:57:30 +03:00
Roman Iuvshin 3c1df2e4ad [maven-release-plugin] prepare for next development iteration 2016-09-14 15:50:20 +00:00
Roman Iuvshin b647b5eef7 [maven-release-plugin] prepare release 5.0.0-M1 2016-09-14 15:50:16 +00:00
Artem Zatsarynnyi d9ad483e01 Fix NPE after deleting multi-module project 2016-09-12 15:42:04 +03:00
Anatoliy Bazko af2f1098d7 CHE-1823: Machine Agent implementation (#2311) 2016-09-08 16:39:14 +03:00
Dmitry Kuleshov 5d267fe305 VFS file watcher based use cases implementations (#2339)
* che#1910: added several new user workflows implementations for VFS

Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
2016-09-07 11:22:22 +03:00
Roman Iuvshin 8df0560ad3 set new version 2016-09-07 10:38:51 +03:00
Roman Iuvshin ca14fc7470 [maven-release-plugin] prepare for next development iteration 2016-08-29 15:12:16 +00:00
Roman Iuvshin 36311ea4c8 [maven-release-plugin] prepare release 4.7.0 2016-08-29 15:12:12 +00:00
Alexander Garagatyi 0e9718e016 CHE-1370: refactor workspace environment bottstrapping and handling (#2108)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2016-08-16 16:23:08 +03:00
Roman Iuvshin 813b36851c [maven-release-plugin] prepare for next development iteration 2016-08-16 08:28:05 +00:00
Roman Iuvshin ef38dd5fb2 [maven-release-plugin] prepare release 4.7.0-RC1 2016-08-16 08:28:02 +00:00
Evgen Vidolob cc51c0ef27 #1913 Deprecates some of Editor API classes and interfaces 2016-08-12 12:35:28 +03:00
Roman Iuvshin 99b6beb356 [maven-release-plugin] prepare for next development iteration 2016-08-01 10:32:16 +00:00
Roman Iuvshin 3a0fd2a00c [maven-release-plugin] prepare release 4.6.0 2016-08-01 10:32:13 +00:00
Evgen Vidolob ca94fc2071 #1887 Move che-plugin-java-jdt-core-repack module to che-lib project 2016-07-28 10:45:06 +03:00
Valeriy Svydenko 1f2a6b6c74 CHE-1819: fix NPE when unresolved project is deleted
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-07-26 17:26:03 +03:00
Dmitry Kuleshov 435bbd5505 [WIP] CHE-11: VFS event handling system (#1634)
CHE-11: VFS event handling system initial commit
2016-07-19 11:35:37 +03:00
Roman Iuvshin f9369146c1 [maven-release-plugin] prepare for next development iteration 2016-07-18 13:58:51 +00:00
Roman Iuvshin b6795f1a9a [maven-release-plugin] prepare release 4.5.0 2016-07-18 13:58:48 +00:00
Valeriy Svydenko 0cf84aa324 CHE-1454: show warning dialog if estimation of the maven project has troubles 2016-07-15 12:42:56 +03:00
Vladyslav Zhukovskii 39dc621da5 Fix cyclic request sending and possible NPE
`NewFolderAction` - added dialog showing if any error occurred.
`ProjectExplorerPresenter` - fix disappearing maven module after project reconfiguring.
`RevealNodesPersistenceComponent` - reduce count of files which stores into user preference.
`TreeResourceRevealer` - add ability to select node after reveal operation.
`InMemoryResourceStore` - checking resource only by ones prefix path.
`NodeLoader` - revert last changes, because they are redundant.
`NewPackageAction` - prevent potential NPE.
`ProjectClasspathAction` - prevent potential NPE.
`MoveAction` - prevent potential NPE.
`RenameRefactoringAction` - prevent potential NPE.
`GetEffectivePomAction` - prevent potential NPE.
2016-07-08 13:53:14 +03:00
Roman Nikitenko 6c1c543ac6 CHE-1210. Block content assist until project is resolved
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-07-06 15:37:43 +03:00
Vladyslav Zhukovskii 001b4b87e8 Resource management
Signed-off-by: Vladyslav Zhukovskii <vzhukovskii@codenvy.com>
2016-07-02 18:15:33 +03:00
Roman Iuvshin 6a23f97700 [maven-release-plugin] prepare for next development iteration 2016-06-28 16:00:40 +00:00
Roman Iuvshin 400648e1db [maven-release-plugin] prepare release 4.4.0 2016-06-28 16:00:37 +00:00
Vitalii Parfonov 0d4b846fdc Temporary exclude MavenServerManagerTest because it fail time-to-time and we don't know reason (#1537)
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-06-21 18:03:24 +03:00
Valeriy Svydenko 5a4a31068f CHE-1168: determine source folders with generated artifacts
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-06-15 15:08:51 +03:00
Vitalii Parfonov 560edd8199 Export proxy object instead of real maven terminal object. … (#1500)
* Export proxy object instead of real maven terminal object. Avoid NPE in case jar lab's are not set for javac project
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-06-14 14:01:43 +03:00
Roman Iuvshin 5adff554bc [maven-release-plugin] prepare for next development iteration 2016-06-13 18:57:39 +00:00
Roman Iuvshin e9f5d4971e [maven-release-plugin] prepare release 4.3.0 2016-06-13 18:57:36 +00:00
Vitalii Parfonov 21f9a44ba6 CODENVY-645: start re-import only for maven project, add checking on empty list of paths (#1489)
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-06-13 16:19:27 +03:00
Sergii Leschenko 42690da407 CODENVY-480 Remove user's roles (#1336) 2016-06-10 17:32:02 +03:00
Vladyslav Zhukovskii 8996ed9db1 Move classes related with virtual file to resources package 2016-06-07 15:35:54 +03:00
Vladyslav Zhukovskii 54e591a2d8 Move classes related with data tree structure to dedicate package 2016-06-07 11:25:56 +03:00
Vitalii Parfonov 21c878962c CODENVY-568: Add possibility handel event then factory fully accepted (#1429)
* Add event then FctoryAccepted
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-06-06 11:26:33 +03:00
Roman Iuvshin 140b09a9a0 [maven-release-plugin] prepare for next development iteration 2016-06-04 19:52:26 +00:00
Roman Iuvshin fbd9f95748 [maven-release-plugin] prepare release 4.3.0-RC1 2016-06-04 19:52:23 +00:00
Roman Nikitenko a99d15b7b4 CHE-1231. Show/hide error messages after updating pom.xml
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-06-02 12:41:29 +03:00