code_junkie

How to automate the generation of HTML output in Enterprise Architect

Nov 11th, 2011
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. class EADump
  2. {
  3. public static void main(String[] args)
  4. {
  5. org.sparx.Repository r = new org.sparx.Repository();
  6.  
  7. System.out.println("Repository: " + args[0]);
  8. System.out.println("Package: " + args[1]);
  9. System.out.println("Output: " + args[2]);
  10. r.OpenFile(args[0]);
  11. r.GetProjectInterface().RunHTMLReport(args[1], args[2], "GIF", "<default>", ".html");
  12. r.CloseFile();
  13. }
  14. }
Add Comment
Please, Sign In to add comment