# IGNITE-330 Update README.txt.

Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/a0dcb7ae
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/a0dcb7ae
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/a0dcb7ae

Branch: refs/heads/ignite-45-gridcache
Commit: a0dcb7ae51005b07419a5e608648d26ca12e2697
Parents: e10fb96
Author: AKuznetsov <akuznet...@gridgain.com>
Authored: Mon Mar 23 19:11:06 2015 +0700
Committer: AKuznetsov <akuznet...@gridgain.com>
Committed: Mon Mar 23 19:11:06 2015 +0700

----------------------------------------------------------------------
 examples/schema-import/README.txt               | 21 +++++++++++++++-----
 .../ignite/schema/ui/SchemaImportApp.java       |  4 ----
 2 files changed, 16 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a0dcb7ae/examples/schema-import/README.txt
----------------------------------------------------------------------
diff --git a/examples/schema-import/README.txt 
b/examples/schema-import/README.txt
index 24cc4d0..15d931d 100644
--- a/examples/schema-import/README.txt
+++ b/examples/schema-import/README.txt
@@ -12,20 +12,31 @@ and Java domain model POJOs.
 
 Schema Import Utility Demo
 ==========================
-
 1. Start H2 database: "examples/schema-import/bin/h2-server.sh"
-   H2 database will start and H2 Console will be opened in your default 
browser.
+   H2 server will start and H2 Console will be opened in your default browser.
 
-2. Connect to H2 database with all default settings.
+2. Connect to H2 database with following settings:
+   Select "Generic H2 (Server)" settings.
+   Enter JDBC URL: 
"jdbc:h2:tcp://localhost/IGNITE_PATH/examples/schema-import/demo".
+   Note, you need to replace "IGNITE_PATH" with full path to folder where 
Ignite was installed.
+   Click "Connect".
 
 3. Paste content of "examples/schema-import/bin/db-init.sql" into H2 Console 
and execute.
 
 4. Start Schema Import utility: "bin/ignite-schema-import.sh 
examples/schema-import/bin/schema-import.properties"
    Schema Utility will start with predefined settings for this demo.
-   Click "Next", "Generate" and answer "Yes" to override warning.
+   Click "Next", "Generate" and answer "Yes" to all override warnings.
 
 5. Import "examples/schema-import/pom.xml" in your Java IDE.
-   Run "Demo.java" example.
+
+6. Set datasource in `CacheConfig.store()` method to:
+
+   DataSource dataSource =
+    
org.h2.jdbcx.JdbcConnectionPool.create("jdbc:h2:tcp://localhost/IGNITE_PATH/examples/schema-import/demo",
 "sa", "");
+
+   Note, you need to replace "IGNITE_PATH" with full path to folder where 
Ignite was installed.
+
+7. Run "Demo.java" example.
 
 For more information on how to get started with Apache Ignite Schema Import 
Utility please visit:
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a0dcb7ae/modules/schema-import/src/main/java/org/apache/ignite/schema/ui/SchemaImportApp.java
----------------------------------------------------------------------
diff --git 
a/modules/schema-import/src/main/java/org/apache/ignite/schema/ui/SchemaImportApp.java
 
b/modules/schema-import/src/main/java/org/apache/ignite/schema/ui/SchemaImportApp.java
index 306363c..8db54ad 100644
--- 
a/modules/schema-import/src/main/java/org/apache/ignite/schema/ui/SchemaImportApp.java
+++ 
b/modules/schema-import/src/main/java/org/apache/ignite/schema/ui/SchemaImportApp.java
@@ -26,9 +26,6 @@ import javafx.geometry.*;
 import javafx.geometry.Insets;
 import javafx.scene.*;
 import javafx.scene.control.*;
-import javafx.scene.control.Button;
-import javafx.scene.control.Label;
-import javafx.scene.control.TextField;
 import javafx.scene.layout.*;
 import javafx.stage.*;
 import javafx.util.*;
@@ -38,7 +35,6 @@ import org.apache.ignite.schema.generator.*;
 import org.apache.ignite.schema.model.*;
 import org.apache.ignite.schema.parser.*;
 
-import java.awt.*;
 import java.io.*;
 import java.net.*;
 import java.sql.*;

Reply via email to