apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amberarrow <...@git.apache.org>
Subject [GitHub] incubator-apex-core pull request: Add doc section on running unit ...
Date Wed, 06 Apr 2016 19:21:47 GMT
Github user amberarrow commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/297#discussion_r58765782
  
    --- Diff: docs/apex_development_setup.md ---
    @@ -94,6 +94,42 @@ 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.
    +
    --- End diff --
    
    Yes, I tried downloading master.zip, unpacking and setting the environment variable locally
within the IDE as well as on the console on Windows 10.
    
    Describing how to set the environment variable globally is different in different versions
of Windows and covering all variants would introduce too much verbiage into the document.
There are tons of web pages that show how to do it, I just picked one.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message