griffon

griffon programming error: unable to find class annotation

女生的网名这么多〃 提交于 2020-01-04 08:05:22
问题 I am trying to get the hang of griffon/grails/groovy for a project. I get this error at compile time from my Test1Controller.groovy file: [griffonc] /home/ironmantis7x/griffon_projects/test1/griffon-app/controllers/test1/Test1Controller.groovy: 14: unable to resolve class Threading , unable to find class for annotation [griffonc] @ line 14, column 5. [griffonc] @Threading(Threading.Policy.SKIP) [griffonc] ^ [griffonc] [griffonc] /home/ironmantis7x/griffon_projects/test1/griffon-app

What's the definitive Java Swing starter guide and reference?

流过昼夜 提交于 2019-12-30 04:34:35
问题 Obviously the Java API reference, but what else is there that you all use? I've been doing web development my entire career. Lately I've been messing around a lot with Groovy and I've decided to do a small application in Griffon just to experiment more with Groovy and also break some ground in desktop development. The only thing is I'm totally green when it comes to desktop apps. So, world, where's a good place to start? 回答1: The Swing Tutorial is very good. Apart from that, the Swing API is

Compilation error: BUG! exception after Griffon project upgrade

本秂侑毒 提交于 2019-12-13 07:24:59
问题 I've working in a rich client with an Griffon 0.3.1 enviroment during the last couple of months. That version is getting old and now I'm required to upgrade the project into a 0.9.3. After doing: griffon upgrade And getting the latest releases of the required plugins I'm facing the following error: Compilation error: BUG! exception in phase 'canonicalization' in source unit 'C:\maestro\desarrollo\projects\interactionManager\sgmentia-client\griffon-app\controllers\com\nortia\sgmentia\client

Griffon dont create Eclipse .project and .classpath files

老子叫甜甜 提交于 2019-12-12 08:59:41
问题 Griffon 0.9.2-beta-3 after exec "griffon create-app DemoConsole" cant find the .project, so cant import it into eclipse(sts). but the docs say that "Griffon automatically creates Eclipse .project and .classpath files for you", did i miss some step? solved by : griffon integrate-with --eclipse griffon install-plugin eclipse-support griffon eclipse-update eclipse --> import existing project 回答1: In STS 2.6 (& probably other Eclipse versions) also need to add a classpath variable. If you get

IntelliJ Idea LanternaGriffon Doesn't Recognize Griffon Project

强颜欢笑 提交于 2019-12-12 04:36:25
问题 I just made my first Griffon project, using lazybones. I chose griffon-lanterna-groovy for my template, and I then removed pom.xml and maven/ as I will be using Gradle. I then run gradle build test run and everything looked good. (it ran, build succeeded, etc.) Next, I opened the project in IntelliJ and I've tried this in a variety of ways. No matter what I do, it IntelliJ doesn't recognize that this is a Griffon project. I am using the latest stable version of all these library's, and I'm

Manage wait cursor for task

大憨熊 提交于 2019-12-12 00:41:47
问题 I'm outside the UI and wish to display a wait cursor while stuff is happening and using this basic pattern: on UI - primaryStage.scene.cursor = Cursor.WAIT try { do stuff off UI... } finally { on UI - primaryStage.scene.cursor = Cursor.DEFAULT } While running I can start another process which completes quickly and the Cursor is restored before the first task completes. I don't mind "waiting" while the first task completes, but I don't think this means doing the work on the UI thread? Is there

Griffon 2.7 Tutorial

核能气质少年 提交于 2019-12-11 00:00:39
问题 Following the official tutorial on griffon-framework.org/tutorials/1_getting_started.html .. Installed lazybones / gradle .. Created the sample application as per tutorial .. Tried to run gradle build and get $ gradle run --info Starting Build Settings evaluated using settings file 'C:\cygwin64\home\Rob\sample\settings.gradle'. Projects loaded. Root project using build file C:\cygwin64\home\Rob\sample\build.gradle'. Included projects: [root project 'sample'] Evaluating root project 'sample'

What's the definitive Java Swing starter guide and reference?

邮差的信 提交于 2019-11-30 13:31:53
Obviously the Java API reference, but what else is there that you all use? I've been doing web development my entire career. Lately I've been messing around a lot with Groovy and I've decided to do a small application in Griffon just to experiment more with Groovy and also break some ground in desktop development. The only thing is I'm totally green when it comes to desktop apps. So, world, where's a good place to start? The Swing Tutorial is very good. Apart from that, the Swing API is obviously the reference, however it's also a treasure trove of fairly good source code! Add the API source