[Uml-devel] [Bug 69208] java umbrellorc code adjustments
Harald Wallus
wallus at results-hannover.de
Mon Dec 1 05:00:02 UTC 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=69208
------- Additional Comments From wallus at results-hannover.de 2003-12-01 13:59 -------
Testing Umbrello tarball form 031201 on SuS9.0, KDE 3.1.4.
(I also try to add a tar-file with example xmi, but it seems not to work.)
Every Menu item is retranslated from German to English.
rm .kde/share/config/umbrellorc
umbrello statup
0. Setup (Einstellungen)/umbrello UML modeller adjustments/code generation
1. TAB "Common" (Allgemein): change to java, and path to src-Files and heading-file
2. TAB "Language Options": I found there CPP-Options.
3. go back to "Common" (Allgemein): click "Apply".
4. TAB "Language Options": Nothing changes, still CPP-Options !!!!
5. Close the Setup and start again into
6. Setup (Einstellungen)/umbrello UML modeller adjustments/code generation
7. TAB "Language Options": Now I find Java-Options here. Clickoff Accessor methodes, Apply
8. Close setup and start again into the TAB "Language Options": changes are there.
9. On TAB "Common": There was still the default values for src-files and heading-files.
Remark: here files are not choosed , here directories are choosed!!!!!
10. Open the context-menu to choose the directory: The menu was just in the correct path,
set, click "Apply", close Setup and start again; the changes take effect.
Next Step:
11. Open xmi-file. It walli start up.
12. Open a another xmi-file, umbrello crashed:
[New Thread 16384 (LWP 11314)]
0x4129cfd6 in waitpid () from /lib/libpthread.so.0
#0 0x4129cfd6 in waitpid () from /lib/libpthread.so.0
#1 0x4076d010 in KCrash::defaultCrashHandler(int) ()
from /opt/kde3/lib/libkdecore.so.4
#2 0x4129bbb1 in __pthread_sighandler () from /lib/libpthread.so.0
#3 <signal handler called>
#4 0x40b78667 in QPtrVector<QConnectionList>::size() const ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#5 0x40b76ec4 in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () from /usr/lib/qt3/lib/libqt-mt.so.3
#6 0x0813d56e in OwnedCodeBlock::release() ()
#7 0x0813e4e3 in OwnedHierarchicalCodeBlock::release() ()
#8 0x08111569 in CodeGenObjectWithTextBlocks::resetTextBlocks() ()
#9 0x08120e84 in HierarchicalCodeBlock::release() ()
#10 0x08111569 in CodeGenObjectWithTextBlocks::resetTextBlocks() ()
#11 0x08110769 in CodeGenObjectWithTextBlocks::~CodeGenObjectWithTextBlocks()
()
#12 0x08107fd1 in CodeDocument::~CodeDocument() ()
#13 0x080fb1db in ClassifierCodeDocument::~ClassifierCodeDocument() ()
#14 0x0823faf9 in CPPHeaderCodeDocument::~CPPHeaderCodeDocument() ()
#15 0x0823744e in CPPCodeGenerator::~CPPCodeGenerator() ()
#16 0x08153fd1 in UMLDoc::removeCodeGenerator(CodeGenerator*) ()
#17 0x08153d42 in UMLDoc::deleteContents() ()
#18 0x0815318c in UMLDoc::openDocument(KURL const&, char const*) ()
#19 0x0814c86c in UMLApp::slotFileOpen() ()
#20 0x08150dec in UMLApp::qt_invoke(int, QUObject*) ()
#21 0x40b7761b in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x40b773e4 in QObject::activate_signal(int) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x404fd599 in KAction::activated() () from /opt/kde3/lib/libkdeui.so.4
#24 0x404ef33d in KAction::slotActivated() () from /opt/kde3/lib/libkdeui.so.4
#25 0x404fd651 in KAction::qt_invoke(int, QUObject*) ()
from /opt/kde3/lib/libkdeui.so.4
#26 0x40b77538 in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x40b773e4 in QObject::activate_signal(int) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x40ead4ac in QButton::clicked() () from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x40c0785e in QButton::mouseReleaseEvent(QMouseEvent*) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x40bae411 in QWidget::event(QEvent*) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x40b15656 in QApplication::internalNotify(QObject*, QEvent*) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x40b151b8 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x406fa8c9 in KApplication::notify(QObject*, QEvent*) ()
from /opt/kde3/lib/libkdecore.so.4
#34 0x40aa8d1d in QETWidget::translateMouseEvent(_XEvent const*) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x40aa6b3c in QApplication::x11ProcessEvent(_XEvent*) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x40abcd7d in QEventLoop::processEvents(unsigned) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0x40b29900 in QEventLoop::enterLoop() ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0x40b297f6 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#39 0x40b158ef in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#40 0x08134b67 in main ()
New try:
13. Starting umbrello without delete umbrellorc.
14. All my setups are lost!
15. Setup (Einstellungen)/umbrello UML modeller adjustments/code generation
16. TAB "Common" (Allgemein): change to java, and path to src-Files and heading-file
17. Click apply, close Setup and close umbrello.
18. Startup once again umbrello: The change of the deault codegeneration langauges takes effect.
but not the change of directories for src-code and heading-file.
19. Change the path of src-code and heading-file, Click Apply, close setup and umbrello.
If I choose the Menu file/close umbrello. will not close.
I close with the X from the frame border.
20. Start again umbrello: The change of paths of src-code and heading-file has no effect.
21. Start up an xmi-file (simple state-modell, which I will send to you to test
java src-codegeneration): Starts up:
22. I try again to change the path of src-code and heading-file:
After taht click "Apply", "OK" to setup, "close" ("CTRL-W" for the xmi-file) and
Umbrello exits.
23. Start up once again umbrello: the paths has not changed. Try the same story,
Umbrello exist instead of closing the xmi-file.
New try, now I don't want to change the src-path for codegeneration anymore:
24. Startup umbrello, open xmi-file, start the code-generation wizzard annd generate
the src-code: The package-token ist set after all coding instead at the beginning of each file!!
25. Edit with Ocde Viewer same methods body.
26. I have edit the standard heading.java-file. But it takes no effect to each new generated file,
I have deleted the old ones before.???? Thats very astonishment.
27. The same with the source code, which I added by Code Viewer. Some changes do not appear.
More information about the umbrello-devel
mailing list