compile error: static method should be qualified by type name,

661 views
Skip to first unread message

Martin Rudel

unread,
Dec 9, 2012, 8:58:15 PM12/9/12
to walkaro...@googlegroups.com
Hi Group!

I tried to compile the code under Ubuntu 12.10 as mentioned at https://code.google.com/p/walkaround/wiki/RunningTheCode, but the 
./runant run
gives many warnings and errors:
##############
     [echo] Logging to /var/www/walkaround/third_party_src/wave/trunk/build/logs/build_2012-12-10_01-47-59.log
init-logging:  duration 0 seconds

init:
    [mkdir] Skipping /var/www/walkaround/third_party_src/wave/trunk/build/proto because it already exists.
    [mkdir] Skipping /var/www/walkaround/third_party_src/wave/trunk/build/messages because it already exists.
    [mkdir] Skipping /var/www/walkaround/third_party_src/wave/trunk/build/src because it already exists.
    [mkdir] Skipping /var/www/walkaround/third_party_src/wave/trunk/build/test because it already exists.
    [mkdir] Skipping /var/www/walkaround/third_party_src/wave/trunk/build/coverage because it already exists.
    [mkdir] Skipping /var/www/walkaround/third_party_src/wave/trunk/dist because it already exists.
    [mkdir] Skipping /var/www/walkaround/third_party_src/wave/trunk/build/staging because it already exists.
    [mkdir] Skipping /var/www/walkaround/third_party_src/wave/trunk/build/dep because it already exists.
    [mkdir] Skipping /var/www/walkaround/third_party_src/wave/trunk/test_out because it already exists.
init:  duration 0 seconds

dist-pst-dep:
 [uptodate] The targetfile "/var/www/walkaround/third_party_src/wave/trunk/build/dep/dist-pst" does not exist.
dist-pst-dep:  duration 0 seconds

compile-proto-dep:
 [uptodate] The targetfile "/var/www/walkaround/third_party_src/wave/trunk/build/dep/compile-proto" does not exist.
compile-proto-dep:  duration 0 seconds

compile-proto:
    [javac] org/waveprotocol/box/common/comms/WaveClientRpc.java added as org/waveprotocol/box/common/comms/WaveClientRpc.class doesn't exist.
    [javac] org/waveprotocol/box/profile/ProfilesProto.java added as org/waveprotocol/box/profile/ProfilesProto.class doesn't exist.
    [javac] org/waveprotocol/box/search/SearchProto.java added as org/waveprotocol/box/search/SearchProto.class doesn't exist.
    [javac] org/waveprotocol/box/server/persistence/protos/ProtoAccountStoreData.java added as org/waveprotocol/box/server/persistence/protos/ProtoAccountStoreData.class doesn't exist.
    [javac] org/waveprotocol/box/server/persistence/protos/ProtoDeltaStoreData.java added as org/waveprotocol/box/server/persistence/protos/ProtoDeltaStoreData.class doesn't exist.
    [javac] org/waveprotocol/box/server/rpc/Rpc.java added as org/waveprotocol/box/server/rpc/Rpc.class doesn't exist.
    [javac] org/waveprotocol/protobuf/Extensions.java added as org/waveprotocol/protobuf/Extensions.class doesn't exist.
    [javac] org/waveprotocol/wave/concurrencycontrol/ClientServer.java added as org/waveprotocol/wave/concurrencycontrol/ClientServer.class doesn't exist.
    [javac] org/waveprotocol/wave/diff/Diff.java added as org/waveprotocol/wave/diff/Diff.class doesn't exist.
    [javac] org/waveprotocol/wave/federation/FederationErrorProto.java added as org/waveprotocol/wave/federation/FederationErrorProto.class doesn't exist.
    [javac] org/waveprotocol/wave/federation/Proto.java added as org/waveprotocol/wave/federation/Proto.class doesn't exist.
    [javac] Compiling 11 source files to /var/www/walkaround/third_party_src/wave/trunk/build/proto
    [javac] Using modern compiler
    [javac] Compilation arguments:
'-d'
'/var/www/walkaround/third_party_src/wave/trunk/build/proto'
'-classpath'
'/var/www/walkaround/third_party_src/wave/trunk/build/proto:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/aopalliance/aopalliance.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/bouncycastle/bcprov-jdk16-145.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/commons-fileupload/commons-fileupload.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/commons_cli/commons-cli-1.2.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/commons_codec/commons-codec-1.4-sources.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/commons_codec/commons-codec-1.4.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/commons_collections/commons-collections-3.2.1.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/commons_configuration/commons-configuration-1.6.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/commons_httpclient/commons-httpclient-3.1.
jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/commons_lang/commons-lang-2.5.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/commons_logging/commons-logging-1.1.1-sources.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/commons_logging/commons-logging-1.1.1.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/commons_logging/commons-logging-adapters-1.1.1.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/commons_logging/commons-logging-api-1.1.1.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/dom4j/dom4j-1.6.1.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/google-api-client/google-api-client-1.5.0-beta.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/google-api-client/google-http-client-1.5.0-beta.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/google-api-client/google-oauth-client-1.5.0-beta.jar:/var/www/
walkaround/third_party_src/wave/trunk/third_party/runtime/gson/gson-1.4.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/guava/guava-r09-gwt.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/guava/guava-r09.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/guice/guice-3.0.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/guice/guice-assistedinject-3.0.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/guice/guice-servlet-3.0.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/guice/javax.inject.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/gxp/gxp-0.2.4-beta.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jackson/jackson-core-asl-1.5.2.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jdo/jdo2-api-2.2.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jdom/jdom.jar:/var/www/walkaround/third_party_
src/wave/trunk/third_party/runtime/jetty/jetty-client-8.1.1.v20120215.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jetty/jetty-continuation-8.1.1.v20120215.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jetty/jetty-http-8.1.1.v20120215.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jetty/jetty-io-8.1.1.v20120215.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jetty/jetty-security-8.1.1.v20120215.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jetty/jetty-server-8.1.1.v20120215.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jetty/jetty-servlet-8.1.1.v20120215.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jetty/jetty-servlets-8.1.1.v20120215.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jetty/jetty-util-8.1.1.v20120215.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jetty/jetty-webapp-8.1.1.
v20120215.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jetty/jetty-websocket-8.1.1.v20120215.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jetty/jetty-xml-8.1.1.v20120215.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jetty/servlet-api-3.0.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jline/jline-0.9.94.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/joda_time/joda-time-1.6.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jsr305/jsr305-src.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/jsr305/jsr305.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/libidn/libidn-1.15.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/lucene/lucene-core-3.5.0-javadoc.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/lucene/lucene-core-3.5.0.jar:/var/www/walkaround/third_party_src/wave/trunk/third_
party/runtime/mongo-driver/mongo-2.1.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/oauth/oauth-common-src.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/oauth/oauth-common.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/oauth/oauth-consumer-src.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/oauth/oauth-consumer.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/oauth/oauth-provider-src.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/oauth/oauth-provider.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/protobuf-format-java/protobuf-format-java-1.1.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/protobuf/protobuf-2.3.0-src.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/protobuf/protobuf-java-2.3.0.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/socketio/socketio-core-0.1-SNAPSHOT-
sources.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/socketio/socketio-core-0.1-SNAPSHOT.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/socketio/socketio-jetty-0.1-SNAPSHOT-sources.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/socketio/socketio-jetty-0.1-SNAPSHOT.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/websocket/websocket.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/whack/whack.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/whack/xmpp.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/xpp3/xpp3-1.1.4c.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/runtime/xpp3/xpp3_xpath-1.1.4c.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/codegen/antlr/antlr-3.2.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/codegen/gwt/gwt-dev.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/codegen/gwt/
gwt-user.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/codegen/socketio/socketio-gwt-0.1-SNAPSHOT-sources.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/codegen/socketio/socketio-gwt-0.1-SNAPSHOT.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/codegen/velocity/velocity-1.6.3-dep.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/codegen/velocity/velocity-1.6.3.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/test/hamcrest/hamcrest-all-1.2.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/test/junit/junit.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/test/junit/src.jar:/var/www/walkaround/third_party_src/wave/trunk/third_party/test/mockito/mockito-all-1.8.2.jar'
'-sourcepath'
'/var/www/walkaround/third_party_src/wave/trunk/proto_src'
'-g'
'-Werror'
'-Xlint:all'
'-Xlint:-serial'
'-Xlint:-deprecation'

The ' characters around the executable and arguments are
not part of the command.
    [javac] Files to be compiled:
    /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/common/comms/WaveClientRpc.java
    /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/profile/ProfilesProto.java
    /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/search/SearchProto.java
    /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/server/persistence/protos/ProtoAccountStoreData.java
    /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/server/persistence/protos/ProtoDeltaStoreData.java
    /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/server/rpc/Rpc.java
    /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/protobuf/Extensions.java
    /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/concurrencycontrol/ClientServer.java
    /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/diff/Diff.java
    /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/federation/FederationErrorProto.java
    /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/federation/Proto.java
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/common/comms/WaveClientRpc.java:971: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.waveletIdPrefix_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/common/comms/WaveClientRpc.java:1022: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.knownWavelet_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/common/comms/WaveClientRpc.java:1895: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.contributor_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/common/comms/WaveClientRpc.java:2430: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.participantId_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/common/comms/WaveClientRpc.java:2481: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.document_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/common/comms/WaveClientRpc.java:2952: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.wavelet_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/common/comms/WaveClientRpc.java:3461: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.appliedDelta_);
    [javac]              ^
    [javac] error: warnings found and -Werror specified
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/federation/Proto.java:472: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.operation_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/federation/Proto.java:512: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.addressPath_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/federation/Proto.java:2763: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]             super.addAll(values, result.attribute_);
    [javac]                  ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/federation/Proto.java:3174: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]             super.addAll(values, result.oldAttribute_);
    [javac]                  ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/federation/Proto.java:3225: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]             super.addAll(values, result.newAttribute_);
    [javac]                  ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/federation/Proto.java:3598: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]             super.addAll(values, result.attributeUpdate_);
    [javac]                  ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/federation/Proto.java:3998: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]             super.addAll(values, result.end_);
    [javac]                  ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/federation/Proto.java:4049: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]             super.addAll(values, result.change_);
    [javac]                  ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/federation/Proto.java:5110: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.component_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/federation/Proto.java:5945: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.signature_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/federation/Proto.java:6874: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.certificate_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/profile/ProfilesProto.java:314: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.addresses_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/profile/ProfilesProto.java:1064: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.profiles_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/search/SearchProto.java:980: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]           super.addAll(values, result.participants_);
    [javac]                ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/search/SearchProto.java:1391: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.digests_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/server/persistence/protos/ProtoAccountStoreData.java:2031: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.capability_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/server/persistence/protos/ProtoAccountStoreData.java:2419: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.context_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/box/server/persistence/protos/ProtoDeltaStoreData.java:474: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.operation_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/concurrencycontrol/ClientServer.java:368: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.knownWavelet_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/concurrencycontrol/ClientServer.java:1123: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.wavelet_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/concurrencycontrol/ClientServer.java:1976: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.participant_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/concurrencycontrol/ClientServer.java:2027: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.document_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/concurrencycontrol/ClientServer.java:2640: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.contributor_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/diff/Diff.java:368: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.knownWavelet_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/diff/Diff.java:1123: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.wavelet_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/diff/Diff.java:1698: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.participant_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/diff/Diff.java:1738: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.addedParticipant_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/diff/Diff.java:1778: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.removedParticipant_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/diff/Diff.java:1829: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.document_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/diff/Diff.java:2586: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.contributor_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/diff/Diff.java:2626: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.addedContributor_);
    [javac]              ^
    [javac] /var/www/walkaround/third_party_src/wave/trunk/proto_src/org/waveprotocol/wave/diff/Diff.java:2666: warning: [static] static method should be qualified by type name, Builder, instead of by an expression
    [javac]         super.addAll(values, result.removedContributor_);
    [javac]              ^
    [javac] 1 error
    [javac] 39 warnings
compile-proto:  duration 6 seconds

BUILD FAILED

/var/www/walkaround/third_party_src/wave/trunk/build.xml:106: The following error occurred while executing this line:
/var/www/walkaround/third_party_src/wave/trunk/build-macros.xml:70: Compile failed; see the compiler error output for details.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:401)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: /var/www/walkaround/third_party_src/wave/trunk/build-macros.xml:70: Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1150)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:912)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
... 16 more
##############
Any suggestions how to fix this?
thx in advance

Martin 'rhinux' Rudel

Yuri Zelikov

unread,
Dec 10, 2012, 4:46:22 PM12/10/12
to walkaro...@googlegroups.com
The last time I tried to compile the code was issue with incompatibilities between guava.jar versions in Apache Wave and the Walkaround.
Walkaround uses Apache Wave web client, so it includes the whole Apache Wave project. However, Walkaround uses guava version 10.0.1 and Apache Wave uses r09 version. As it seems, there were some backward incompatible changes between those two jar versions.
The workaround was to replace the old jar in Apache Wave with newer one and then re-build Apache Wave project.
But if you just want to get your own Walkaround  - I can push it to your AppEngine instance - just add me as developer - veg...@gmail.com
Reply all
Reply to author
Forward
0 new messages