Re: Build: jfreeciv FAILED to build

"Brian Duff" <[email protected]> Fri, 9 Nov 2001 16:48:56 -0000
Newsgroups gmane.games.freeciv.java
Message-ID <[email protected]>
It's using 1.3. I ran into a similar problem the other week :)

Do we think its worth changing the required version of Java to use JFreeciv
up to 1.4? If so, I can upgrade the JDK on the server..

Brian

-----Original Message-----
From: freeciv-java-bounce-0/[email protected]
[mailto:freeciv-java-bounce-0/[email protected]]On Behalf Of James R
Sent: 09 November 2001 14:01
To: freeciv-java-0/[email protected]
Subject: [FreeCiv-Java] Re: Build: jfreeciv FAILED to build


This code is correct in 1.4, what JDK is it using to build?

I'll make it work in older JDKs later today.

James

On Thursday 08 November 2001 07:10 pm, you wrote:
> The Build for jfreeciv failed on 2001-11-09 at 00:10:00. The build log is
> below:
>
> Buildfile: build.xml
>
> init:
>      [echo] jfreeciv build started November 9 2001 at 0010
>
> pullsrc:
>
> copyfiles:
>      [copy] Copying 1 file to /home/buildman/build/jfreeciv/class
>
> src:
>     [javac] Compiling 268 source files to
> /home/buildman/build/jfreeciv/class [javac]
>
/home/buildman/build/jfreeciv/src/org/freeciv/client/dialog/ImplCityReport.
>java:468: cannot resolve symbol [javac] symbol  : method getButton  ()
>     [javac] location: class java.awt.event.MouseEvent
>     [javac]                     int whichButton = e.getButton();
>     [javac]                                        ^
>     [javac]
>
/home/buildman/build/jfreeciv/src/org/freeciv/client/dialog/ImplCityReport.
>java:469: cannot resolve symbol [javac] symbol  : variable BUTTON3
>     [javac] location: class java.awt.event.MouseEvent
>     [javac]                     boolean ascending = (whichButton ==
> MouseEvent.BUTTON3); [javac]
>                    ^ [javac] 2 errors
>
> BUILD FAILED
>
> /home/buildman/build/jfreeciv/build.xml:80: Compile failed, messages
should
> have been provided.
>
> Total time: 36 seconds