Complete.Org: Mailing Lists: Archives: freeciv-java: November 2001:
[FreeCiv-Java] Re: FW: Build: jfreeciv FAILED to build
Home

[FreeCiv-Java] Re: FW: Build: jfreeciv FAILED to build

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <freeciv-java@xxxxxxxxxxx>
Subject: [FreeCiv-Java] Re: FW: Build: jfreeciv FAILED to build
From: "Brian Duff" <Brian.Duff@xxxxxxxxxx>
Date: Sun, 11 Nov 2001 16:57:56 -0000

OK, I've fixed the breakage.

Brian

-----Original Message-----
From: freeciv-java-bounce@xxxxxxxxxxx
[mailto:freeciv-java-bounce@xxxxxxxxxxx]On Behalf Of Brian Duff
Sent: 11 November 2001 02:06
To: freeciv-java@xxxxxxxxxxx
Subject: [FreeCiv-Java] FW: Build: jfreeciv FAILED to build




-----Original Message-----
From: Brian Duff [mailto:Brian.Duff@xxxxxxxxxx]
Sent: 11 November 2001 02:03
To: bullwinkle@xxxxxxxxxx
Cc: jfreeciv-java@xxxxxxxxxxx
Subject: RE: [FreeCiv-Java] Build: jfreeciv FAILED to build


Hi James,

Somehow, your commit in Player.java 1.8 removed over a hundred lines of code
that I wrote in version 1.7, hence the build breakage.

How are you committing via CVS? I believe your changes may have been made
against 1.6, I committed changes in 1.7, then you should have had a merge
conflict when trying to commit 1.8 (i.e. cvs commit should have failed,
you'd have to do cvs update, then manually resolve the conflict). Did you
have to resolve a merge conflict?

Anyway, I'm going to patch up Player.java to fix the problems...

Brian

-----Original Message-----
From: Brian Duff
Sent: 11 November 2001 01:11
To: James R [bullwinkle@xxxxxxxxxx]
Subject: FW: [FreeCiv-Java] Build: jfreeciv FAILED to build



Hi James,

Any idea what went wrong?

Thanks,

Brian

-----Original Message-----
From: freeciv-java-bounce@xxxxxxxxxxx
[mailto:freeciv-java-bounce@xxxxxxxxxxx]On Behalf Of Build Manager
Sent: 11 November 2001 00:11
To: freeciv-java@xxxxxxxxxxx
Subject: [FreeCiv-Java] Build: jfreeciv FAILED to build


The Build for jfreeciv failed on 2001-11-11 at 00:10:01. The build log is
below:

Buildfile: build.xml

init:
     [echo] jfreeciv build started November 11 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/Client.java:965: cannot
resolve symbol
    [javac] symbol  : method getUnits  ()
    [javac] location: class org.freeciv.common.Player
    [javac]       Iterator i = getGame().getCurrentPlayer().getUnits();
    [javac]                           ^
    [javac]
/home/buildman/build/jfreeciv/src/org/freeciv/client/Client.java:1025:
cannot resolve symbol
    [javac] symbol  : method getUnits  ()
    [javac] location: class org.freeciv.common.Player
    [javac]     Iterator i = getGame().getCurrentPlayer().getUnits();
    [javac]                         ^
    [javac]
/home/buildman/build/jfreeciv/src/org/freeciv/common/City.java:254: cannot
resolve symbol
    [javac] symbol  : method findCityById  (int)
    [javac] location: class org.freeciv.common.Player
    [javac]     City tmpCity = getOwner().findCityById(
    [javac]                            ^
    [javac]
/home/buildman/build/jfreeciv/src/org/freeciv/common/City.java:346:
incompatible types
    [javac] found   : int
    [javac] required: org.freeciv.common.CityStyle
    [javac]     return getOwner().getCityStyle();
    [javac]                                   ^
    [javac]
/home/buildman/build/jfreeciv/src/org/freeciv/client/dialog/ImplCityReport.j
ava:468: cannot resolve symbol
    [javac] symbol  : variable BUTTON3
    [javac] location: class java.awt.event.MouseEvent
    [javac]                     int mod = e.getModifiers() &
MouseEvent.BUTTON3;
    [javac]                                                            ^
    [javac]
/home/buildman/build/jfreeciv/src/org/freeciv/client/dialog/ImplCityReport.j
ava:469: cannot resolve symbol
    [javac] symbol  : variable BUTTON3
    [javac] location: class java.awt.event.MouseEvent
    [javac]                     boolean ascending = ( mod ==
MouseEvent.BUTTON3);
    [javac]                                                            ^
    [javac]
/home/buildman/build/jfreeciv/src/org/freeciv/client/handler/PHCityInfo.java
:89: cannot resolve symbol
    [javac] symbol  : method addCity  (org.freeciv.common.City)
    [javac] location: class org.freeciv.common.Player
    [javac]       city.getOwner().addCity( city );
    [javac]                    ^
    [javac]
/home/buildman/build/jfreeciv/src/org/freeciv/client/handler/PHCityInfo.java
:101: cannot resolve symbol
    [javac] symbol  : method getUnits  ()
    [javac] location: class org.freeciv.common.Player
    [javac]         Iterator it = p.getUnits();
    [javac]                        ^
    [javac]
/home/buildman/build/jfreeciv/src/org/freeciv/client/handler/PHGameState.jav
a:54: cannot resolve symbol
    [javac] symbol  : method initUnitFocusStatus  ()
    [javac] location: class org.freeciv.common.Player
    [javac]       c.getGame().getCurrentPlayer().initUnitFocusStatus();
    [javac]                ^
    [javac]
/home/buildman/build/jfreeciv/src/org/freeciv/client/handler/PHGameState.jav
a:69: cannot resolve symbol
    [javac] symbol  : method findPalace  ()
    [javac] location: class org.freeciv.common.Player
    [javac]       else if ( (city =
c.getGame().getCurrentPlayer().findPalace()) != null )
    [javac]                                  ^
    [javac]
/home/buildman/build/jfreeciv/src/org/freeciv/client/handler/PHGameState.jav
a:79: cannot resolve symbol
    [javac] symbol  : method getCityCount  ()
    [javac] location: class org.freeciv.common.Player
    [javac]       else if ( c.getGame().getCurrentPlayer().getCityCount() >
0 )
    [javac]                          ^
    [javac]
/home/buildman/build/jfreeciv/src/org/freeciv/client/handler/PHGameState.jav
a:88: cannot resolve symbol
    [javac] symbol  : method getUnitCount  ()
    [javac] location: class org.freeciv.common.Player
    [javac]       else if ( c.getGame().getCurrentPlayer().getUnitCount() >
0 )
    [javac]                          ^
    [javac]
/home/buildman/build/jfreeciv/src/org/freeciv/client/handler/PHGameState.jav
a:91: cannot resolve symbol
    [javac] symbol  : method getUnits  ()
    [javac] location: class org.freeciv.common.Player
    [javac]         u=
(Unit)c.getGame().getCurrentPlayer().getUnits().next();
    [javac]                           ^
    [javac]
/home/buildman/build/jfreeciv/src/org/freeciv/client/map/GridMapView.java:79
: cannot resolve symbol
    [javac] symbol  : method inCityRadius  (int,int)
    [javac] location: class org.freeciv.common.Player
    [javac]           getClient().getGame().getCurrentPlayer().inCityRadius(
    [javac]                    ^
    [javac]
/home/buildman/build/jfreeciv/src/org/freeciv/client/map/GridMapView.java:86
: cannot resolve symbol
    [javac] symbol  : method inCityRadius  (int,int)
    [javac] location: class org.freeciv.common.Player
    [javac]
getClient().getGame().getCurrentPlayer().inCityRadius(
    [javac]                         ^
    [javac]
/home/buildman/build/jfreeciv/src/org/freeciv/client/map/GridMapView.java:10
2: cannot resolve symbol
    [javac] symbol  : method inCityRadius  (int,int)
    [javac] location: class org.freeciv.common.Player
    [javac]
getClient().getGame().getCurrentPlayer().inCityRadius(
    [javac]                      ^
    [javac] 16 errors

BUILD FAILED

/home/buildman/build/jfreeciv/build.xml:80: Compile failed, messages should
have been provided.

Total time: 29 seconds







[Prev in Thread] Current Thread [Next in Thread]