Hi everybody! This is my first message so I introduce myself: I'm Mattew, I'm from Italy and I'm a junior java programmer.
I'm new to ArgoUML, and I'm trying to automatically generate an XMI file from .java files using ArgoUML from command line. These are the operations that I would do with the ArgoUML gui and that I have to do using command line: 1) import .java files from a directory (reverse engineering from source to UML diagrams): File -> Import sources 2) go to "untitledModel_classes" diagram: View -> Go to diagram 3) export .xmi file: File -> Export .xmi With command line I'm able to make step 1 and 2 (it only works without the -batch command), but not 3. I'm using this command: java -jar argouml.jar -command "org.argouml.uml.ui.ActionImportFromSources=Java:/home/me/workspace/src" -command "org.argouml.ui.cmd.ActionGotoDiagram=untitledModel_classes" Unfortunately "ActionExportXMI" doesen't implements CommandLineInterface so I cannot run it from command line. I would like to implement this function but I'm not a skilled java programmer. I would like to know if the only thing I have to do is to implement the doCommand method in ActionExportXMI class or if there is something else to do in order to get this works. Can anyone give me some advise please? Sorry for my english and thank you, Mat ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2698748 To unsubscribe from this discussion, e-mail: [[email protected]]. To be allowed to post to the list contact the mailing list moderator, email: [[email protected]]
