If you are using App Engine and GWT, you could: - Do a GWT compile, if your test path includes GWT code, - Disable GWT on the project - Launch your web application again
Those changes will alter the launch to only use the devappserver without any of the GWT stuff. If you are not using App Engine you could create a new java launch configuration that launches a simple servlet container like Jetty pointing at your war directory. 2009/8/20 Cafesolo <[email protected]> > > Miguel, > > I'm still experiencing a long startup time. Is there any way to > disable the hosted mode window? > > Regards, > -- Cafesolo > > On Aug 20, 12:08 pm, Miguel Méndez <[email protected]> wrote: > > 2009/8/20 Cafesolo <[email protected]> > > > > > > > > > Miguel, > > > > > I went to the launch configuration's GWT tab and cleared the URL > > > field. Now when I launch my application the hosted browser doesn't > > > show anymore, but the "Google Web Toolkit Hosted Mode" window still > > > appears (this is the window with the "Hosted Mode", "Restart Server", > > > "Collapse All", etc. buttons.) > > > I also tried removing my GWT module from the "Available Modules" list > > > in the launch configuration's GWT tab, but had the same effect. > > > Any ideas? > > > > The hosted mode window will always start, but having no modules or > browser's > > active should not have a significant impact. Are you still experiencing > a > > long startup time even after removing the URL, etc? > > > > > > > > > > > > > > > > > Regards, > > > -- Cafesolo > > > > > On Aug 20, 10:21 am, Miguel Méndez <[email protected]> wrote: > > > > The hosted mode browser is only launched if you specify a URL in the > Web > > > > Application launch configuration's GWT tab. If you leave it blank it > > > should > > > > have the effect that you are looking for. > > > > > > 2009/8/20 Cafesolo <[email protected]> > > > > > > > Hi Robin, > > > > > > > Not exactly. Even if I hit the "compile" button, the hosted mode > > > > > browser will still appear later when I launch the application. > > > > > > > I want to launch my application without opening the hosted mode > > > > > browser so I can reduce the application start-up time when I'm > > > > > debugging the non-GWT portions of my application. > > > > > > > Regards, > > > > > -- Cafesolo > > > > > > > On Aug 20, 4:03 am, Zhi Le Zou <[email protected]> wrote: > > > > > > Hi there, > > > > > > The hosted browser has a "compile" button which compiles your > code > > > into > > > > > > javascripts, and let you view your app in the native browser. Is > that > > > > > what > > > > > > you want? > > > > > > > > 2009/8/20 Cafesolo <[email protected]> > > > > > > > > > Hello everyone! > > > > > > > > > I'm writing a GWT + GAE application, which has many pages, but > only > > > > > > > one actually uses GWT. > > > > > > > > > When I launch my application from Eclipse (using the Google > plugin, > > > of > > > > > > > course) a hosted mode browser instance appears, which is fine > for > > > > > > > debugging the page that uses GWT. However, the hosted mode > browser > > > is > > > > > > > not needed for debugging the non-GWT part of my app (which is > about > > > > > > > 90% of the code), and it adds a lot of startup time. > > > > > > > > > So my question is: Can I disable the hosted mode browser and > still > > > be > > > > > > > able to launch my application from Eclipse using the App Engine > > > > > > > development server? I don't care if I'm not able to run the > page > > > that > > > > > > > uses GWT. > > > > > > > > > For the curious, I'm using Wicket 1.4 for the non-GWT part of > the > > > > > > > application. > > > > > > > > > Regards, > > > > > > > -- Cafesolo > > > > > > > > -- > > > > > > Best Regards > > > > > > Robin (邹志乐) > > > > > > -- > > > > Miguel > > > > -- > > Miguel > > > -- Miguel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
