ICE Add on - How to get it working on Vaadin 7

In Vaadin 6 , the approach was to create ICEPush instance and add it to the main window. something along the following line

public class MyvaadinprojectApplication extends Application {

ICEPush push = new ICEPush();
final Window mainWindow = new Window("Myvaadinproject Application");

mainWindow.addComponent(push);
setMainWindow(mainWindow);
}

However in Vaadin 7, no more application extends from ‘Application’ nor I could find any Window class (with addComponent). I am looking for the best way to make my code work in Vaadin 7

Any suggestions?

Thanks
Rajeev

It’s now even simpler with Vaadin 7, In you UI, addExtension([i] yourICEPush [/i]);

Thanks Haijian, I will try this out today. Do I need a new version of the ICE add on for Vaadin 7?

thanks for your help
Rajeev

Yes, I think so, you can download it from the
Directory

I have downloaded the latest from directory and tried. Here is the error I am getting

Anything missing from the latest ICEPush add on?

thanks
Rajeev

As the messages says, please
re-compile your widgetset
.

Hi,

Can you please help me/give steps to compile the ICEPush using Ant script?

Thanks.

Hi Phani,

Compile ICEPush is no more than compile a Client widget, I guess you can refer to this
thread