I'm compiling projects using gwt trunk from ant without problem this is my base ant script http://pastebin.com/prRQEETz
and this is how I extend it for each project http://pastebin.com/t7RLmd29 the script asume you are using lombok and it support annotation processors, but you should be able to extract the gwt compilation part. Hope it helps On Wed, Nov 16, 2011 at 4:48 PM, jogo <[email protected]> wrote: > Hi, > > I'm getting really frustrated from this, so any advice is highly > appreciated. > > In my GWT project, there is a java native method that calls eval > function inside. All worked fine till I updated from 2.3.0 to 2.4.0 > (on Windows XP in Eclipse). After that, when I compiled the project in > Eclipse (GWT 2.4.0) the native method stopped working and I spent > quite a lot of time figuring out what was the cause of this problem. > > It turned out, that the update form 2.3.0 to 2.4.0 caused it. Then I > downgraded back to GWT SDK 2.3.0, re-configured Eclipse and then again > all worked fine. > > Today I created a simple ant build script (generated from > webAppCreator app using SDK 2.3.0) and used it. And again, the problem > re-surfaced, the native method doesn't work! The ant script uses SDK > 2.3.0. > > The surprising thing is, that when I compile the project from Eclipse > with SDK 2.3.0 all works fine. When I compile the project from command > line using the same SDK and JRE compiled code is different and doesn't > work. > > Any idea where the problem might be? Thanks. > > -- > 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. > > -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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.
