You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by se...@apache.org on 2020/05/27 07:50:54 UTC
[incubator-nlpcraft] branch NLPCRAFT-62 created (now c96be34)
This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a change to branch NLPCRAFT-62
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git.
at c96be34 H2 sql server data files location fixed. (examples)
This branch includes the following new commits:
new c96be34 H2 sql server data files location fixed. (examples)
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[incubator-nlpcraft] 01/01: H2 sql server data files location
fixed. (examples)
Posted by se...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a commit to branch NLPCRAFT-62
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
commit c96be3413b6f0c540b43c6d16351e20b0a2bde05
Author: Sergey Kamov <se...@apache.org>
AuthorDate: Wed May 27 10:50:48 2020 +0300
H2 sql server data files location fixed. (examples)
---
src/main/scala/org/apache/nlpcraft/examples/sql/db/SqlServer.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/scala/org/apache/nlpcraft/examples/sql/db/SqlServer.scala b/src/main/scala/org/apache/nlpcraft/examples/sql/db/SqlServer.scala
index 4640ed1..a6dd4d4 100644
--- a/src/main/scala/org/apache/nlpcraft/examples/sql/db/SqlServer.scala
+++ b/src/main/scala/org/apache/nlpcraft/examples/sql/db/SqlServer.scala
@@ -29,7 +29,7 @@ import org.h2.tools.Server
*/
object SqlServer extends LazyLogging {
private final val H2_PORT: Int = 9092
- private final val H2_BASEDIR = "~/nlpcraft-examples/h2"
+ private final val H2_BASEDIR = new File(System.getProperty("user.home"), "nlpcraft-examples/h2").getAbsolutePath
private final val SRV_PARAMS = Seq(
"-baseDir", H2_BASEDIR,