I have the same problem but only since I started running the "com.totsp.gwt:maven-googlewebtoolkit2-plugin:debug" goal from within NetBeans using NetBeans "Custom Goals" action. I do have GWT_EXTERNAL_BROWSER in my ~/.bashrc as follows:
export GWT_EXTERNAL_BROWSER=/usr/bin/firefox So there is something peculiar with running gwt-maven-plugin within NetBeans configured for a maven project. Can anyone else please confirm. Anyone have any suggestions? On Jan 9 2008, 12:03 pm, "Robert \"kebernet\" Cooper" <[email protected]> wrote: > Umm... Well, there are a couple of things.. > > I guess I haven't noticed this because I set GWT_EXTERNAL_BROWSER in my > bash_profile for the user. I am not 100% sure, but I suspect if instead of > using set you used "export" it would work. Using set only changes an env var > for the current shell. "export" will make that cascade to child processes. > > The reason I am not 100% sure is because I am not sure that the Runtime.exec() > will cascade those. I am confident it does, but not 100%. However, since the > plugin will execute the shell within bash (or bourne if bash isn't found) > setting it in your profile or bash_profile will work. > > On Jan 9, 2008 6:11 AM, pwnedd <[email protected]> wrote: > > > > > > > I am getting a similar error on Ubuntu 7.10. I tried setting the > > environmental > > variable with: > > > set GWT_EXTERNAL_BROWSER=/usr/local/swiftweasel/swiftweasel > > > and then re-running the application, however the error message still > > shows up. > > > Any suggestions? > > > Thanks, > > Keith > > > On Nov 23 2007, 9:45 am, "Robert \"kebernet\" Cooper" > > <[email protected]> wrote: > > > Sorry for the lack of reply there. > > > > There isn't a way to configure this from the project, and I don't really > > > think there should be. This is something that is machine/user specific, > > not > > > something that should be attached at the project level. > > > > Yes, putting this in your basrc/.profile etc would be the "correct" way, > > > IMHO to do this. > > > > On Nov 20, 2007 7:38 AM, ahhughes <[email protected]> wrote: > > > > > Well, no replies.. I added this to my bashrc and now everything works > > > > just fine. Probably not the best solution but hey... it worked. > > > > > On Nov 16, 11:05 am, ahhughes <[email protected]> wrote: > > > > > Hi All, > > > > > > When running the GWT shell browser, there is a "Compile/Browse" > > > > > button. Which obviously compiles your GWT app and then opens it in a > > > > > real life browser, such as Firefox. This is very handy for those > > > > > wishing to test/run/debug CSS and JSNI using Firefox + Firebug. > > > > > > Anyway... the GWT shell needs to know where the browser is > > installed. > > > > > I have not configured this yet because I don't know if I can do this > > > > > with the gwt-maven project? or if I have to do this in my native > > > > > operating system environment variables? > > > > > > The error from the shell is.... > > > > > [ERROR] Unable to find a default external web browser > > > > > [WARN] Try setting the environment variable GWT_EXTERNAL_BROWSER to > > > > > your web browser executable before launching the GWT shell > > > > > > Thanks in advance > > > > -- > > > :Robert "kebernet" Cooper > > > ::[email protected] > > > Alice's cleartext > > > Charlie is the attacker > > > Bob signs and > > encryptshttp://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9E8759F8 > > -- > :Robert "kebernet" Cooper > ::[email protected] > Alice's cleartext > Charlie is the attacker > Bob signs and > encryptshttp://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9E8759F8 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "gwt-maven" 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/gwt-maven?hl=en -~----------~----~----~----~------~----~------~--~---
