Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Open this file, and replace the string com.pentaho.security.acls.voter.PentahoBasicAclVoter with com.pentaho.security.acls.voter.PentahoAllowAllAclVoter.

5. Add vmarg to Eclipse Run Configuration

The last change is to add a special vm argument to your run configuration for the JUnit test, that will tell the engine to use SimpleJNDI classes instead of looking for a web container's JNDI implementation.

In the Eclipse run configuration, add the following vm argument:

-DinContainer=false

That should be it! You can now run your JUnit test case from the run configuration you created in the last step. If you run into any other gotchas concerning this exercise, please post to our BI Server forum, or update the doc here.