nadirabid / wave-protocol

Automatically exported from code.google.com/p/wave-protocol
0 stars 0 forks source link

Won't build #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Debian Lenny.

[xmpp-t@bsrv:~/wave]% ant dist      
Buildfile: build.xml

init:

proto_compile:
    [javac] Compiling 3 source files to /home/xmpp-t/wave/build/core
    [javac] Compliance level '1.4' is incompatible with target level '1.5'. 
A compliance level '1.5' or better is required

BUILD FAILED
/home/xmpp-t/wave/build.xml:56: Compile failed; see the compiler error 
output for details.

Total time: 0 seconds

Original issue reported on code.google.com by zdevel on 2 Aug 2009 at 7:10

GoogleCodeExporter commented 9 years ago
The WRS requires Java 1.6 or above. What version are you using?

Original comment by JamesRPu...@gmail.com on 2 Aug 2009 at 7:26

GoogleCodeExporter commented 9 years ago
run javac -version. If it reports < 1.6, you'll need to find a version of Java 
1.6 for your platform. See, for 
instance, 
http://www.linuxquestions.org/questions/debian-26/java-1.6-for-debian-525660/#po
st2949240 
for an example.

Original comment by anthonybaxter@gmail.com on 2 Aug 2009 at 8:04

GoogleCodeExporter commented 9 years ago
[root@bsrv:/usr/lib/jvm/java-6-sun/bin]# ./java -version 
java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)

Original comment by zdevel on 2 Aug 2009 at 8:37

GoogleCodeExporter commented 9 years ago
Got it runnin' on ejabberd. Thx! Problem that jre pointed to openjdk... Now 
fixed.

Original comment by zdevel on 2 Aug 2009 at 8:52

GoogleCodeExporter commented 9 years ago
interesting, what distro are you using?

Original comment by JamesRPu...@gmail.com on 2 Aug 2009 at 8:56

GoogleCodeExporter commented 9 years ago
Debian Lenny. Also, should wave.domain.com will be visible in discovery? 
Internal 
client works fine.

Original comment by zdevel on 2 Aug 2009 at 8:59

GoogleCodeExporter commented 9 years ago
Have you got your dns setup correctly?

Original comment by JamesRPu...@gmail.com on 2 Aug 2009 at 9:09

GoogleCodeExporter commented 9 years ago
Yes. I forgot setup name in ejabberd component. Now it's available and all 
works.

Original comment by zdevel on 2 Aug 2009 at 9:38

GoogleCodeExporter commented 9 years ago
By the way, debian needs not java6-jre, but java6-jdk (javac not available in 
jre)

Original comment by zdevel on 2 Aug 2009 at 9:39

GoogleCodeExporter commented 9 years ago
My problem:

...
    [javac] Note:
/home/fang/sources/google_wave/src/org/waveprotocol/wave/examples/fedone/federat
ion/xmpp/XmppUtil.java
uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 100 errors

BUILD FAILED
/home/fang/sources/google_wave/build.xml:68: Compile failed; see the compiler 
error
output for details.

OS: Ubuntu 9.04

Original comment by dimon90s...@gmail.com on 8 Aug 2009 at 3:34

Attachments:

GoogleCodeExporter commented 9 years ago
@dimon90ster

How did you get the sources?

Original comment by JamesRPu...@gmail.com on 8 Aug 2009 at 3:56

GoogleCodeExporter commented 9 years ago
yeah... my source is corrupt. Thanks.

Original comment by dimon90s...@gmail.com on 8 Aug 2009 at 4:36

GoogleCodeExporter commented 9 years ago
Closing.

Original comment by btkalman@gmail.com on 27 Aug 2009 at 8:28