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

    https://github.com/apache/accumulo-examples/pull/5#discussion_r102531924
  
    --- Diff: bin/runex ---
    @@ -22,4 +22,4 @@ if command -v accumulo > /dev/null 2>&1 ; then
       av_arg="-Daccumulo.version=`accumulo version`"
     fi
     
    -mvn -q exec:java 
-Dexec.mainClass="org.apache.accumulo.examples.$main_class" $av_arg 
-Dexec.args="$main_args"
    +mvn -q exec:java 
-Dexec.mainClass="org.apache.accumulo.examples.$main_class" $av_arg 
-Dexec.args="$main_args" 
-Dlog4j.configuration=file:"./src/main/resources/log4j.properties"
    --- End diff --
    
    Not sure this part is necessary, since the default is to use the 
`log4j.properties` from the class path. Putting the file in 
`src/main/resources` should be sufficient to get it on the classpath.
    
    The above will also fail if the `runex` command is not executed from the 
root of the project as `bin/runex`. From any other directory, the relative path 
won't work.


---
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