Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated AppWidgetset and serialization #67

Open
vaadin-bot opened this issue Sep 6, 2016 · 1 comment
Open

Generated AppWidgetset and serialization #67

vaadin-bot opened this issue Sep 6, 2016 · 1 comment
Labels

Comments

@vaadin-bot
Copy link
Collaborator

Originally by lrozenblyum


AppWidgetset generated by maven plug-in causes eclipse generating warning about serialization (after Eclipse : Maven -> Update project...) :

-The serializable class AppWidgetset does not declare a static final serialVersionUID field of type long* in target/generated-sources/wscdn

(surprisingly eclipse validates target directory as well).

Ideas to fix:

  1. Make com.vaadin.server.WidgetsetInfo interface not Serializable (not sure if it's really needed to be Serializable)

  2. Make vaadin-maven-plugin generate new serialVersionUID inside UpdateWidgetsetMojo.java)

If you approve one of ways of fixing the problem, I can contribute a patch.


Imported from https://dev.vaadin.com/ issue #20241

@vaadin-bot
Copy link
Collaborator Author

Originally by lrozenblyum


Another option:
3) Modify widgetsetinfo.tmpl inside maven-vaadin-plugin
by adding

@SupressWarnings("serial")

@vaadin-bot vaadin-bot added the bug label Nov 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant