...
Code Block |
---|
$ cd sqoop $ ant jar-all |
You can use the clean
target to delete previously built files from the workspace and run jar-all
again to do a fresh build.
To see a list of all available targets that are available in the build type the following command:
...
Once these definitions are generated, you can import them in Eclipse as an existing project.
Running Tests
Running unit tests
Sqoop source code contains many unit tests that exercise its functionality. These tests can be run simply by using the following command:
Code Block |
---|
ant test
|
Running third-party tests
Third-party tests are end-to-end integration tests that exercise the basic Sqoop functionality against third-party systems like relational databases. You should run these tests in order to rule out regression when testing any changes to the core system. To set this