Hello! I am running an SVN repository over Apache on Windows, and have several users who use ArgoUML for their design needs. I have an entire repository set aside for their UML where they only commit .zargo files. I would like to create a commit script that takes changed files and generates SVG vector images to a separate folder, overwriting any SVG already there. This would make it easy to host up-to-date diagrams of their UML work!
I can handle assembling the list of changed files; but I've never used ArgoUML before. There's an excellent command-line example in the documentation that generates a PNG image for a single diagram: java -jar argouml.jar -batch -command "org.argouml.uml.ui.ActionOpenProject=c:\Documents and Settings\Michiel\My Documents\test.zargo" -command org.argouml.ui.cmd.ActionGotoDiagram=A -command "org.argouml.uml.ui.ActionSaveGraphics=c:\Documents and Settings\Michiel\My Documents\test.PNG" However, I don't know what diagram(s) my users put in their projects, and presumably you can place many such diagrams in a single zargo project. So essentially I need to create: GenerateSVGs.bat (or other language) %1 %2 %1 = input .zargo file %2 = output folder to place SVG file(s) in At the moment, I have Java/Perl/PHP support on my server, so I wouldn't be straight-jacketed into batch files, though if I really need another scripting language I could probably install it. Does anybody have any bright ideas? Thanks in advance for your help! ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=449&dsMessageId=2386290 To unsubscribe from this discussion, e-mail: [[email protected]].
