build.xml is not portable
Opened this issue · 0 comments
GoogleCodeExporter commented
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: