X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=src%2FApplication.vala;h=9ba9057738e4b714c3983ddeda544220851fe4ef;hb=36af483a08714fc373db0da739b92379d02cfd20;hp=340a70dbc6b63b3ea779cff75334e9d178950ced;hpb=fcf293ff670a0220f1f02442228bf41e01302ebb;p=roobuilder diff --git a/src/Application.vala b/src/Application.vala index 340a70dbc..9ba905773 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -319,7 +319,21 @@ GLib.error("need a project %s, to use --drop-list",BuilderApplication.opt_compile_project); } if (cur_project.xtype != "Gtk") { - GLib.error("need a Gtk project %s, to use --drop-list",BuilderApplication.opt_compile_project); + var rp = (Palete.Roo) cur_project.palete; + print("\n\nDropList:\n%s", geeArrayToString(rp.getDropList(BuilderApplication.opt_drop_list))); + print("\n\nChildList:\n%s", geeArrayToString(rp.getChildList(BuilderApplication.opt_drop_list, false))); + print("\n\nChildList \n(with props): %s", geeArrayToString(rp.getChildList(BuilderApplication.opt_drop_list, true))); + + + print("\n\nPropsList: %s", this.girArrayToString(rp.getPropertiesFor( BuilderApplication.opt_drop_list, JsRender.NodePropType.PROP))); + print("\n\nSignalList: %s", this.girArrayToString(rp.getPropertiesFor( BuilderApplication.opt_drop_list, JsRender.NodePropType.LISTENER))); + + // ctor. + print("\n\nCtor Values: %s", rp.fqnToNode(BuilderApplication.opt_drop_list).toJsonString()); + GLib.Process.exit(Posix.EXIT_SUCCESS); + + + } var p = (Palete.Gtk) cur_project.palete;