Hi all

Just wanted to build the latest version to test a bit, and found a previous download. did a
git pull && ant build,

but i get  the following error:

$ git pull && ant build
Already up-to-date.
Buildfile: /home/jss/freecol/freecol-git/build.xml

init:

compile:
[javac] Compiling 51 source files to /home/jss/freecol/freecol-git/build [javac] /home/jss/freecol/freecol-git/src/net/sf/freecol/server/ai/EuropeanAIPlayer.java:913: error: method remove in interface Map<K,V> cannot be applied to given types; [javac] if (plan.getTarget() != null) tipMap.remove(plan.getTarget(), plan);
    [javac]                                             ^
    [javac]   required: Object
    [javac]   found: Tile,TileImprovementPlan
    [javac]   reason: actual and formal argument lists differ in length
    [javac]   where K,V are type-variables:
    [javac]     K extends Object declared in interface Map
    [javac]     V extends Object declared in interface Map
    [javac] 1 error

BUILD FAILED
/home/jss/freecol/freecol-git/build.xml:107: Compile failed; see the compiler error output for details.

Total time: 5 seconds
$

could one of you clarify whether it's my git going wrong, or a current bug, or my build environment being wrong? I am using openJDK

best regards,

Jonas

Attachment: smime.p7s
Description: S/MIME-signeret meddelelse

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Freecol-developers mailing list
Freecol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freecol-developers

Reply via email to