incubator-wave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Dunlop <ianwdun...@gmail.com>
Subject Re: warning/error when compiling on windows 7 with java 1.7.0_79
Date Mon, 07 Dec 2015 13:14:44 GMT
Hello,

I did 'ant clean' then 'ant'. Got the same result. I then tried 'ant
get-third-party compile-gwt dist-server' but it still failed with the same
issues. Do I need to try a different command with ant?

Cheers,

Ian

On 7 December 2015 at 12:26, Evan Hughes <ehugh1@gmail.com> wrote:

> Ian just to make sure can you do a ant clean and remove the 3rd party and
> try again, also let us know which commands you were running to make this.
>
> On 7 December 2015 at 22:01, Ian Dunlop <ianwdunlop@gmail.com> wrote:
>
> > Hello,
> >
> > Having problems building wave with java 1.7.0_79 and ant 1.9.6 on windows
> > 7. Stack trace below. Fails when compiling wave-api. Seems to be a
> warning
> > with regards to generics. Any ideas?
> >
> > Cheers,
> >
> > Ian
> >
> > compile:
> >      [echo] Compiling wave-api-0.6.0
> >     [javac] Compiling 37 source files to
> > C:\Users\idunlop\code\incubator-wave\build\src
> >     [javac]
> >
> >
> C:\Users\idunlop\code\incubator-wave\src\org\waveprotocol\wave\model\document\ObservableMutableDocument.java
> > :54: warning: [overloads]
> >
> with(org.waveprotocol.wave.model.document.ObservableMutableDocument.Action)
> > in ObservableMutableDocument is potentially ambiguous with
> > with(org.waveprotocol.wave.model.document.MutableDocument.Action) in
> > MutableDoc
> > ument
> >     [javac]   public void with(Action
> > actionToRunWithObservableMutableDocument);
> >     [javac]               ^
> >     [javac]
> >
> >
> C:\Users\idunlop\code\incubator-wave\src\org\waveprotocol\wave\model\document\ObservableMutableDocument.java
> > :55: warning: [overloads]
> >
> >
> <V#1>with(org.waveprotocol.wave.model.document.ObservableMutableDocument.Method<V#1>)
> > in ObservableMutableDocument is potentially ambiguous with
> > <V#2>with(org.waveprotocol.wave.model.document.MutableDocument.Method
> > <V#2>) in MutableDocument
> >     [javac]   public <V> V with(Method<V>
> methodToRunWithMutableDocument);
> >     [javac]                ^
> >     [javac]   where V#1,V#2 are type-variables:
> >     [javac]     V#1 extends Object declared in method
> > <V#1>with(org.waveprotocol.wave.model.document.ObservableMutableDo
> > cument.Method<V#1>)
> >     [javac]     V#2 extends Object declared in method
> > <V#2>with(org.waveprotocol.wave.model.document.MutableDocument.Met
> > hod<V#2>)
> >     [javac] error: warnings found and -Werror specified
> >     [javac] 1 error
> >     [javac] 2 warnings
> >
> > BUILD FAILED
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message