Thanks.
I have checkout emite r844 and repair the pom.xml as follow:
1. repair line 237 to "2.0-beta26"
2. add a line after line 254, <extraJvmArgs>-Xmx512m</extraJvmArgs>

I run emiteui as follow:
mvn com.totsp.gwt:maven-googlewebtoolkit2-plugin:gwt -P emiteui -
Dgoogle.webtoolkit.home=/path/to/gwt-linux-1.5.3

It can run successfully.
and I run ejabberd in my host.
But now the emiteui can't login ejabberd.
the bugs are here:
[INFO] [DEBUG] Signal session:onStateChanged fired with event:
connecting
[INFO] [DEBUG] GWT CONNECTOR SEND: <body to="localhost" content="text/
xml; charset=utf-8" rid="377117" xmlns:xmpp="urn:xmpp:xbosh" ack="1"
hold="1" secure="true" xml:lang="en" wait="60" xmpp:version="1.0"
ver="1.6" xmlns="http://jabber.org/protocol/httpbind"; />
[INFO] [DEBUG] Sending auth transaction: Ticket: 2...@karl-pad/
emiteui-1231127609982-release704-0, 1234, notStarted
[INFO] [DEBUG] GWT CONNECTOR RECEIVED: <body type='terminate'
xmlns='http://jabber.org/protocol/httpbind'/>
[INFO] [DEBUG] Signal bosh:onDisconnected fired with event:
disconnected by server


Charlie Collins wrote:
> That is entirely unrelated to GWT-Maven, that's a GWT and Ubuntu thing
> in general (happens whether or not you use Maven).
>
> Try this:
>
> sudo apt-get install libstdc++5
>
> On Jan 4, 8:41�pm, karl <[email protected]> wrote:
> > I use ubtuntu 8.04, and install the maven2.0.9.
> > I have download the gwt-maven simplesample.
> > At first, there are some error when I run $mvn gwt:gwt.
> > Now I user $/mvn com.totsp.gwt:maven-googlewebtoolkit2-plugin:gwt.
> > There are another error, as follow:
> > [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM
> > for GWT dependencies
> > ** Unable to load Mozilla for hosted mode **
> > java.lang.UnsatisfiedLinkError: /home/karl/.m2/repository/com/google/
> > gwt/gwt-dev/1.5.3/mozilla-1.7.12/libxpcom.so: libstdc++.so.5: cannot
> > open shared object file: No such file or directory
> > � � � � at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> > � � � � at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
> > � � � � at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
> > � � � � at java.lang.Runtime.load0(Runtime.java:770)
> > � � � � at java.lang.System.load(System.java:1005)
> > � � � � at com.google.gwt.dev.shell.moz.MozillaInstall.load
> > (MozillaInstall.java:190)
> > � � � � at com.google.gwt.dev.BootStrapPlatform.init(BootStrapPlatform.java:
> > 49)
> > � � � � at com.google.gwt.dev.GWTShell.main(GWTShell.java:354)
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Exception attempting to run script - run.sh
> >
> > Embedded error: run.sh script exited abnormally with code - 1
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 7 seconds
> > [INFO] Finished at: Mon Jan 05 09:34:47 CST 2009
> > [INFO] Final Memory: 16M/33M
> > [INFO]
> > ------------------------------------------------------------------------
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to