ok, i tried going into gwt-linux-0.0.0/samples/HelloWorld and running
ant oophm
and that seems to hang too.  i get this:
Buildfile: build.xml
libs:
javac:
oophm:

then nothing.
i've tried building trunk with both jdk 1.5 and 1.6.

if i run ant hosted in HelloWorld that works fine and launches the hosted mode browser with the app.

any other thoughts on how i could debug this?  seems like others have gotten this working in linux so i assume it's something with my environment, or something i'm doing wrong. 

thanks!
ken

Jeff Chimene wrote:
On Fri, Jul 17, 2009 at 1:01 AM, Ken Kwasnicki<[email protected]> wrote:
  
Jeff Chimene wrote:


thanks again!  so, i think i'm close but still no cigar.  i grabbed the
latest snapshot build (snapshot-2009.07.07-r5687) and that built fine.
installed the gwt-linux bz2, rebuilt the entire project, then started the
app in hosted mode which worked,


Good. Pardon my asking, but how do you know it used the trunk version?



good point. i don't know if snapshot is trunk, i just assumed it is a weekly
snapshot of trunk.
but that made me re-try trunk with a new checkout and this time it compiled
without errors.
so, now i definitely have /svn/trunk but still getting the same results.

so then i went back and added the oophm jar
to the front of my classpath,  started again, and now it appears to start
the oophm server,


"appears to start?" You should have positive confirmation in that a
"new" dialog box appears for the OOPHM service. The dialog doesn't do
much, but I'm surprised you didn't mention seeing it; which is why I
asked the question above.


hmm, no i don't get any popup window.
    

That's not good.

  
it shows a running java process,


By "it" do you mean "ps ax" or some such command?


sorry, by 'it' i mean eclipse.  here's what i get in the Debug view:

Landscaper [Java Application]
    com.google.gwt.dev.GWTShell at localhost:47318
        Thread [main] (Running)
        Daemon Thread [Java2D Disposer] (Running)
    /mnt/hda11/parvia/jdk/jdk/bin/java (Jul 16, 2009 11:36:52 PM)

so, the last line is the java process i mean, and yes, if i do a ps ax i can
see it running as a process.  (but it's not consuming any cpu or disk cycles
of significance)



but when i try to connect
from Firefox (which has the oophm plugin) i get nothing.  "Failed to connect
error" as though there is no server running on port 8888.


Please paste the URL from FF. Did FF start automatically? It should
have. If it was already started, you should have a new window with an
"interesting" URL.

no, FF didn't start, or open a new window.  i'm using the URL i see when the
app runs in hosted mode which looks like:
http://localhost:8888/com.parvia.landscaper.Landscaper/Landscaper.html?locale=en#0
    

It sounds like you're still running an older version of GWT.

  
i'm just pasting that URL into FF3, obviously it's not working because i
don't get the oophm popup you mention above indicating that the service is
running.
    

You shouldn't have to paste the URL. The GWT debug facility
automatically starts the supported browser on the appropriate
platform.

  
And I can't telnet to localhost on port 8888 either, so it looks like there
is no server process started on that port.
    

  
I forget the specific netstat args, but  there is a way to get netstat
to tell you what's listening.  grep that list for 8888.
    

  
checked netstat, definitely nothing running on port 8888.

the main frustration here is that i don't see any error messages.  i just
get those lines that i pasted above from the Debug view, which indicates it
is running but nothing more, and definitely no popup windows.
    

And the hits just keep on coming...

You might want to closely inspect the Eclipse launch configuration

  
any other thoughts?
    

Consider stepping away from Eclipse, creating an empty project using
the command line tools then running that empty project from the
command line.

  
appreciate the help!
thanks again,
ken


Cheers,
jec



I'll keep trying but appreciate any more suggestions if there looks like an
obvious problem.
thanks!
ken

Jeff Chimene wrote:

On 07/15/2009 12:30 PM, Ken Kwasnicki wrote:


hey thanks for the response.  i'm certainly willing to try 2.0.  running
into a bit of a snag though.
is this the correct checkout location?
svn checkout http://google-web-toolkit.googlecode.com/svn/trunk/ trunk

i also checkout out 'tools' and created the GWT_TOOLS env variable.
i'm using java 1.6.0_04 and ant 1.7.1


Yeah, that looks right. Someone else will have to comment on the error.
I can only tell you what I did.

I just built 2.0 yesterday. Trunk has the oophm support.
It seems you're using *nix:

$ cd /tmp
$ svn co ... tools
$ svn co ... trunk
$ cd trunk
$ ant

It built just fine.

Pick the correct tar.bz from the trunk/build/dist directory and unpack
it into your desired directory.

$ cd /usr/local/lib
$ tar -jxf /tmp/trunk/build/dist/gwt-linux-0.0.0.tar.bz2 # as root

Then, I grabbed the FF xpi from the wiki url
(http://code.google.com/p/google-web-toolkit/wiki/UsingOOPHM). The page
says FF 3.5 isn't ready yet, but FF 3.5 accepted it w/ no problem.

Make sure that the oophm jar is the first jar in your build path if
you're using Eclipse.

Bueno suerte,
jec



when i go into the 'trunk' directory and type ant i get a slew of
errors, the initial snippet of which looks like:
[gwt.javac] Compiling 421 source files to
/mnt/hda11/parvia/gwt-oophm/trunk/build/out/main/bin
[gwt.javac]
/mnt/hda11/parvia/gwt-oophm/trunk/main/src/com/gwtext/client/core/Ajax.java:25:
package com.google.gwt.core.client does not exist
[gwt.javac] import com.google.gwt.core.client._javascript_Object;

any ideas what i'm doing wrong?
also, i don't find any reference to oophm in any of the files in trunk.
do i have the correct source?  or do i need to grab something else for
oophm?

thanks again!
ken


Célio wrote:


AFAIK, oophm works only with gwt 2.0 (trunk).  I have tried it myself
with 1.6.4 without any success.

Why don't you give the trunk a try?  It's as simple as replacing the
jars (at least for 1.6.4, don't know for 1.5).


On Jul 14, 10:28 pm, kwas <[email protected]> wrote:



has anyone been able to get the oophm version of gwt 1.5.3 for linux
working?
if so, can you provide some details on where to get it and how you did
it?

i found a gwt-linux-1.5.3-oophm package and tried installing it, found
the FF3 plugin within and installed that in FF3, but when I try yo run
my project through eclipse nothing happens.  i don't get any error
messages,  just a java process that starts up and appears to do
nothing.

unfortunately the constraints of the project i'm working on mean i
need to stick with GWT 1.5 so checking out the latest version of gwt
with oophm (which seems to be what most instructions indicate) is not
possible for me.

and the native hosted mode browser in gwt linux 1.5.3 is something
akin to firefox 1.0 which is way too out of date for the js
requirements of my project.

the only other alternative i can think of is to run a Windows version
of eclipse/gwt through vmware or wine.

appreciate any help or suggestions!
thanks,
ken













    



  

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to