Importing Java Sources
Robin Rawson-Tetley <[email protected]>
| Newsgroups | gmane.linux.umbrello.user |
|---|---|
| Message-ID | <[email protected]> |
Not sure if this is the right place for this but... I've been using Umbrello for a while and really like it, but I really needed to import a *lot* of Java source into it to help me build models from an existing codebase. I couldn't find any tools that did it so I knocked up a quick (well, a day) command line utility to convert Java sources to an XMI document. I've attached it to this mail as tar.gz - it's a Java app with a build script for GCJ/Javac and a man page. It was enough for my purposes and hopefully others might find it useful. I'm not sure whether the code itself is useful to you, it uses a string parser to read and interpret the source (rather than reflection and requiring java) and it could be easily translated to C++ or any language if desired. Anyway, hope someone finds this useful. I think it offers a decent stopgap until Umbrello supports Java sources internally. Thanks for a great tool. Cheers, Rob P.S. I'm not subscribed to the list so if you want to reply, reply directly to me. -- ===================================================== Robin Rawson-Tetley ([email protected]) Jabber: [email protected] Yahoo: bobintetley MSN: bobintetley Home: http://www.rawsontetley.org Animal Shelter Manager (http://sheltermanager.sourceforge.net) SwingWT (http://swingwt.sourceforge.net) I prefer encrypted email. Download my public key from http://www.rawsontetley.org/rrtpk.asc
java2xmi.tar.gz
(application/octet-stream, 32.3 KB) - not displayed
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCC2Xi3cJg3V5whoURAhkEAJ98dk3Dqo5vumRB8RNh2OuscJKm+gCgvmwb Y9SJ6KRzYxuXRHejIldcsvs= =TS1P -----END PGP SIGNATURE-----