Vaadin-TouchKit License setting issue

Hi,

I am using Vaadin 7.3.3 and Vaadin Touchkit 4.0.0. I have purchased the Vaadin TouchKit CVAL License.
But unfortunatelly when I set the license in my project and try rebuild the project, I am not able to buid the project.

I am getting the following error when I build my maven project:
License for Vaadin TouchKit 4 not found.

I tried to set the license by reading the license key from the Property file as shown:
System.setProperty(“vaadin.touchkit.developer.license”, " – my touchkit key – ");

Please provide me the steps to set the License or any links so that I can refer it to solve this issue.

And also is it possible to get the basic Vaadin application to work like Mobile Application using Vaadin Touch Kit?

Thanks
Abhilash

Hello,
here is the nstructions link
https://vaadin.com/directory/help/installing-cval-license

Basically what you have to do is to create a .vaadin.touchkit.developer.license file and put a license key there.
I’ve just done that with version 7.3.3 and touchkit 4.0.0 everyting is fine, but operating system might be an issue.
What is you operating system? Have you stored license file into the home folder? Does file with license has read rights?

If you still haven’t solved the problem, please provide full error message and your operating system details.

Thank you.

Thanks for the reply. I am reading the license code from system property file. I am using Windows operating system.

Build Failure:

Compiling module com.test.vaadinsample.AppWidgetSet
Validating units:
[WARN]
Warnings in ‘jar:file:/C:/Users/Abhilash%20S/.m2/repository/com/vaadin/vaadin-client/7.3.3/vaadin-client-7.3.3.jar!/com/google/gwt/user/client/impl/DOMImplMozilla.java’
[WARN]
Line 42: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Warnings in ‘jar:file:/C:/Users/Abhilash%20S/.m2/repository/com/vaadin/vaadin-client/7.3.3/vaadin-client-7.3.3.jar!/com/google/gwt/user/client/impl/DOMImplOpera.java’
[WARN]
Line 31: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 33: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 35: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 37: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 39: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 41: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 43: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 45: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 47: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 49: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 51: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 53: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 55: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 57: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 59: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 61: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchUnhandledEvent’
[WARN]
Line 63: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 65: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 67: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 69: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Warnings in ‘jar:file:/C:/Users/Abhilash%20S/.m2/repository/com/vaadin/vaadin-client/7.3.3/vaadin-client-7.3.3.jar!/com/google/gwt/user/client/impl/DOMImplStandard.java’
[WARN]
Line 223: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 226: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchUnhandledEvent’
[WARN]
Line 262: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 264: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 266: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 268: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 270: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 272: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 274: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 276: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 278: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 280: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 282: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 284: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 286: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 288: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 290: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 292: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchUnhandledEvent’
[WARN]
Line 294: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 296: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 298: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 300: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 302: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 304: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 306: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 308: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 310: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 312: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’
[WARN]
Line 314: Referencing deprecated field ‘com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent’


License for Vaadin TouchKit 4 not found. Go to vaadin.com/pro for more details.


BUILD FAILURE

Total time: 41.481s
Finished at: Tue Nov 04 11:24:51 IST 2014
Final Memory: 25M/213M

I also Created a new file “.vaadin.touchkit.developer.license” which contains only License key in user home directory and re-build the project. Still I am getting the same error.

How is it related to Operating System?
Is it possible to get the basic Vaadin application to work like Mobile Application using Vaadin Touch Kit?

About operating system it is just a wild guess.
Still I’m pretty sure that the problem is either wrong file name or wrong home directory (for example you put it into you home directory and run maven as system administrator/ or you have similiar users and you just missed something). Sorry for such obvious advices, but please could you double check that
.
As for setting license as a property there is a problem with maven, because it’s opening a new process and java properties are not send their, here is the ticket
http://dev.vaadin.com/ticket/14622.
So basically what you need to do is to add:

com.vaadin vaadin-maven-plugin … -Dvaadin.touchkit.developer.license=${vaadin.touchkit.developer.license} -Xmx1024M …
to your pom.xml, and you could run maven
mvn -Dvaadin.touchkit.developer.license=XXX clean package.

Also another approach could be download vaadin plugin for eclipse, create a Vaadin project there, and try add Touchkit there and recompile the widgetset.

Hope this will help or at least will get some additional info about the problem.
Thanks.

I had done a simple mistake. You were right, problem was with the license file, the license file created in home directory was not .LICENSE file. I was successfully able to build the project.

But I have another doubt. In the Application can Theme be made platform dependent in the sense when it opens in desktop and phone browser the theme is a bit scrambled after the addition of Touch Kit. I want to show the same as before when opened in Desktop browser, and show touch kit default theme in Phone Browser.

Thanks for your help once again.