Hi Milos, If you've already generated the build.xml file for your project, you can simply add a target to the build.xml file that copies the contents from the output directory (which in GWT 1.6 would be war/<project_name>, where project_name is the name specified in the rename-to attribute of your module XML file:
<module rename-to='testapp'> ... </module> You can either change you're working directory from the previous www output folder to the new war/testapp folder, or you can add another ant target to copy the files over to the www your build / test configurations expect. For example: <target name="copyToDub" depends="gwtc" description="Copies GWT generated files from war/testapp to www" > <copy todir="www"> <fileset dir="war/testapp" /> </copy> </target> If you would prefer using your existing shell scripts, you could use those too. They just need to be updated to use com.google.gwt.dev.HostedMode instead of com.google.gwt.dev.GWTShell and com.google.gwt.dev.Compiler instead of com.google.gwt.dev.GWTCompiler. See the link below for more details. GWT 1.6 Upgrade guide: http://code.google.com/webtoolkit/doc/1.6/ReleaseNotes_1_6.html#Upgrading Hope that helps, -Sumit Chandel 2009/4/3 Miloš Ranđelović <[email protected]> > > Hi, > > I have just switched to GWT 1.6 from 1.5. As Ant is being used to > compile the source code now, and I have never used Ant before, I have > a small problem which I do not know how to solve: > > I have a GWT app with some PHP, so I'm using WAMP to test my app. In > GWT 1.5, I have managed to set the cmd file to copy the compiled > output to my www folder, and I would like to do the same with this > build.xml file, but I don't have a clue how. Any help? > > 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 -~----------~----~----~----~------~----~------~--~---
