Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

New release of Flavour

92 views
Skip to first unread message

ScraM Team

unread,
Mar 13, 2024, 10:45:27 PM3/13/24
to TeaVM
Recently released: Flavour version 0.3.0.  This release adds:

* Path-based routing
* SVG support
* EL error resilience during rendering
* Enhanced error reporting
* event:input
* Updated archetype

Flavour is a TeaVM-based framework for making component-based, single-page apps in Java.  

More details on the Flavour website, including quick start instructions: https://flavour.sourceforge.io/

Full instructions are in the Flavour book: https://frequal.com/Flavour/book.html

Flavour 0.3.0 is already available in Maven Central.


Steve Hannah

unread,
Mar 24, 2024, 8:51:06 AM3/24/24
to ScraM Team, TeaVM
I just went to try out flavour today and I ran into a couple of issues - and I have questions.

I created a new project using the archetype, as described at https://frequal.com/Flavour/book.html (Getting started)

First thing I noticed was that it has TeaVM 0.6.1 as a dependency, which is older, so I tried to just change the dependency to 0.9.2 (the latest) and received an error. 

[ERROR] Method org.teavm.jso.core.JSArray.get(I)Lorg/teavm/jso/JSObject; was not found
    at org.teavm.flavour.templates.Slot.insertBefore(Slot.java:89)
    at org.teavm.flavour.templates.Slot.append(Slot.java:29)
    at org.teavm.flavour.templates.Templates$RootComponent.<init>(Templates.java:84)
    at org.teavm.flavour.templates.Templates.bind(Templates.java:43)
    at org.teavm.flavour.widgets.ApplicationTemplate.bind(ApplicationTemplate.java:42)
    at org.teavm.flavour.widgets.ApplicationTemplate.bind(ApplicationTemplate.java:46)
    at ca.weblite.Client.main(Client.java:12)

So, probably I need to build the flavour sources myself with newer dependencies - or maybe fix a couple of things.  But it isn't clear which repo is the latest.  I know the frequal flavour is a fork of Alexey's flavour, so I went to https://github.com/ScraM-Team/teavm-flavour

But I'm looking at the sources and there are no recent changes.  In fact I see the change with comment "Bump to version 0.3.0" that says "3 years ago"
image.png


And now I'm a little confused because you just made this announcement 11 days ago about the 0.3.0 release.

Where are the sources I should be working on?

My initial feeling here is that it would probably be a good idea to rename the flavour fork to something completely different to avoid confusion with Alexey's flavour.  Alexey has said that he doesn't have the time to support his branch of the Flavour project, but I don't think that means it's dead - I mean if he gets interest or time he may revive it - in which case there will be a lot of confusion on "which flavour to use".

Anyways, looking forward to playing around with this.  Really like the book and podcasts you've been putting out there, Andy.

Steve

--
You received this message because you are subscribed to the Google Groups "TeaVM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to teavm+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/teavm/9a799517-1ebd-48b5-a7eb-cdaafe12391fn%40googlegroups.com.


--
Steve Hannah
Web Lite Solutions Corp.

Steve Hannah

unread,
Mar 24, 2024, 8:58:21 AM3/24/24
to ScraM Team, TeaVM
Ok.  Found the sources a minute after sending this.  On sourceforge.  Subversion.  https://sourceforge.net/p/flavour/trunk/HEAD/tree/


Alexey Andreev

unread,
Mar 31, 2024, 3:57:05 AM3/31/24
to TeaVM
Please, note that TeaVM Flavour is not officially maintained as a part of TeaVM project anymore.

воскресенье, 24 марта 2024 г. в 13:51:06 UTC+1, st...@weblite.ca:

ScraM Team

unread,
Apr 1, 2024, 3:41:44 PM4/1/24
to TeaVM
Agreed, the new, active Flavour fork at Sourceforge is not maintained by Alexey (@konsoletyper).  It has a new group ID (com.frequal.flavour) and new maintainers.  It is still proudly based on TeaVM but is now a separate project.

Please direct questions to the new support locations on Sourceforge:


I will post answers on the Flavour group (and make a ticket to upgrade the TeaVM dependency).
Reply all
Reply to author
Forward
0 new messages