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 <ehu...@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 <ianwdun...@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
> >
>

Reply via email to