]
Edson Tirelli reassigned DROOLS-1712:
-------------------------------------
Assignee: Toni Rikkola (was: Edson Tirelli)
Disable Examples in KIE Workbench does not work
-----------------------------------------------
Key: DROOLS-1712
URL:
https://issues.jboss.org/browse/DROOLS-1712
Project: Drools
Issue Type: Bug
Affects Versions: 7.2.0.Final
Environment: Tomcat 8.5.20 - jdk 8
Reporter: Alberto Flores
Assignee: Toni Rikkola
Priority: Minor
Per the documentation, to disable the examples that come with the KIE workbench
installation can be disabled using the flags {{-Dorg.kie.example=false}} and
{{-Dorg.kie.demo=false}}. I tried this in my local Tomcat installation and I still had the
examples in the deployed war.
The following is a sample of my setenv.sh in tomcat:
{noformat}
CATALINA_OPTS="-Xmx512M \
-Djava.security.auth.login.config=$CATALINA_HOME/webapps/kie-drools-wb/WEB-INF/classes/login.config
\
-Dorg.jboss.logging.provider=jdk \
-Dorg.uberfire.metadata.index.dir=$CATALINA_HOME/conf/workbench \
-Dorg.uberfire.nio.git.dir=$CATALINA_HOME/conf/workbench \
-Dorg.kie.example=false \
-Dorg.kie.demo=false"
{noformat}