Thanks !!! That did the job. Cheers, Amit
On Thu, Sep 18, 2008 at 5:53 PM, Thomas Broyer <[EMAIL PROTECTED]> wrote: > > > On 18 sep, 11:35, "Amit Dhingra" <[EMAIL PROTECTED]> wrote: > > Hi, > > Well, I wasn't providing the arguments to the debugger, and hence it was > not > > opening the hosted browser. Thanks a lot for the tips!!! > > But even after providing the arguments, I am facing problems. > > > > I have done the following... > > Java Application > > Main > > Project: try5 > > Main class: com.google.gwt.dev.GWTShell > > Arguments > > Program arguments: -out www > > eu.future.earth.gwt.MainDemoApp/MainDemoApp.html > > VM arguments: -Xmx256m > > Classpath: Following are the contents of my .classpath file > > You have to manually add to the run/debug classpath your src/ folder > (Advanced... -> Add Folders): check by yourself the "(default > classpath)" entry in the "Classpath" tab from the Run/Debug dialog: it > only contains "binaries", not the src/ which GWTCompiler and GWTShell > need. > > > ************** > > <?xml version="1.0" encoding="UTF-8"?> > > <classpath> > > <classpathentry kind="con" > > path="org.eclipse.jdt.launching.JRE_CONTAINER"/> > > <classpathentry kind="var" path="JUNIT_HOME/junit.jar"/> > > <classpathentry kind="lib" > > path="E:/work/gwt-windows-1.4.62/gwt-dev-windows.jar"/> > > <classpathentry kind="lib" > > path="E:/work/gwt-windows-1.4.62/gwt-user.jar"/> > > <classpathentry kind="lib" > path="E:/work/try5/lib/gwt-dnd-2.0.7.jar"/> > > <classpathentry kind="lib" > > path="E:/work/try5/lib/ftr-gwt-library-date-0.9.5.jar"/> > > <classpathentry kind="src" path="src"/> > > <classpathentry kind="src" path="test"/> > > <classpathentry kind="output" path="bin"/> > > </classpath> > > ************** > > > > The Development shell gives the following error > > [ERROR] Unable to find type 'eu.future.earth.gwt.client.MainDemoApp' > > > > Please find attached the screenshot of all the above mentioned things. > > > > If I try and run the application using any of the cmd files, it runs > > perfectly well. > > > > Contents of MainDemoApp-shell.cmd > > *************** > > @java -cp > > > "%~dp0\src;%~dp0\bin;%~dp0/lib/gwt-dnd-2.0.7.jar;%~dp0/lib/ftr-gwt-library- > date-0.9.5.jar;E:/work/gwt-windows-1.4.62/gwt-user.jar;E:/work/gwt-windows- > 1.4.62/gwt-dev-windows.jar" > > com.google.gwt.dev.GWTShell -out "%~dp0\www" %* > > eu.future.earth.gwt.MainDemoApp/MainDemoApp.html > > *************** > > > > Am I still missing something. > > See, the %~dp0\src folder is explicitly called out. > > > -- Warm Regards, Amit Dhingra --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
