Hello,

The parameters are regular Java environment properties; that can be set from the CLI with the -D switch.

You'll want to use "org.guvnor.m2repo.dir" to change the default location of the Maven repository.

We don't use a $WORKING_DIRECTORY parameter. Reference in the documentation to "working directory" means whatever your container (AS, Tomcat etc) uses. AS7 puts things in /bin for example.

As for Tomcat specifically; I'm no expert but found this: http://www.liferaysavvy.com/2012/09/setting-environment-variables-and.html which gives a potential (untested) solution. Tomcat's documentation might give more information.

With kind regards,

Mike


On 8 November 2013 10:05, xat <xatteg@gmail.com> wrote:
Hello everyone,

How can I set the $WORKING_DIRECTORY for the drools workbench 6, so it will
store repository there?

Also documentation mentions that parameters like org.uberfire.nio.git.dir
can be set in
$JBOSS_HOME/domain/configuration/host.xml
<system-properties>
  <property name="org.uberfire.nio.git.dir" value="..." boot-time="false"/>
</system-properties>

How do I have to set them in tomcat7?

BR,
Roman



--
View this message in context: http://drools.46999.n3.nabble.com/Set-WORKING-DIRECTORY-for-drools-workbench-6-tp4026687.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users