You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Teodor Sigaev <te...@sigaev.ru> on 2009/10/16 23:15:04 UTC

Compile error on revision 826089.

% ant release
Buildfile: build.xml

build-subprojects:

init:
     [mkdir] Created dir: 
/spool/home/teodor/cvs/Cassandra/cassandra-0.4/build/classes
     [mkdir] Created dir: 
/spool/home/teodor/cvs/Cassandra/cassandra-0.4/build/test/classes
     [mkdir] Created dir: 
/spool/home/teodor/cvs/Cassandra/cassandra-0.4/src/gen-java

check-gen-cli-grammar:

gen-cli-grammar:
      [echo] Building Grammar 
/spool/home/teodor/cvs/Cassandra/cassandra-0.4/src/java/org/apache/cassandra/cli/Cli.g 
  ....

build-project:
      [echo] apache-cassandra-incubating: 
/spool/home/teodor/cvs/Cassandra/cassandra-0.4/build.xml
     [javac] Compiling 248 source files to 
/spool/home/teodor/cvs/Cassandra/cassandra-0.4/build/classes
     [javac] 
/spool/home/teodor/cvs/Cassandra/cassandra-0.4/src/java/org/apache/cassandra/net/MessagingService.java:486: 
cannot find symbol
     [javac] symbol  : method getConnections()
     [javac] location: class org.apache.cassandra.net.TcpConnectionManager
     [javac]             for(TcpConnection connection: 
entry.getValue().getConnections())
     [javac]                                                           ^
     [javac] Note: Some input files use or override a deprecated API.
     [javac] Note: Recompile with -Xlint:deprecation for details.
     [javac] Note: Some input files use unchecked or unsafe operations.
     [javac] Note: Recompile with -Xlint:unchecked for details.
     [javac] 1 error

BUILD FAILED
/spool/home/teodor/cvs/Cassandra/cassandra-0.4/build.xml:119: Compile failed; 
see the compiler error output for details.

Total time: 18 seconds


getConnection() instead of getConnections(), right?
-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

Re: Compile error on revision 826089.

Posted by Jonathan Ellis <jb...@gmail.com>.
fixed

2009/10/16 Teodor Sigaev <te...@sigaev.ru>:
> % ant release
> Buildfile: build.xml
>
> build-subprojects:
>
> init:
>    [mkdir] Created dir:
> /spool/home/teodor/cvs/Cassandra/cassandra-0.4/build/classes
>    [mkdir] Created dir:
> /spool/home/teodor/cvs/Cassandra/cassandra-0.4/build/test/classes
>    [mkdir] Created dir:
> /spool/home/teodor/cvs/Cassandra/cassandra-0.4/src/gen-java
>
> check-gen-cli-grammar:
>
> gen-cli-grammar:
>     [echo] Building Grammar
> /spool/home/teodor/cvs/Cassandra/cassandra-0.4/src/java/org/apache/cassandra/cli/Cli.g
>  ....
>
> build-project:
>     [echo] apache-cassandra-incubating:
> /spool/home/teodor/cvs/Cassandra/cassandra-0.4/build.xml
>    [javac] Compiling 248 source files to
> /spool/home/teodor/cvs/Cassandra/cassandra-0.4/build/classes
>    [javac]
> /spool/home/teodor/cvs/Cassandra/cassandra-0.4/src/java/org/apache/cassandra/net/MessagingService.java:486:
> cannot find symbol
>    [javac] symbol  : method getConnections()
>    [javac] location: class org.apache.cassandra.net.TcpConnectionManager
>    [javac]             for(TcpConnection connection:
> entry.getValue().getConnections())
>    [javac]                                                           ^
>    [javac] Note: Some input files use or override a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>    [javac] Note: Some input files use unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>    [javac] 1 error
>
> BUILD FAILED
> /spool/home/teodor/cvs/Cassandra/cassandra-0.4/build.xml:119: Compile
> failed; see the compiler error output for details.
>
> Total time: 18 seconds
>
>
> getConnection() instead of getConnections(), right?
> --
> Teodor Sigaev                                   E-mail: teodor@sigaev.ru
>                                                   WWW: http://www.sigaev.ru/
>