1- Start eclipse
2- From eclipse marketplace seearch for gwt
3- install Eclipse GWT plugin 3.0.0
4- From eclipse menu select window -> preferences
5- open entry GWT -> GWT settings
| package com.progressoft.alpha.commons.client.store; | |
| import com.progressoft.alpha.commons.client.Formats; | |
| import com.progressoft.alpha.commons.shared.store.CanLoadItems; | |
| import com.progressoft.alpha.commons.shared.store.LoadContext; | |
| import org.dominokit.domino.ui.datatable.events.SearchEvent; | |
| import org.dominokit.domino.ui.datatable.events.SortEvent; | |
| import org.dominokit.domino.ui.datatable.events.TableEvent; | |
| import org.dominokit.domino.ui.datatable.events.TablePageChangeEvent; | |
| import org.dominokit.domino.ui.datatable.model.Filter; |
| AddQueueMember: Dynamically adds queue members. | |
| ADSIProg: Load Asterisk ADSI Scripts into phone | |
| AELSub: Launch subroutine built with AEL | |
| AgentLogin: Login an agent. | |
| AgentRequest: Request an agent to connect with the channel. | |
| AGI: Executes an AGI compliant application. | |
| Answer: Answer a channel if ringing. | |
| Authenticate: Authenticate a user | |
| BackGround: Play an audio file while waiting for digits of an extension to go to. | |
| BackgroundDetect: Background a file with talk detect. |
| webpackJsonp([11],{ | |
| /***/ 340: | |
| /***/ (function(module, exports, __webpack_require__) { | |
| "use strict"; | |
| var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; |
1- Start eclipse
2- From eclipse marketplace seearch for gwt
3- install Eclipse GWT plugin 3.0.0
4- From eclipse menu select window -> preferences
5- open entry GWT -> GWT settings
| <?xml version="1.0" encoding="UTF-8"?> | |
| <classpath> | |
| <classpathentry kind="src" path="src/main/java" including="**/*.java"/> | |
| <classpathentry kind="output" path="target/Aioc-1.0-SNAPSHOT/WEB-INF/classes"/> | |
| <classpathentry kind="var" path="M2_REPO/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar" sourcepath="M2_REPO/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar"/> | |
| <classpathentry kind="var" path="M2_REPO/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar"/> | |
| <classpathentry kind="var" path="M2_REPO/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar" sourcepath="M2_REPO/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0-sources.jar"/> | |
| <classpathentry kind="var" path="M2_REPO/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar" sourcepath="M2_REPO/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2-sources.jar"/> | |
| <classpathentry kind="var" path="M2_REPO/javax/annotati |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <classpath> | |
| <classpathentry kind="src" path="src/main/java" including="**/*.java"/> | |
| <classpathentry kind="output" path="target/Aioc-1.0-SNAPSHOT/WEB-INF/classes"/> | |
| <classpathentry kind="var" path="M2_REPO/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar" sourcepath="M2_REPO/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar"/> | |
| <classpathentry kind="var" path="M2_REPO/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar"/> | |
| <classpathentry kind="var" path="M2_REPO/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar" sourcepath="M2_REPO/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0-sources.jar"/> | |
| <classpathentry kind="var" path="M2_REPO/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar" sourcepath="M2_REPO/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2-sources.jar"/> | |
| <classpathentry kind="var" path="M2_REPO/javax/annotati |
| public interface CanLoadItems<T> { | |
| void load(LoadContext context, Consumer<IsSummaries<T>> responseConsumer); | |
| } |
The project has 48 modules and a total of 206 java files. there is 2 java files in the main module , the entry point class and the entry point interface only. this main module adds all other modules as dependencies.
* Fresh j2cl compilation with ADVANCED mode on, file size is 747KB:
Recompile of 2 source classes finished in 35801ms
poll: 48millis
javac: 440millis
j2cl: 1102millis
| task compileGwt(dependsOn: classes, type: JavaExec) { | |
| ext.buildDir = "${project.buildDir}/gwt" | |
| ext.extraDir = "${project.buildDir}/extra" | |
| inputs.file sourceSets.main.java.srcDirs | |
| inputs.dir sourceSets.main.output.resourcesDir | |
| outputs.dir buildDir | |
| doFirst { | |
| file(buildDir).mkdirs() |
| buildscript { | |
| apply from: "$rootDir/gradle/versions.gradle" | |
| } | |
| plugins { | |
| id "java" | |
| id "eclipse" | |
| id "idea" | |
| id "org.springframework.boot" version "1.5.10.RELEASE" | |
| id "net.ltgt.apt" version "0.14" |