Compile widgets manually

Hi! I’m new in Vaadin. So, I don’t fully understand how to compile widgetset (in my case - Timeline) in non-Eclipse. I use Intelij IDEA Community edition and embedded Jetty as servlet container. Can anybody explain me what should I do to compile widgetset or give me some links for tutorials. Here is source code of my launcher:
public class ServletContainerLauncher {
private static String contextPath = “/”;
private static String resourceBase = “.”;
private static int httpPort = 8888;
private static String servletClasses = { “com.vaadin.terminal.gwt.server.ApplicationServlet” };
public static void main(String args) throws Exception{
Server server = new Server(httpPort);
WebAppContext webapp = new WebAppContext();
ServletHolder vaadinLoader = new ServletHolder(new ApplicationServlet());
webapp.addServlet(vaadinLoader, “/*”);


Which version of Vaadin are you using?

The easiest way of doing this is via an Ant script (which ant script depends on which version of Vaadin you are using), althought I think that it is possible to call the GWT Compiler directly from a run configuration in IntelliJ