Ivan Liao
Ivan Liao

Reputation: 23

How to set flags like --localInputDir in Myrrix war file?

After reading the docs of Myrrix, I want to know how to set flags like:

java -jar myrrix-serving-x.y.jar --localInputDir /path/to/working/dir --port 8080

when deploying as a .war file. I wonder how to set these -- flags at Tomcat startup?

Upvotes: 2

Views: 76

Answers (1)

Sean Owen
Sean Owen

Reputation: 66896

Edit the web.xml file found in the .war file that is generated. It looks like:

https://code.google.com/p/myrrix-recommender/source/browse/trunk/web-common/docs/WEB-INF/web.xml

This is how equivalent arguments are set in a WAR context.

Upvotes: 2

Related Questions