allow gridworks to load extensions also from the same place where data is stored (in the 'extension' subfolder')
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1258 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
089105a997
commit
4af3a4cbf5
Binary file not shown.
Binary file not shown.
@ -239,6 +239,7 @@ class GridworksServer extends Server {
|
|||||||
ServletHolder servlet = context.getServletHandler().getServlet("gridworks");
|
ServletHolder servlet = context.getServletHandler().getServlet("gridworks");
|
||||||
if (servlet != null) {
|
if (servlet != null) {
|
||||||
servlet.setInitParameter("gridworks.data", getDataDir());
|
servlet.setInitParameter("gridworks.data", getDataDir());
|
||||||
|
servlet.setInitParameter("butterfly.modules.path", getDataDir() + "/extensions");
|
||||||
servlet.setInitOrder(1);
|
servlet.setInitOrder(1);
|
||||||
servlet.doStart();
|
servlet.doStart();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user