I signed up for a trial to use Grid Pro. I tried to deploy to production:
Error: Your application contains the following commercial components and no license was found:
Error: * vaadin-grid-pro
Error:
Error: If you have an active subscription, please download the license key from https://vaadin.com/myaccount/licenses.
Error: Otherwise go to https://vaadin.com/pricing to obtain a license.
And since 30 days can go by quickly, you still have a safe fallback. If your trial has expired but you need to demo your app in production, start it with the -Dvaadin.commercialWithBanner parameter. This adds a visible banner stating that the app is running in trial mode, which is ideal for stakeholder reviews, MVPs, and internal demos.
I tried adding -Dvaadin.commercialWithBanner to my VM options in Intellij, but it doesn’t seem to work.
As @knoobie said. The parameter allows you to create a production build for an application that uses commercial components, but it shows a little banner on the UI
Actually, the blog post is not clear about the usage of the flag. I forwarded this internally to fix it.
The system parameter must be used when building the application; it is not required to start it.
Ah, ok, no. Thanks for clarifying. I just tried to run it from Intellij.
Why is this feature only available for production builds? How can I build it if I can’t work with it in dev mode? Maybe that’s the point? I guess I thought this was a way for me to use paid components for free, but probably not.
In dev mode you start the trial, or extend it. But once the trial is expired, you need a license (or you wait until you can start a new trial)
But in the meantime you can do a production build with the banner