Hello!
I installed the Calendar Add-On (commercial version) and now I’m having problems with the widgetset.
When I launch the application, a JavaScript alert appears:
Failed to load the widgetset: /pcc/VAADIN/widgetsets/at.silverstrike.pcc.widgetset.PccWidgetset/at.silverstrike.pcc.widgetset.PccWidgetset.nocache.js?1305632226936
- The following section is present in my pom.xml:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<!-- Version 2.1.0-1 works at least with Vaadin 6.5 -->
<version>2.1.0-1</version>
<configuration>
<!-- if you don't specify any modules, the plugin will find them -->
<!--modules> .. </modules -->
<webappDirectory>${project.build.directory}/${project.build.finalName}/VAADIN/widgetsets</webappDirectory>
<extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
<runTarget>clean</runTarget>
<hostedWebapp>${project.build.directory}/${project.build.finalName}</hostedWebapp>
<noServer>true</noServer>
<port>8080</port>
<soyc>false</soyc>
</configuration>
<executions>
<execution>
<goals>
<goal>resources</goal>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Updates Vaadin 6.2+ widgetset definitions based on project dependencies -->
<plugin>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-maven-plugin</artifactId>
<version>1.0.1</version>
<executions>
<execution>
<configuration>
<!-- if you don't specify any modules, the plugin will find them -->
<!-- <modules> <module>${package}.gwt.MyWidgetSet</module> </modules> -->
</configuration>
<goals>
<goal>update-widgetset</goal>
</goals>
</execution>
</executions>
</plugin>
...
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>2.1.1</version>
<scope>provided</scope>
</dependency>
- When executing mvn jetty:run, I’m getting following cryptic error message:
[ERROR]
17.05.2011 13:42:56 com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
[ERROR]
INFO: Widgetsets found from classpath:
[ERROR]
com.vaadin.terminal.gwt.DefaultWidgetSet in jar:file:C:/Users/DP118M/.m2/repository/com/vaadin/vaadin/6.5.7/vaadin-6.5.7.jar!/
[ERROR]
at.silverstrike.pcc.widgetset.PccWidgetset in file://D/dev/pcc/src/main/java
[ERROR]
com.vaadin.addon.calendar.gwt.CalendarWidgetset in jar:file:C:/Users/DP118M/.m2/repository/org/vaadin/addons/vaadin-calendar/1.0.1/vaadin-calendar-1.0.1.jar!/
[ERROR]
[ERROR]
17.05.2011 13:42:56 com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
[ERROR]
INFO: Search took 32ms
- When I execute
mvn vaadin:update-widgetset install
it fails due to failing test cases.
I don’t want to use dirty tricks like commenting out or removing failing tests.
Question: How can I make the application run with the Vaadin Calendar Add-On?
Thanks in advance
Dmitri