I’m not sure if I’m just missing something here but the instructions for applying licences seem to be only Linux specific:
Firstly, I’ve placed the file in my C:\Users\Andrew folder, effectively my home directory in Windows I would have thought. Secondly I’ve no idea what it means by setting the “vaadin.charts.developer.license=license_key” property.
You can also go to
Pro Account Software Center and click key icon next to Vaadin Charts and then click download the file. Then just copy downloaded vaadin.charts.developer.license as .vaadin.charts.developer.license to your home directory. For the question on where home directory is in windows,
check StackOverflow
Following a quick:
layout.addComponent(new Label(System.getProperty("user.home")));
I managed to find out where it was, it was not at all where I’d expected it to be!
I’ve added the Pro Tools licences to the home directory on my local development area, but we are using a Nexus server, and I am getting some problems.
As soon as I add the dependency (Charts, for example) to the POM file I get an error in Eclipse. I’ve added the license file to the home directory C:\Users[myname]
, and double checked in my Java code that this is indeed the home directory. No luck.
Adding this does not work:
<configuration><extraJvmArgs>-Xmx1024M -Dvaadin.charts.developer.license=[mylicense]
</extraJvmArgs>
</configuration>
Why is this so difficult? There should be a sub-element in the dependency or some easier method.