1221442 / marioai

Automatically exported from code.google.com/p/marioai
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

build.xml is not portable #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. check out the source
2. run ant

What is the expected output? 
The project builds.

What do you see instead?
The libraries in lib/ aren't included, and the testng lib cannot be found, so 
the compiler is unable to resolve a bunch of symbols. In addition, the 
build.properties file contains machine-specific absolute paths.

What version or revision from SVN of the product are you using? On what
operating system?
trunk r@767

Please provide any additional information below.
Attached is a patch that provides a working, hand-written build file. It 
includes tasks for compiling, running the human keyboard play target, and 
testing.

One thing that is not in the patch file is that testng-6.3.jar needs to be 
downloaded and placed in the lib/ directory. It can be downloaded here: 
http://testng.org/testng-6.3.zip

This build file is easy to maintain and does not need to be updated when new 
source files, tests, or libraries are added to the project. Tests are found 
anywhere in the source, and all jars placed in the lib directory are 
automatically added to the classpath.

Original issue reported on code.google.com by ric...@gmail.com on 30 Oct 2011 at 10:46

Attachments: