Hi, there is also a command for saving all diagrams of the project, it's the org.argouml.uml.ui.ActionSaveAllGraphics command. Also have a look here: http://www.argouml-users.net/forum/viewtopic.php?f=5&t=99
Thomas -------- Original-Nachricht -------- > Datum: Sat, 22 Aug 2009 08:14:48 -0500 > Von: Jake Stone <[email protected]> > An: [email protected] > Betreff: [argouml-users] Using Command-Line to Generate SVGs > 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=2386291 > > To unsubscribe from this discussion, e-mail: > [[email protected]]. -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=449&dsMessageId=2386558 To unsubscribe from this discussion, e-mail: [[email protected]].
