Hey Eric, That's a reasonable suggestion. Do you mind filing a feature request for this at http://code.google.com/p/google-web-toolkit/issues ?
Thanks, Rajeev On Mon, Aug 3, 2009 at 10:14 AM, Eric <[email protected]> wrote: > > > > On Jul 31, 9:15 am, Rajeev Dayal <[email protected]> wrote: > > Hi, > > Unfortunately, the plugin does not have a way to generate ant scripts to > > mimic its actions, though this is on our feature list. > > > > What I would recommend is to use GWT"s webAppCreator to generate a sample > > project. A build.xml file will be generated as well, and it will have > > targets for GWT compilation and hosted mode execution. You can adapt this > > script for your specific project. > > > > Give that a try, and post back here if you run into any problems. > > > > Rajeev > > I have looked at the build.xml files provided with the sample > applications. > I am glad they now use the <java> task to run the compiler and not > simply > imitate a shell script. I assume these were generated by > webAppCreator. > However, I do suggest that the options webAppCreator provides to > <javac> > and <java> be parameterized: > > <!-- Allow user overrides --> > <property file="build.properties"/> > <!-- Default property values --> > <property name="javac.source.level" value="1.5"/> > <!-- Repeat for every property. --> > > <javac srcdir="src" includes="**" encoding="utf-8" > destdir="war/WEB-INF/classes" > source="${javac.source.level}" > target="${javac.target.level}" > nowarn="${javac.nowarn}" > debug="${javac.debug}" > debuglevel="${javac.debuglevel}"> > > I doubt people will need to compile production systems > for debugging, so let them simply change the build.properties > file. > > Respectfully, > Eric Jablow > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
