Hi
I have a build failure with Smack as shown below.
I did a “svn up” before the build.
Any ideas?
Note that the class in question, Socks5PacketUtils, is in the test-unit directory. Also note that the same project in Eclipse Indigo has not issues.
I also tried an “ant clean”.
Thanks
Nathan
$ date; svn up
Fri 2 Dec 2011 11:55:21 CET
At revision 12901.
$ ant test
Buildfile: /smack_svn_workspace/smack/build/build.xml
compile:
compile-test:
[javac] Compiling 64 source files to /smack_svn_workspace/smack/target/classes-test
[javac] /smack_svn_workspace/smack/test/org/jivesoftware/smackx/bytestreams/socks5/Sock s5ByteStreamTest.java:37: cannot find symbol
[javac] symbol : class Socks5PacketUtils
[javac] location: package org.jivesoftware.smackx.bytestreams.socks5
[javac] import org.jivesoftware.smackx.bytestreams.socks5.Socks5PacketUtils;
[javac] ^
[javac] smack_svn_workspace/smack/test/org/jivesoftware/smackx/bytestreams/socks5/Socks 5ByteStreamTest.java:81: cannot find symbol
[javac] symbol : variable Socks5PacketUtils
[javac] location: class org.jivesoftware.smackx.bytestreams.socks5.Socks5ByteStreamTest
[javac] Bytestream bytestreamInitiation = Socks5PacketUtils.createBytestreamInitiation(
[javac] ^
[javac] Note: /smack_svn_workspace/smack/test/org/jivesoftware/smack/PrivacyClient.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
BUILD FAILED
/smack_svn_workspace/smack/build/build.xml:146: Compile failed; see the compiler error output for details.
Total time: 3 seconds
$ ant -version
Apache Ant™ version 1.8.2 compiled on December 20 2010
uname -a
Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
$ java -version
java version “1.6.0_29”
Java™ SE Runtime Environment (build 1.6.0_29-b11-402-11M3527)
Java HotSpot™ 64-Bit Server VM (build 20.4-b02-402, mixed mode)