Migration from Vaadin 6.8 to Vaadin 7 compile widgetset

Idottactuam

New Member
We have a large project that is created using Vaadin 6.8We recently decided to upgrade to version 7.Refactor the code that caused it in line with changes in the framework.There was a problem: we can not compile widgetset ...The project was created in Netbeans IDE, a compilation produced with Ant script.Here's a error:
qiH7e2H.jpg
Here's Ant script:\[code\]<import file="nbproject/build-impl.xml"/><target name="widgetset-init"> <property name="widgetset" value="http://stackoverflow.com/questions/15702468/user_interface.ApplicationWidgetSet"/> <property name="widgetset-path" value="http://stackoverflow.com/questions/15702468/user_interface"/> <property name="client-side-destination" value="http://stackoverflow.com/questions/15702468/web/VAADIN/widgetsets" /> <property name="generate.widgetset" value="http://stackoverflow.com/questions/15702468/1"/></target><target name="generate-widgetset" depends="widgetset-init, compile" if="generate.widgetset"> <echo>Updating ${widgetset}...</echo> <mkdir dir="${src.dir}/${widgetset-path}"/> <java classname="com.vaadin.server.widgetsetutils.WidgetSetBuilder" failonerror="yes" fork="yes" maxmemory="512m"> <arg value="http://stackoverflow.com/questions/15702468/${widgetset}"/> <jvmarg value="http://stackoverflow.com/questions/15702468/-Xss1024k"/> <jvmarg value="http://stackoverflow.com/questions/15702468/-Djava.awt.headless=true"/> <classpath> <pathelement path="${src.dir}" /> <pathelement path="${javac.classpath}" /> <pathelement path="${build.web.dir}/WEB-INF/classes" /> </classpath> </java></target><target name="compile-widgetset" depends="init, widgetset-init, generate-widgetset"> <echo>Compiling ${widgetset} into ${client-side-destination} directory...</echo> <java classname="com.google.gwt.dev.Compiler" failonerror="yes" fork="yes" maxmemory="512m"> <arg value="http://stackoverflow.com/questions/15702468/-war" /> <arg value="http://stackoverflow.com/questions/15702468/${client-side-destination}" /> <arg value="http://stackoverflow.com/questions/15702468/${widgetset}" /> <jvmarg value="http://stackoverflow.com/questions/15702468/-Xss1024k"/> <jvmarg value="http://stackoverflow.com/questions/15702468/-Djava.awt.headless=true"/> <classpath> <pathelement path="${src.dir}" /> <pathelement path="${javac.classpath}" /> <pathelement path="${build.web.dir}/WEB-INF/classes" /> </classpath> </java></target>\[/code\]
 
Back
Top