Tuesday, September 29, 2020

Re: New Presentation about Modern GWT Webapp Development

Thanks Lofi,

there is another interesting Gradle plugin for GWT especially with regard to the approach to use npm and webpack:

https://github.com/ascendtech/gwt-gradle

Slide 42 Example 1: The null check is useless because Arrays.asList will throw a NPE if argument is null.

Don't know if gwt-ol is interesting for the slides because actually it is a simple JsInterop wrapper but maps are looking good in presentations:

https://github.com/TDesjardins/gwt-ol
https://tdesjardins.github.io/gwt-ol-demo-site/#application/map/XyzExample

lofid...@gmail.com schrieb am Montag, 28. September 2020 um 16:54:01 UTC+2:
I added the presentation with "Fun with GWT / J2CL" - Quake2 Port to J2CL from Dimitrii, it is a really nice use case 😉👍

lofid...@gmail.com schrieb am Dienstag, 22. September 2020 um 23:22:19 UTC+2:
I added Gradle in the "Tools" page, enjoy 😊 

t.br...@gmail.com schrieb am Montag, 21. September 2020 um 18:52:56 UTC+2:
Fwiw, without plugin (Kotlin DSL):

val gwtOutputDir = file("$buildDir/gwtc/war")
tasks
{
    val gwtCompile
by registering(JavaExec::class) {
        val companionOutputDir
= file("$buildDir/gwtc")
        val deployDir
= file("$companionOutputDir/extra")
        val extraDir
= deployDir
        val genDir
= file("$companionOutputDir/gen") // XXX: useful?
        val workDir
= file("$companionOutputDir/work")


        outputs
.dir(gwtOutputDir).withPropertyName("outputDir")
        outputs
.dir(deployDir).withPropertyName("deployDir")
        outputs
.dir(extraDir).withPropertyName("extraDir")
        outputs
.dir(genDir).withPropertyName("genDir")
        outputs
.dir(workDir).withPropertyName("workDir")


        classpath
= gwt
        maxHeapSize
= "1g"
        main
= "com.google.gwt.dev.Compiler"
        args
(
           
"-failOnError",
           
"-XdisableCastChecking",
           
"-XdisableClassMetadata",
           
"-war", gwtOutputDir,
           
"-deploy", deployDir,
           
"-extra", extraDir,
           
"-gen", genDir,
           
"-workDir", workDir,
           
"com.example.app.App"
       
)


        doFirst
{
           
delete(gwtOutputDir, deployDir, extraDir, genDir)
       
}
   
}


   
register<JavaExec>("run") {

        val workDir
= file("$buildDir/gwt/codeserver")


        classpath
= gwt
        maxHeapSize
= "2g"
        main
= "com.google.gwt.dev.codeserver.CodeServer"
        args
(
           
"-failOnError",
           
"-launcherDir", gwtOutputDir,
           
"-workDir", workDir,
           
"com.example.app.App"
       
)


        doFirst
{
           
delete(gwtOutputDir)
            mkdir
(workDir)
       
}
   
}


    integrationTest
{
        val warDir
= file("$buildDir/gwt/www-test")
        val workDir
= file("$buildDir/gwt/work")
        outputs
.dir(warDir).withPropertyName("warDir")
        outputs
.dir(workDir).withPropertyName("workDir")


        isScanForTestClasses
= false
        include
("**/*Suite.class")


        maxHeapSize
= "1g"
        systemProperty
("gwt.args", """-ea -draftCompile -batch module -war "$warDir" -workDir "$workDir" -runStyle HtmlUnit:FF38""")

   
}
}


On Monday, September 21, 2020 at 2:04:38 PM UTC+2, Michael Joyner wrote:
There is also this jiakuan fork of the steffenschaefer plugin:

https://github.com/jiakuan/gwt-gradle-plugin

Maintenance of the fork is active.


On 9/21/20 6:55 AM, Joker Joker wrote:
Lofi,

I tried 3 plugins and this one (esoco) is the best one among them. 2 of them are abandoned. The plugin from esoco is the only one mantained at the moment.

Putnami was my choise before it was abandoned.
Now I use esoco gradle plugin on 2 my large production projects and on on several gwt libraries.

пятница, 18 сентября 2020 г. в 00:39:06 UTC+4, jumanor:
Gran trabajo, muchas gracias.
great job!


El lunes, 11 de mayo de 2020 a las 16:01:56 UTC-5, lofid...@gmail.com escribió:
Hi All,

if you need a presentation about modern GWT development as an introduction, just take a look at this:


I also added this presentation in the Modern GWT Padlet: https://bit.ly/GWTIntroPadlet

Have fun,
Lofi
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/4b5993fd-522e-42a0-901c-26ab0ee4a231n%40googlegroups.com.

No comments:

Post a Comment