Github user tweise commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/297#discussion_r58737026
  
    --- Diff: docs/apex_development_setup.md ---
    @@ -94,6 +94,38 @@ When the run completes successfully, you should see a 
new directory named `myape
     
     The build should create the application package file 
`myapexapp/target/myapexapp-1.0-SNAPSHOT.apa`. This application package can 
then be used to launch example application via **dtCli**, or other visual 
management tools.  When running, this application will generate a stream of 
random numbers and print them out, each prefixed by the string `hello world:`.
     
    +Running Unit Tests
    +----
    +To run unit tests on Linux or OSX, simply run the usual maven command, for 
example: `mvn test`.
    +
    +On Windows, an additional file, `winutils.exe`, is required; download it 
from
    +<https://github.com/srccodes/hadoop-common-2.2.0-bin/archive/master.zip>
    +and unpack the archive to, say, `C:\hadoop`; this file should be present 
under
    +`hadoop-common-2.2.0-bin-master\bin` within it.
    +
    +You can now run unit tests from the command line by specifying the maven
    +property `hadoop.home.dir`, for example:
    +
    +    mvn 
-Dhadoop.home.dir=c:\hadoop\Software\hadoop-common-2.2.0-bin-master test
    +
    +or set the environment variable separately:
    +
    +    set HADOOP_HOME=c:\hadoop\Software\hadoop-common-2.2.0-bin-master
    +    mvn test
    +
    +To run unit tests from within your IDE, set the `HADOOP_HOME` environment
    --- End diff --
    
    Should mention that first as it covers command line as well. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to