Back to Blog
![]() Modify the “devmode” ant target to use the App Engine development server instead of the servlet container which comes with GWT. Modify the “javac” ant target to add byte-code enhancement. JDO is implemented with DataNucleus Java byte-code enhancement. Modify the “libs” ant target so that the required jar files are copied to WEB-INF/lib. Īdd a property for a App Engine tools class path. ![]() Edit StockWatcher/build.xml and add the following:Īdd a property for the App Engine SDK directory. The GWT ant build file needs to be modified to support DataNucleus JDO compilation and use of the App Engine development server. You will reference this configuration later by its name “transactions-optional”. Read more about appengine-web.xml.Īs we will be using Java Data Objects (JDO) later for storing data, create a file StockWatcher/src/META-INF/jdoconfig.xml with these contents: ![]() Substitute your App Engine application ID on the second line. Create a file StockWatcher/war/WEB-INF/appengine-web.xml with these contents: Edit the gwt.sdk property in the StockWatcher/build.xml, then proceed with the modifications below.Īpp Engine requires its own web application deployment descriptor. Alternatively, If you would like to skip the Build a Sample GWT Application tutorial, then download and unzip this file.
0 Comments
Read More
Leave a Reply. |