Hi, I'm working on a Mac OS 10.8 and trying to build the cassandra trunk using ant. I am getting the error as below. I can see a related bug that fixed a similar issue for debian ( https://issues.apache.org/jira/browse/CASSANDRA-5688), but I can still repro this on Mac.
Thanks, Soumava soumava$ git describe cassandra-2.0.0-beta1-100-ge0eacd2 ... soumava$ ant ... gen-cql3-grammar: [echo] Building Grammar /Users/soumava/Documents/src/git-cassandra/src/java/org/apache/cassandra/cql3/Cql.g ... build-project: [echo] apache-cassandra: /Users/soumava/Documents/src/git-cassandra/build.xml [javac] Compiling 17 source files to /Users/soumava/Documents/src/git-cassandra/build/classes/thrift [javac] javac: invalid target release: 1.7 [javac] Usage: javac <options> <source files> [javac] use -help for a list of possible options BUILD FAILED /Users/soumava/Documents/src/git-cassandra/build.xml:636: Compile failed; see the compiler error output for details. Total time: 7 seconds