Bug 95924 - Add back the old {Cpp,Java}Writer
Summary: Add back the old {Cpp,Java}Writer
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Oliver Kellogg
URL:
Keywords:
: 72619 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-28 14:07 UTC by Oliver Kellogg
Modified: 2004-12-28 19:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Kellogg 2004-12-28 14:07:22 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

This is an offspring of bug 72619, "File size suddenly gets huge".
The current C++ and Java generators store an XML enriched  copy of the source code in the XMI file and this leads to huge increases in file size even for modestly sized models.

Brian Thomas, author of the new generators, suggests optimizing the XML produced for the code fragments.
I propose a simpler approach: Give the user an option to restore the old C++ and Java code generators.
Comment 1 Oliver Kellogg 2004-12-28 19:46:20 UTC
CVS commit by okellogg: 

Add back the old {Cpp,Java}Writer.
A new option in the Umbrello general configuration controls whether the
old or new generators are used.
BUG:95924


  M +1 -0      ChangeLog   1.52
  M +1 -1      umbrello/optionstate.h   1.8
  M +2 -0      umbrello/uml.cpp   1.130
  M +2 -1      umbrello/codegenerators/Makefile.am   1.34
  M +13 -3     umbrello/codegenerators/codegenfactory.cpp   1.9
  M +176 -157  umbrello/codegenerators/cppwriter.cpp   1.20
  M +39 -26    umbrello/codegenerators/cppwriter.h   1.8
  M +94 -77    umbrello/codegenerators/javawriter.cpp   1.21
  M +27 -16    umbrello/codegenerators/javawriter.h   1.11
  M +7 -6      umbrello/codegenerators/simplecodegenerator.cpp   1.18
  M +2 -1      umbrello/codegenerators/simplecodegenerator.h   1.6
  M +6 -1      umbrello/dialogs/settingsdlg.cpp   1.37
  M +1 -0      umbrello/dialogs/settingsdlg.h   1.21



Comment 2 Oliver Kellogg 2004-12-28 19:48:14 UTC
*** Bug 72619 has been marked as a duplicate of this bug. ***