Thanks for your help, however i know simply skipped this step and am know developing within eclpise, which is working perfectly.
Anyway, thank you very much for your effort. On 25 Feb., 13:28, "malliseven.hills" <[email protected]> wrote: > oh ! > see below ,if ur not clear with my script ..Please add my gmail account and > ill do chat .i ill explain clearly.. > u have to use GWT2.0 then only it ill work . > > Before running this u need to compile the java files GWT files and copy > all the .class files and web.xml files under build > war folder ill be created by GWT compiler only. and App is the my module > name. > > <target name="gwt-shell-compile" description="Run development mode"> > > <delete dir="${project.home}/etc/build/war"></delete> > > <copy todir="${project.home}/etc/build/war"> > <fileset dir="${project.home}/dist/App"/> > </copy> > > <java failonerror="true" fork="true" > classname="com.google.gwt.dev.DevMode"> > <classpath refid="classpathid" /> > <jvmarg value="-Xmx256M"/> > <arg value="-startupUrl"/> > <arg value="MyWebApp.html"/> > <arg value="com.mycompany.mywebapp.MyWebApp"/> > </java> > </target> > > Thanks, > Malli. > > > > On Thu, Feb 25, 2010 at 7:16 AM, Thomas Stinner <[email protected]> wrote: > > does sombody know which host it tries to connect? > > > On Thu, Feb 25, 2010 at 1:15 PM, stinnux <[email protected]> wrote: > > >> Compilation is not the problem, that's working fine. > > >> Running in devmode gives the error. > > >> On 25 Feb., 13:06, "malliseven.hills" <[email protected]> > >> wrote: > >> > hmmm.. > > >> > give like this > > >> > it would be fine now. > > >> > <target name="gwt-compile" depends="java-compile"> > >> > <java failonerror="true" fork="true" > >> > classname="com.google.gwt.dev.Compiler"> > >> > <classpath refid="classpathid" /> > >> > <jvmarg value="-Xmx256M"/> > >> > <arg value="com.mycompany.mywebapp.MyWebApp"/> > >> > </java> > >> > </target> > > >> > Thanks, > >> > Malli. > > >> > On Thu, Feb 25, 2010 at 5:42 AM, stinnux <[email protected]> wrote: > >> > > hmm. then i get > > >> > > [java] Unknown argument: -startupUrl > > >> > > I am using GWT2.0.2 > > >> > > My devmode section now looks like this: > > >> > > <target name="devmode" depends="javac" description="Run development > >> > > mode"> > >> > > <java failonerror="true" fork="true" > >> > > classname="com.google.gwt.dev.Compiler"> > >> > > <classpath> > >> > > <pathelement location="src"/> > >> > > <path refid="project.class.path"/> > >> > > </classpath> > >> > > <jvmarg value="-Xmx256M"/> > >> > > <arg value="-startupUrl"/> > >> > > <arg value="MyWebApp.html"/> > >> > > <!-- Additional arguments like -style PRETTY or -logLevel DEBUG > >> > > --> > >> > > <arg line="${gwt.args}"/> > >> > > <arg value="com.mycompany.mywebapp.MyWebApp"/> > >> > > </java> > >> > > </target> > > >> > > On 25 Feb., 11:16, "malliseven.hills" <[email protected]> > >> > > wrote: > >> > > > Hi You can use > >> > > > " com.google.gwt.dev.Compiler" instead of " > >> com.google.gwt.dev.DevMode" > >> > > > if you use GWT2.0. > > >> > > > Thanks, > >> > > > Malli. > > >> > > > On Thu, Feb 25, 2010 at 3:41 AM, stinnux <[email protected]> wrote: > >> > > > > Here it is: > > >> > > > > <target name="devmode" depends="javac" description="Run > >> development > >> > > > > mode"> > >> > > > > <java failonerror="true" fork="true" > >> > > > > classname="com.google.gwt.dev.DevMode"> > >> > > > > <classpath> > >> > > > > <pathelement location="src"/> > >> > > > > <path refid="project.class.path"/> > >> > > > > </classpath> > >> > > > > <jvmarg value="-Xmx256M"/> > >> > > > > <arg value="-startupUrl"/> > >> > > > > <arg value="MyWebApp.html"/> > >> > > > > <!-- Additional arguments like -style PRETTY or -logLevel > >> DEBUG > >> > > > > --> > >> > > > > <arg line="${gwt.args}"/> > >> > > > > <arg value="com.mycompany.mywebapp.MyWebApp"/> > >> > > > > </java> > >> > > > > </target> > > >> > > > > On 25 Feb., 06:31, "malliseven.hills" <[email protected] > > >> > > > > wrote: > >> > > > > > Can u paste me your build.xml ? oh sorry may be its huge paste > >> me > >> > > at > >> > > > > > least "devmode" target? > > >> > > > > > On Wed, Feb 24, 2010 at 1:34 PM, stinnux <[email protected]> > >> wrote: > >> > > > > > > Hello, > > >> > > > > > > i am just starting to try GWT and i already fail at the "Get > >> > > started > >> > > > > > > with the GWT SDK" section. > > >> > > > > > > I am supposed to run ant devmode, but i get the following > >> result: > > >> > > > > > > tstin...@linux-2d15:~/devel/gwt/MyWebApp> ant devmode > >> > > > > > > Buildfile: build.xml > > >> > > > > > > libs: > > >> > > > > > > javac: > > >> > > > > > > devmode: > >> > > > > > > [java] Exception in thread "GWT Update Checker" > >> > > > > > > java.lang.NullPointerException > >> > > > > > > [java] at > > >> > > com.google.gwt.dev.shell.CheckForUpdates.check(CheckForUpdates.java: > >> > > > > > > 256) > >> > > > > > > [java] at com.google.gwt.dev.DevModeBase > >> > > > > > > $1.run(DevModeBase.java:879) > >> > > > > > > [java] java.lang.NullPointerException > >> > > > > > > [java] at > > >> > > com.google.gwt.dev.shell.BrowserListener.<init>(BrowserListener.java: > >> > > > > > > 69) > >> > > > > > > [java] at > > >> com.google.gwt.dev.DevModeBase.ensureCodeServerListener(DevModeBase.java: > >> > > > > > > 898) > >> > > > > > > [java] at > >> > > > > > > com.google.gwt.dev.DevModeBase.doStartup(DevModeBase.java:888) > >> > > > > > > [java] at > >> > > > > > > com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1030) > >> > > > > > > [java] at > >> > > com.google.gwt.dev.DevModeBase.run(DevModeBase.java: > >> > > > > > > 783) > >> > > > > > > [java] at > >> com.google.gwt.dev.DevMode.main(DevMode.java:275) > > >> > > > > > > BUILD SUCCESSFUL > >> > > > > > > Total time: 1 second > > >> > > > > > > java is the sun sdk 16.0_18. I am running under SLED11 > >> (virtualized > >> > > > > > > inside VirtualBox). Internet Access is possible. > > >> > > > > > > Any Idea what might be wrong? > > >> > > > > > > -- > >> > > > > > > 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]<google-web-toolkit%2Bunsubs > >> > > > > > > [email protected]><google-web-toolkit%2Bunsubs > >> [email protected]><google-web-toolkit%2Bunsubs > >> > > [email protected]><google-web-toolkit%2Bunsubs > >> > > > > [email protected]> > >> > > > > > > . > >> > > > > > > For more options, visit this group at > >> > > > > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > >> > > > > -- > >> > > > > 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]<google-web-toolkit%2Bunsubs > >> > > > > [email protected]><google-web-toolkit%2Bunsubs > >> [email protected]><google-web-toolkit%2Bunsubs > >> > > [email protected]> > >> > > > > . > >> > > > > For more options, visit this group at > >> > > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > >> > > -- > >> > > 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]<google-web-toolkit%2Bunsubs > >> > > [email protected]><google-web-toolkit%2Bunsubs > >> [email protected]> > >> > > . > >> > > For more options, visit this group at > >> > >http://groups.google.com/group/google-web-toolkit?hl=en. > > >> -- > >> 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]<google-web-toolkit%2Bunsubs > >> [email protected]> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- > > 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]<google-web-toolkit%2Bunsubs > > [email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.
