The build.xml has a test and a build target. The test target obviously depends on the build target.
How can I run the test target on
No, you can't skip it without modifying the build file.
Here is what I do in my projects to solve this issue. For every public target I will create a private target with "do-" in front of it. The private target has no dependency, and the public target has the "do-" target as a dependency.
For example: