by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 01 23:15
    greenlaw110 labeled #1353
  • Aug 01 23:15
    greenlaw110 labeled #1353
  • Aug 01 23:15
    greenlaw110 labeled #1353
  • Aug 01 23:15
    greenlaw110 labeled #1353
  • Aug 01 23:15
    greenlaw110 assigned #1353
  • Aug 01 23:15
    greenlaw110 assigned #1353
  • Aug 01 23:15
    greenlaw110 milestoned #1353
  • Aug 01 23:15
    greenlaw110 milestoned #1353
  • Aug 01 23:15
    greenlaw110 commented #1353
  • Aug 01 23:15
    greenlaw110 commented #1353
  • Aug 01 23:06
    greenlaw110 milestoned #1354
  • Aug 01 23:06
    greenlaw110 milestoned #1354
  • Aug 01 23:06
    greenlaw110 labeled #1354
  • Aug 01 23:06
    greenlaw110 labeled #1354
  • Aug 01 22:52

    greenlaw110 on 1.9

    Support Java 14 Record #1354 (compare)

  • Aug 01 22:52

    greenlaw110 on 1.9

    Support Java 14 Record #1354 (compare)

  • Aug 01 22:32

    greenlaw110 on 1.9

    WIP Allow developer to specify ECJ … (compare)

  • Aug 01 22:32

    greenlaw110 on 1.9

    WIP Allow developer to specify ECJ … (compare)

  • Aug 01 22:31
    greenlaw110 assigned #1354
  • Aug 01 22:31
    greenlaw110 assigned #1354
Gelin Luo
@greenlaw110
Now I hit the login link and got this error:
image.png
The console log for the error is:
image.png
Finally I found you have this line of code defined in User's constructor:
image.png
You tried to grant a role to the user, however the role object is not defined in acl.yaml file:
Then I added the role corresponding to AAAHelper.ROLE_USER into the acl.yaml file:
image.png
Finally we can get the check page working as expected:
image.png
Gelin Luo
@greenlaw110
I have committed my changes and submit a PR to you @DeveloperClaus
image.png
Here is the missing message which is about fixing the missing initial user(principal) issue:
image.png
DeveloperClaus
@DeveloperClaus
Thanks for helping me with that! This example is now working as expected, and I learned a lot of things. My original example does not work yet, but that doesn't matter, because I made some things only for testing the login. I guess when I clean up, that example will work as well. So thank you very much for your help and for this framework.
Marwan Rabbâa
@waghanza
Hi @greenlaw110,
do you plan to support java > 8 ?
Gelin Luo
@greenlaw110
@waghanza yes I do, but probably not in this year.
Marwan Rabbâa
@waghanza
@greenlaw110 I see that act use java 11 in https://travis-ci.org/github/actframework/actframework/builds/631822450#L204
however, you said to me in the past that act support only java 8. which jvm versions are supported ?
also java 17 (lts) is coming in september
Gelin Luo
@greenlaw110
@waghanza that travis build failed.
Understood that I need to catch up the new JDK, still need to figure out the time to work on it
Marwan Rabbâa
@waghanza
ok
Marwan Rabbâa
@waghanza
hi @greenlaw110,
I have
[ERROR] Failed to execute goal on project which-is-the-fastest: Could not resolve dependencies for project benchmark.act:which-is-the-fastest:jar:1.8.11: Could not find artifact org.actframework:act-asm:jar:5.0.6 in central (https://repo.maven.apache.org/maven2) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException with https://github.com/the-benchmarker/web-frameworks/tree/master/java/act
Gelin Luo
@greenlaw110
shit, I am not sure why, but that component stays in the staging repository of oss.sonatype.org. I didn't get any console error when I run mvn release on it yesterday. I just log into sonatype and get it released. Should be available in 1 h
Gelin Luo
@greenlaw110
Hi @waghanza I confimr act-asm-5.0.6 is now in the repo:
image.png
Marwan Rabbâa
@waghanza
ok, we can close the-benchmarker/web-frameworks#3045 @greenlaw110
Gelin Luo
@greenlaw110
@waghanza I just released act-1.9.0 (act-starter-1.9.0.0)
it supports running under latest JDK
Marwan Rabbâa
@waghanza
let see if renovatebot creates a PR
Gelin Luo
@greenlaw110
cool
Marwan Rabbâa
@waghanza
their is no PR @greenlaw110, feel free to add additional info in renovatebot/renovate#6619. as you may know, I'm not a java developer on a daily-basis
Gelin Luo
@greenlaw110
@waghanza the following setting means exclude 1.9:
image.png
Marwan Rabbâa
@waghanza
in deed, that's why renovate should have created a PR
Gelin Luo
@greenlaw110
maybe you want to change it to [1.8,2.0), that should include 1.9 inside
Marwan Rabbâa
@waghanza
I prefer that renovate do it, in order to keep in-sync with further releases
Gelin Luo
@greenlaw110
ah, sorry I might misunderstand renovate
Marwan Rabbâa
@waghanza
;-)
Marwan Rabbâa
@waghanza
Marwan Rabbâa
@waghanza
Is their any change that can benefit in https://github.com/the-benchmarker/web-frameworks/pull/3053/files ?
@greenlaw110
Marwan Rabbâa
@waghanza
how can I disable logging ?
Gelin Luo
@greenlaw110
Marwan Rabbâa
@waghanza
thx for checking ;-)
I prefer ask, since not expert in java :stuck_out_tongue:
Marwan Rabbâa
@waghanza
Hi,
Generally, with other java frameworks (with maven), I need to give jvm version to maven-compiler. Which version use maven with act ?
Could you please @greenlaw110, tick the corresponding checkbox if act use java 11
the-benchmarker/web-frameworks#3101
Gelin Luo
@greenlaw110
Hi @waghanza yes I confirm that act is able to run on java 11 with version 1.9+.