I just tried using the plugin to launch /pivot-trunk/demos/src/org/apache/pivot/demos/roweditor/row_editor_demo.bxml
but it fails because it doesn't know what resource file(s) to use. An error occurred at line number 23 in file /E:/Workspaces/pivot-trunk/pivot-trunk/bin/org/apache/pivot/demos/roweditor/row_editor_demo.bxml: java.lang.IllegalStateException: Resource bundle is undefined. at org.apache.pivot.beans.BXMLSerializer.processAttributes(BXMLSerializer.java:1014) at org.apache.pivot.beans.BXMLSerializer.processStartElement(BXMLSerializer.java:795) at org.apache.pivot.beans.BXMLSerializer.readObject(BXMLSerializer.java:431) at org.apache.pivot.beans.BXMLSerializer.readObject(BXMLSerializer.java:610) at org.apache.pivot.wtk.ScriptApplication.startup(ScriptApplication.java:74) at org.apache.pivot.wtk.DesktopApplicationContext.main(DesktopApplicationContext.java:616) 1) Firstly, should the plugin be tracked through JIRA or is it an unsupported tool? If so, does it need its own value for the JIRA 'Component/s' list (such as 'eclipse' or 'eclipse-plugin') 2) Is it worth adding in some logic to the plugin that attempts to supply the --resources argument to org.apache.pivot.wtk.ScriptApplication? This could be based on some simple rules & file naming conventions --src=/org/apache/pivot/demos/roweditor/row_editor_demo.bxml becomes --resources=org/apache/pivot/demos/roweditor/RowEditorDemo or merely a dumb/brute force scan of *.json files (without the locale suffixes) might suffice Other options might be - to display a dialog and allow the user to browse the filesystem to add resource files if the bxml file is localized. ScriptApplication could catch the exception and then show the dialog. - handle the missing file(s) by just showing the "%message" string from the BXML file. Regards, Chris
