I use Linux and Apache Ant without problems. Linux 2.6.23.9-mactel x86_64 java version "1.6.0_03" 64bit
GWT SDK 2.0.3 GAE SDK 1.3.1 or 1.3.2 See http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html Here is the interesting part of my build.xml: <property name="gae.home" location="/usr/local/google/appengine-java- sdk-1.3.2"/> <property name="gwt.home" location="/usr/local/google/gwt-2.0.3"/> <property name="gwt-dev.jar" location="${gwt.home}/gwt-dev.jar"/> <property name="gwt-user.jar" location="${gwt.home}/gwt-user.jar"/> <property name="gwt-servlet.jar" location="${gwt.home}/gwt- servlet.jar"/> <fileset id="gae-tools.fs" dir="${gae.home}/lib"> <include name="*.jar"/> </fileset> <fileset id="gae-api.fs" dir="${gae.home}/lib/user"> <include name="*.jar"/> </fileset> <path id="gae-tools.path"> <fileset refid="gae-tools.fs"/> <fileset refid="gae-api.fs"/> </path> <path id="compile.path"> <fileset refid="gae-api.fs"/> <pathelement location="${gwt-user.jar}"/> <pathelement location="${gwt-servlet.jar}"/> </path> <target name="devgwt" depends="compile, gwt-prepare"> <!-- gwt- prepare copies files to build.dir/gwt-modules and build.src.dir --> <java failonerror="true" fork="true" classname="com.google.gwt.dev.DevMode"> <classpath> <path refid="compile.path"/> <pathelement location="${gwt-dev.jar}"/> <path refid="gae-tools.path"/> <fileset dir="${gae.home}"> <include name="lib/agent/appengine-agent.jar"/> </fileset> <pathelement location="${build.dir}/gwt-modules"/> <!-- the GWT modules *.gwt.xml --> <pathelement location="${build.src.dir}"/> <!-- the Java sources to be transaleted to JavaScript--> </classpath> <jvmarg value="-Xmx256M"/> <arg value="-startupUrl"/> <arg value="my-test.jsp"/> <!-- Additional arguments like -style PRETTY or -logLevel DEBUG --> <arg value="-server"/> <arg value="com.google.appengine.tools.development.gwt.AppEngineLauncher"/> <arg value="-war"/> <arg value="${build.war.dir}"/> <!-- the directory containing the unwared GAE web app --> <arg value="com.foo.gwt.mygwtmodule"/> <!-- the GWT module to be tested --> </java> </target> On Mar 26, 7:40 am, xVir <[email protected]> wrote: > I too have this problem. Anyone knows how it can be solved? > > On 27 янв, 00:07, Greg Donald <[email protected]> wrote: > > > On Mon, Jan 25, 2010 at 12:04 PM, Greg Donald <[email protected]> wrote: > > > When I create and attempt to run a new Google App Engine project > > > (Java) I get this error: > > > > GWT Code Server Disconnected > > > Most likely, you closed GWT development mode. Or you might have lost > > > network connectivity. To fix this, try restarting GWT Development Mode > > > and REFRESH this page. > > > > In Eclipse I am choosing File -> New -> Web Application Project. Then > > > I right-click on the project and run or debug it. It suggests a URL > > > for me like: > > > >http://localhost:8888/Test_gae.html?gwt.codesvr=127.0.1.1:9997 > > > > and that's when I get the error message above. > > > > Also, the server is dead at this point. I have to restart it to try > > > again. > > > > What am I doing wrong? I'd like to think it's something I did, but I > > > haven't even written any code yet. > > > Anyone? Does this not work in Eclipse on Linux? > > > Thanks. > > > -- > > Greg Donald > > destiney.com | gregdonald.com -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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-appengine-java?hl=en.
