Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in svn base. #209

Open
GoogleCodeExporter opened this issue Aug 3, 2015 · 2 comments
Open

Error in svn base. #209

GoogleCodeExporter opened this issue Aug 3, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. get source from 
"http://code.google.com/p/ai-contest/source/browse/#svn/trunk/planet_wars/viz"
2. craete new java progect in eclipse

All sousces must be correct. But on line 29 of file RenderMap.java call 
undefined constructor for Game.java

Revision r500. Eclipse Version: Helios Release
Build id: 20100617-1415. JavaSE 1.6


The constructor Game(String, int, int) is undefined.
Avialable is Game.Game(String s, int maxGameLength, int mode, String 
logFilename)

Original issue reported on code.google.com by h6.msan...@gmail.com on 6 Nov 2010 at 7:34

@GoogleCodeExporter
Copy link
Author

E:\svn\planet_wars\viz>javac *.java
RenderMap.java:29: cannot find symbol
symbol  : constructor Game(java.lang.String,int,int)
location: class Game
            Game game = new Game(args[0], 100, 0);
                        ^
RenderMap.java:62: 
Render(int,int,double,java.awt.image.BufferedImage,java.util.ArrayList<java.awt.
Color>,java.awt.Graphics2D) in Game cannot be applied to 
(int,int,double,<nulltype>,java.util.ArrayList<java.awt.Color>,java.awt.Color,ja
va.awt.Color,java.awt.Font,java.awt.Font,java.awt.Graphics2D)
                        game.Render(640, 480, 0.0, null, colors, bgColor, textColor,
                            ^
Note: CLViewer.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Viewer.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors

E:\svn\planet_wars\viz>

Original comment by h6.msan...@gmail.com on 6 Nov 2010 at 8:29

@GoogleCodeExporter
Copy link
Author

You are correct.  Please use the version of RenderMap from this branch:  
http://code.google.com/p/ai-contest/source/browse/branches/java-fixes/planet_war
s/viz/RenderMap.java

It will (read: might) get merged eventually.

Original comment by Euphora...@gmail.com on 7 Nov 2010 at 2:54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant