ingo@0: --- Generated by GWT WebAppCreator --- ingo@0: ingo@0: Congratulations, you've successfully generated a starter project! What next? ingo@0: ingo@0: -- Option A: Import your project into Eclipse (recommended) -- ingo@0: ingo@0: If you use Eclipse, you can simply import the generated project into Eclipse. ingo@0: We've tested against Eclipse 3.4 and 3.5. Later versions will likely also ingo@0: work, earlier versions may not. ingo@0: ingo@0: If the directory containing this file does not have a .classpath or .project ingo@0: file, generate them by running 'ant eclipse.generate' ingo@0: ingo@0: In Eclipse, go to the File menu and choose: ingo@0: ingo@0: File -> Import... -> Existing Projects into Workspace ingo@0: ingo@0: Browse to the directory containing this file, ingo@0: select "FLYS". ingo@0: ingo@0: Be sure to uncheck "Copy projects into workspace" if it is checked. ingo@0: ingo@0: Click Finish. ingo@0: ingo@0: You can now browse the project in Eclipse. ingo@0: ingo@0: To launch your web app in GWT development mode, go to the Run menu and choose: ingo@0: ingo@0: Run -> Open Debug Dialog... ingo@0: ingo@0: Under Java Application, you should find a launch configuration ingo@0: named "FLYS". Select and click "Debug". ingo@0: ingo@0: You can now use the built-in debugger to debug your web app in development mode. ingo@0: ingo@0: If you supplied the junit path when invoking webAppCreator, you should see ingo@0: launch configurations for running your tests in development and production ingo@0: mode. ingo@0: ingo@0: -- Option B: Build from the command line with Ant -- ingo@0: ingo@0: If you prefer to work from the command line, you can use Ant to build your ingo@0: project. (http://ant.apache.org/) Ant uses the generated 'build.xml' file ingo@0: which describes exactly how to build your project. This file has been tested ingo@0: to work against Ant 1.7.1. The following assumes 'ant' is on your command ingo@0: line path. ingo@0: ingo@0: To run development mode, just type 'ant devmode'. ingo@0: ingo@0: To compile your project for deployment, just type 'ant'. ingo@0: ingo@0: To compile and also bundle into a .war file, type 'ant war'. ingo@0: ingo@0: If you supplied the junit path when invoking webAppCreator, you can type 'ant ingo@0: test' to run tests in development and production mode. ingo@0: ingo@0: For a full listing of other targets, type 'ant -p'. ingo@0: ingo@0: -- Option C: Using another IDE -- ingo@0: ingo@0: GWT projects can be run in other IDEs as well, but will require some manual ingo@0: setup. If you go this route, be sure to: ingo@0: ingo@0: * Have your IDE build .class files into 'war/WEB-INF/classes'. ingo@0: * Add gwt-user.jar and gwt-dev.jar to your project build path. ingo@0: * When creating a launch configuration, add a classpath entry for your 'src' ingo@0: folder (this is somewhat unusual but GWT needs access to your source files). ingo@0: ingo@0: If you get stuck, try to mimic what the Ant 'build.xml' would do. ingo@0: ingo@0: -- Option D: Using Maven -- ingo@0: ingo@0: If you have generated your project with the option '-maven', you have a 'pom.xml' ingo@0: file ready to use. Assuming you have 'maven2' installed in your system, 'mvn' is ingo@0: in your path, and you have access to maven repositories, you should be able to run: ingo@0: ingo@0: mvn clean # delete temporary stuff ingo@0: mvn test # run all the tests (gwt and junit) ingo@0: mvn gwt:run # run development mode ingo@0: mvn gwt:compile # compile to javascript ingo@0: mvn package # generate a .war package ready to deploy ingo@0: ingo@0: For more information about other available goals, read maven and gwt-maven-plugin ingo@0: documentation (http://maven.apache.org, http://mojo.codehaus.org/gwt-maven-plugin)