Test.GtkWriter.vala
[app.Builder.js] / Test.GtkWriter.vala
1 /**
2  * Test the writer code...
3
4
5 */
6
7 public static int main () {
8
9         GLib.Log.set_always_fatal(LogLevelFlags.LEVEL_ERROR ,LogLevelFlags.LEVEL_CRITICAL); 
10         var proj = new Project.Gtk( "/home/alan/gitlive/app.Builder.js/Builder4");
11         proj.scanDirs();
12         print(proj.toJSON(true));
13         print("\ndone\n");
14         var tf = proj.files.get("/home/alan/gitlive/app.Builder.js/Builder4/Editor.bjs");
15         tf.loadItems();
16         print(tf.toJsonString());
17         
18         //var tf = proj.files['/home/alan/gitlive/app.Builder/Builder4/Editor.bjs'];
19         //tf.loadItems(function() {
20         //      print(JSON.stringify(tf,null,4));
21         //      
22                 
23         //}, true); 
24
25         return 0;
26 }