Hi Jim, All I was saying is that you seem to make this whole "hacking system directories" way scarier than it is. I've changed things multiple times over the years in "system directories" sometimes following Apple's own advices. This particular instance is a completely harmless copy.
Anyway, don't run snow leopard if you don't want to. But until a proper fix is out, I much prefer (and some other people too I'm sure) giving GWT the JDK 1.5 it expects rather than changing all my scripts and eclipse projects to hack the gwt installation. Regards, Pascal On 8 sep, 22:30, Jim Douglas <[email protected]> wrote: > Hi Pascal, > > If hacking system directories seems like an acceptable approach for > you, it's your system and your choice. My concern is that GWT > developers who come here looking for advice about getting GWT running > in Snow Leopard shouldn't be told that the correct solution is to hack > their operating system in ways that aren't supported or approved by > Apple. > > As a general rule, it's rarely a good idea to advise anyone that the > fix for a problem is to hack around in system directories. It's > especially bad advice when it's not necessary. There's nothing > compelling about Snow Leopard that makes it urgent for anyone to > install it right this second. I'm more than happy to leave it sitting > here in the shrink wrap until I'm sure that I can install it and get > back to work without any disruptions. But if someone feels the need > to install it (or installed it without realizing it would break GWT), > there are other ways to get GWT running again that don't involve > hacking in Apple's JVM directories. > > Regards, > Jim. > > On Sep 8, 6:16 pm, Pascal <[email protected]> wrote: > > > Seriously, it takes around 20 seconds to copy the 1.5 directories over > > and redo the symlinks. If an update from Apple came in and deleted > > things, you'd need to spend another 20 seconds redoing things as all > > they'd do is delete what you did. I'm sure there will be a fix out at > > some point in the near future but in the interim, I can happily run > > hosted mode on Snow Leopard and I wouldn't describe the workaround as > > "horrific", it's just one directory and two symlinks. > > > Pascal > > > On Sep 8, 5:31 pm, Jim Douglas <[email protected]> wrote: > > > > Don't follow that horrific advice; it will break the next time get get > > > a Java update from Apple: > > > >http://lists.apple.com/archives/java-dev/2009/Sep/msg00072.html > > > > There are only two legitimate workarounds for this right now -- > > > install a current build of GWT 2.0, or hack around the Java 5 check in > > > GWT 1.7 as described here: > > > >http://development.lombardi.com/?p=1012 > > > > On Sep 7, 1:12 pm, javacup <[email protected]> wrote: > > > > > Hi All, > > > > > I followed the instructions from this page > > > > >http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard > > > > > but still I get > > > > > You must use a Java 1.5 runtime to use GWT Hosted Mode on Mac OS X. > > > > > I see some of you added hacks into the boot strap class. Does google > > > > view this seriously and try to release a patch ASAP? > > > > > Thanks > > > > > On Sep 3, 7:05 am, Alex Moffat <[email protected]> wrote: > > > > > > I have another work around that involves changing the > > > > > BootStrapPlatform class in gwt-dev-mac.jar to remove the check for > > > > > java 1.5. If you do this then you can use java 1.6 with the -d32 flag > > > > > and it works fine. More details > > > > > athttp://development.lombardi.com/?p=1012 > > > > > > On Aug 31, 6:35 pm, Jim Douglas <[email protected]> wrote: > > > > > > > Hi Sumit, > > > > > > > That "workaround" is really not acceptable. Because Apple considers > > > > > > the JVM to be part of the operating system, messing in those > > > > > > directories amounts to hacking the O/S. It's unsafe, unsupported, > > > > > > and > > > > > > can -- and probably will -- arbitrarily drop dead at any time with > > > > > > an > > > > > > O/S update. > > > > > > > I could easily be missing something important, but it seems like > > > > > > this > > > > > > should be a fairly easy thing for you to patch. My understanding is > > > > > > that the issue with GWT is that you need a 32-bit JVM, and in Mac > > > > > > OS X > > > > > > Leopard, the only way to get a 32-bit JVM is to use Java 5; the > > > > > > Leopard Java 6 is 64-bit-only. But in Snow Leopard, you can invoke > > > > > > Java 6 with "java -d32 ...", and you will get a 32-bit JVM. > > > > > > Wouldn't > > > > > > this work for GWT hosted mode? > > > > > > > Regards, > > > > > > Jim. > > > > > > > On Aug 31, 3:58 pm, Sumit Chandel <[email protected]> wrote: > > > > > > > > Hi all, > > > > > > > Hosted mode will be getting an exciting makeover soon, in the > > > > > > > form of > > > > > > > Out-Of-Process Hosted Mode (OOPHM). With OOPHM, hosted mode runs > > > > > > > as a plugin > > > > > > > to your favourite browser so that you can debug with the browser > > > > > > > most > > > > > > > familiar to you using whichever other debugging tools it offers > > > > > > > while at the > > > > > > > same time debugging your GWT code in hosted mode as you do now. > > > > > > > > OOPHM is currently available in GWT trunk for those who want to > > > > > > > give it a > > > > > > > try (instructions linked below). > > > > > > > > That said, OOPHM solves the problem of requiring 32-bit libraries > > > > > > > that > > > > > > > exists in other Mac builds where switching out to Java 1.5 was > > > > > > > necessary. > > > > > > > That means that OOPHM will also work perfectly well for Snow > > > > > > > Leopard, or any > > > > > > > other platform using any Java libraries, 32-bit or not. > > > > > > > > Hopefully the workaround Dean linked to above will get you up and > > > > > > > running > > > > > > > until OOPHM comes out in the next major release. If that > > > > > > > workaround doesn't > > > > > > > work, please feel free to reply back and let us know. > > > > > > > > Using OOPHM from > > > > > > > trunk:http://code.google.com/p/google-web-toolkit/wiki/UsingOOPHM > > > > > > > > Hope that helps, > > > > > > > -Sumit Chandel > > > > > > > > On Mon, Aug 31, 2009 at 11:35 AM, mdwarne <[email protected]> > > > > > > > wrote: > > > > > > > > > Hi, > > > > > > > > After watching a bunch of Googles GWT videos, and seminar > > > > > > > > speeches, I > > > > > > > > noticed some of the presenters are using Macbooks. > > > > > > > > I have to believe they are well aware of this issue. > > > > > > > > Mike. > > > > > > > > > On Aug 31, 4:04 am, Michael Shantzis <[email protected]> > > > > > > > > wrote: > > > > > > > > > The question I have is how high it is on google's list to > > > > > > > > > release a > > > > > > > > > version of GWT that runs on snow leopard without any > > > > > > > > > modifications. > > > > > > > > > I'm working in an environment where I'm testing jboss (which > > > > > > > > > requires > > > > > > > > > java 1.6) and have had to jump through hoops to get my server > > > > > > > > > running > > > > > > > > > 1.6 and my GWT client running 1.5. > > > > > > > > > > I'm sure they're already aware of this and it's certainly the > > > > > > > > > case > > > > > > > > > that all the pieces are out there for them. > > > > > > > > > > I'm patiently waiting!!! > > > > > > > > > > On Aug 29, 9:21 pm, James <[email protected]> > > > > > > > > > wrote: > > > > > > > > > > > Hi... I just wanted to add that along with the suggestions > > > > > > > > > > on: > > > > > > > > > > >http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard > > > > > > > > > > > I had to rename the "CurrentJDK" symbolic link in > > > > > > > > > > > /System/Library/Frameworks/JavaVM.framework/Versions/ > > > > > > > > > > > from 1.6.0 to the (newly added) 1.5.0 because it appears > > > > > > > > > > that ant was > > > > > > > > > > looking at the "CurrentJDK" for its version not the env. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
