Opened 8 years ago

Last modified 3 years ago

#3812 released task (fixed)

Instructions how to upgrade from Vaadin 6.1 => 6.2

Reported by: Jani Laakso Owned by: Marko Gronroos
Priority: blocker Milestone: Vaadin 6.2.0
Component: Build and Packaging Version: 6.2.0-pre1
Keywords: Cc:
Depends on:
Workaround:
Verified:
Fv: no

Description

Add own section regarding how to upgrade from Vaadin 6.1 into 6.2. Add it to correct place. Currently "the new widgetset stuff" (like: do not use getTag etc.) is on top of the release notes, but this deserves own section.

Suggest that you move it to own section like "Instructions for Upgrading from Vaadin 6.1 into 6.2" and add that to index too. Put it above "Instructions for Upgrading from IT Mill Toolkit 5" section.

Currently http://vaadin.com/download/release/6.2/6.2.0-pre1/release-notes.html has this

Widget set definition and component-to-widget mapping has been redesigned
Reuse of widgets is now much easier, as it is easier to package and use widget set JARs and otherwise combine widget sets.
A widget set definition class is no longer used. Java code needed for widget instantiation and client-server mapping is automatically generated by GWT compiler. For common Vaadin user, Widgetset is now only a GWT module definition file (.gwt.xml).
Server-side component is mapped to a client-side widget with an annotation:
@ClientWidget(com.vaadin.demo.colorpicker.gwt.client.ui.VColorPicker.class)
public class ColorPicker extends AbstractField {
The getTag() method is no longer needed
The Vaadin Plugin for Eclipse can create new widget stubs, define the mapping, and create widget set definition files (.gwt.xml).
See WebContent/docs/example-source/build-widgetset.xml for example on how you can compile widget sets and widget set JARs with Ant.
A widget set builder allows automatic generation and maintenance of widget configurations, making use of widget set JARs easier.

Check that above is enough for upgrade task?

Change history (4)

comment:1 Changed 8 years ago by Artur Signell

  • Milestone set to Vaadin 6.2.0
  • Priority changed from major to blocker

Agree that it should be a separate section. In the pre-release notes there is already a "Widgetset upgrade notes" section which should be turned into this.

comment:2 Changed 8 years ago by Artur Signell

  • Resolution set to fixed
  • Status changed from new to closed

The release notes now contain a "Upgrading from an Earlier Vaadin 6 version" section with the upgrade instructions in addition to what is mentioned in the beginning.

comment:3 Changed 3 years ago by Artur Signell

  • Fv unset

comment:4 Changed 3 years ago by Artur Signell

  • Status changed from closed to released
Note: See TracTickets for help on using tickets.