StartOrientDb() public static method

public static StartOrientDb ( string dbDir, string javaDir ) : void
dbDir string
javaDir string
return void
コード例 #1
0
        public static void Setup(TestContext context)
        {
            // orientDbDir needs to point to the path of an OrientDB installation (pointing to the folder that contains the bin, lib, config sub folders)
            var orientDBDir = Path.GetFullPath(Path.Combine(Environment.CurrentDirectory, @"..\..\..\..\..\..\orient.server"));
            // jreDir needs to point to a JRE (or JDK)
            var jreDir = @"C:\Program Files\Java\jre7";

            DbRunner.StartOrientDb(orientDBDir, jreDir);
        }
コード例 #2
0
        public static void Setup()
        {
            // orientDbDir needs to point to the path of an OrientDB installation (pointing to the folder that contains the bin, lib, config sub folders)
            var orientDBDir = Path.GetFullPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, _orientServerDirectory));
            //var orientDBDir = @"C:/lang/orientdb-enterprise-2.0.3";
            // jreDir needs to point to a JRE (or JDK)
            var jreDir = @"C:\Program Files\Java\jre7";

            DbRunner.StartOrientDb(orientDBDir, jreDir);
        }