private Set<String> getIncludeWidgetsets() {
   Set<String> widgetsets = new HashSet<String>();
   if (includeAddons != null) {
     for (VaadinAddonInfo addon : includeAddons) {
       widgetsets.addAll(addon.getWidgetsets());
     }
   }
   widgetsets.add("com.vaadin.DefaultWidgetSet");
   return widgetsets;
 }
  private List<File> getClasspathEntries(File entry) {
    Version version = ControlPanelPortletUtil.getPortalVaadinVersion();

    List<File> classpathEntries = new ArrayList<File>();
    classpathEntries.add(entry);

    // The vaadin-client-compiler JAR is located in the portal lib dir
    classpathEntries.add(ControlPanelPortletUtil.getVaadinClientCompilerJarLocation());

    if (version.compareTo(ControlPanelPortletUtil.VAADIN_CLIENT_COMPILER_DEPS_LOW_VERSION) >= 0) {
      // The vaadin-client-compiler-deps JAR is located in the portal lib dir
      classpathEntries.add(ControlPanelPortletUtil.getVaadinClientCompilerDepsJarLocation());
    }

    // The vaadin-client JAR is located in the portal lib dir
    classpathEntries.add(ControlPanelPortletUtil.getVaadinClientJarLocation());

    // The vaadin-server JAR is located in the portal lib dir
    classpathEntries.add(ControlPanelPortletUtil.getVaadinServerJarLocation());

    // The vaadin-shared.jar is located in the portal lib dir
    classpathEntries.add(ControlPanelPortletUtil.getVaadinSharedJarLocation());

    // The vaadin-shared-deps.jar is located in the portal lib dir
    classpathEntries.add(ControlPanelPortletUtil.getVaadinSharedDepsJarLocation());

    // The ant.jar is located in the portal lib dir
    classpathEntries.add(ControlPanelPortletUtil.getAntJarLocation());

    // The validation-api.GA.jar is located in the portal lib dir
    classpathEntries.add(ControlPanelPortletUtil.getValidationApi());

    // The validation-api.GA-sources.jar is located in the portal lib dir
    classpathEntries.add(ControlPanelPortletUtil.getValidationApiSources());

    for (VaadinAddonInfo addon : includeAddons) {
      classpathEntries.add(addon.getJarFile());
    }
    classpathEntries.addAll(additionalDependencies);

    return classpathEntries;
  }