Re: calling GWT Javascript compiler from ant

2010-10-05 Thread 3p1...@googlemail.com
great, works now thanks nacho On Oct 4, 10:03 pm, nacho vela.igna...@gmail.com wrote: Try with this: ?xml version=1.0 encoding=utf-8 ? project name=ProjectName default=war basedir=.   !-- Configure path to GWT SDK --   property name=gwt.sdk location=/path/to/gwt /   !-- SWT on Mac

Re: calling GWT Javascript compiler from ant

2010-10-04 Thread Sebastian Rothbucher
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

calling GWT Javascript compiler from ant

2010-10-04 Thread 3p1...@googlemail.com
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

Re: calling GWT Javascript compiler from ant

2010-10-04 Thread 3p1...@googlemail.com
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,

Re: calling GWT Javascript compiler from ant

2010-10-04 Thread nacho
Try with this: ?xml version=1.0 encoding=utf-8 ? project name=ProjectName default=war basedir=. !-- Configure path to GWT SDK -- property name=gwt.sdk location=/path/to/gwt / !-- SWT on Mac requires the -XstartOFirstThreadFlag. -- condition property=XstartOnFirstThreadFlag value=-