Hi Sebastian and thank you for your help ant gives me Reference project.class.path not found. on this line: <java failonerror="true" fork="true" classname="com.google.gwt.dev.Compiler">
and do i have to do anything in your lib requirement or can i omit it in my case? best regards On Oct 4, 4:02 pm, Sebastian Rothbucher <[email protected]> wrote: > 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, "[email protected]" <[email protected]> > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
