Hi, you can invoke it e.g. with the following script: <target name="gwtc" depends="libs" description="GWT compile to JavaScript"> <java failonerror="true" fork="true" classname="com.google.gwt.dev.Compiler"> <classpath> <pathelement location="src"/> <!-- this is gwt-dev.jar gwt-user.jar all JARs you have yourself --> <path refid="project.class.path"/> </classpath> <!-- add jvmarg -Xss16M or similar if you see a StackOverflowError --> <jvmarg value="-Xmx256M"/> <!-- Additional arguments like -style PRETTY or -logLevel DEBUG --> <arg value="org.whatever.<<<<yourapphere>>>>"/> </java> </target>
Basically, the GWT compiler is just a java program you can invoke via the java command... Hope this helps - best regards Sebastian Rothbucher On 4 Okt., 12:13, "3p1...@googlemail.com" <3p1...@googlemail.com> wrote: > Hi everyone > > How can i call the gwt Javascript compiler from an Ant build script? > I am using eclipse 3.5 with GWT plugin 2.0 > > best regards -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.