Skip to content

Generated AppWidgetset and serialization #67

@vaadin-bot

Description

@vaadin-bot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions