a3994288 edited this page Feb 17, 2017 · 31 revisions
Clone this wiki locally

Each UCOSP participant is asked to log all the steps they take as they make progress through the semester. This includes difficulties they faced (getting set up, understanding how to model in Umple, using UmpleOnline, code that is difficult to figure out, and development tools that are hard to figure out, or don't seem to work properly). The more log entries added the more we can better get a grip on the usability issues with Umple, and the more we can help future new contributors come up to speed.

Please record entries in reverse chronological order

Log Entries



  • Still trying to figure out how to edit the diagram using graphical tools. When I click a tool (like Class/Association...), method Page.togglPageToolItem is called. But I feel hard to understand how to create/drag the item in the canvas. Still need to spend more time reading the code before I can write code.
  • I also realize that when I make change on the graphic, I should be working the following methods to update the text.DiagramEdit.doTextUpdate, Action.updateUmpleTextCallback
  • I found the bug with background focusing is this code in umple_action.js. It set a click listener to focus on jjsPaper, but there is not a blur listener to unfocus it. Should be easy to fix.
  jQuery("#jjsPaper").click(function(){ Action.focusOn(Page.umpleCanvasId(), true);});


  • working on issue #682: the original bug in the issue was fixed. However, because before/after statements do not support methods, it creates some new bugs. I am discussing those issues with Vahdat.
  • discovering how to edit the diagram (class, association) using graphical tools so that I can apply it to JointJS.

4-Feb-2017 To 11-Feb-2017

Not able to make progress due to personal reason, and I will catch up next week.


As discussed with Vahdat, here are the spots I should work on with JointJS:
1. Edit on the graph (like add class, association and etc.)
2. When changes made in the graph, it should also change the code.
3. Editable HTML in the element (like, change the class name, type, attributes name, and etc.)
4. A prettier styling for the elements. (font size, color, and etc.)
5. a small bug to fix: when selecting the background, the focus is grabbed (yellow border), however, when de-selecting, the focus is still there (or I should say the yellow border is still there).
6. highlight the respective code when clicking on the element.
7. state machine (Marc has done the basic functions)


Read comments in issue600 (https://github.com/umple/umple/issues/600)
Read Marc's log (https://github.com/umple/umple/wiki/UCOSPLogMarcdeNiverville)
Read Marc's commits to understand how everything set up. (They're great but not easy to understand :(, might need another few days)


  • fixed bugs of #682 and added tests for it. (we are supposed to add tests for any bug we found & fixed).


20-Jan-2017 - 22-jan-2017 (Sprint)

  • fixed issue #771: the issue was easy to fix, however, I spent hours to figure how the reason of the txt file I created won't parse to HTML properly for a warning message. Here are some spots to check if you have the same issue:

    1. Make sure the @@example has no space after it.
    2. Ensure the file is using Unix line endings
    3. Check the permissions for the two example files you have added.
    4. Try running ant -Dmyenv=local -f build.umple.xml packageDocs

    I eventually got it fixed by creating a new txt file with vim instead of gedit, I believe that was gedit created some issues.

  • working on issue #681 (almost finished),: after investigating, I realize the issue is no longer exist(fixed by some other student), however, there is some related issue, I know how to fix them, and I am just waiting to confirm that my design is correct.
  • chose my term project: using JoiuntJS to make the UI of UML looks better and more powerful in umpleonline. this project requires to know basic umple architectural, and web development skills.

January 15th

My environment is ready and I have picked two issues I am interested in, they are:

Tim commented on the issue(#673) that we should focus on something else instead of issue #673.

Issue #771 was assigned to me by Vahdat, I started to investigate this issue.

The issue(#771) itself is pretty straightforward, and Tim suggested that we should return a warning when we have duplicated method names. I am not sure where to make the change/fix/test so I am reviewing https://github.com/umple/Umple/wiki/Architecture and other documents to have a better understanding of the development process.

January 14th

  • Build&Test: tried the fix that Ahmed Mohamed gave us for the "cruise.umple.cpp.gen" issue. All tests passed except for those are skipped(Vahdat told us not to worry about them) issue #948
  • My environment is all set, and I am ready to read some interesting issues and fix them, I will post some issues I interested in tomorrow.

January 11th

  • Build: ubuntu-14.04.5-desktop-amd64, Oracle VM VirtualBox
    • rvm package by ubuntu is broken, follow this link you will be able to re-install rvm: https://stackoverflow.com/a/9056395/497756
    • to use rvm 2.2, you need to install "rvm install ruby-2.2.6"
    • however, I cannot build by using 2.2, instead, 2.3 works.
    • all build success after reinstall rvm
    • umpleOnline setup successful.
    • When I tried to it in Eclipse(Neon.2 Release(4.6.2)), one error showed in cruise.umple.nebula/src/cruise.umple.core/Generator.java: "The import cruise.umple.cpp.gen cannot be resolved"
    • tried to run the tests in Eclipse, tests failed.

January 6th

  • Reading

    • read logs from former groups of students to have a brief idea of the process
    • read user manual
    • tried some of the examples in umpleOnline
  • Setup: https://github.com/umple/umple/wiki/DevelopmentSetUp

    • Tried to follow the instruction to set up the environment using Ubuntu 16.04.1 LTS, got many errors on Step 1 because of php, rvm.
    • Downgrade the system to Ubuntu 12.04.5 LTS, Step 1 worked fine except for this command: "rvm use 2.2" (unknown ruby interpreter version: 2.2)
    • I ignored the previous error and keep working on step 2. The first two builds were successful, and the build failed when I run "ant -Dmyenv=local":
      error: /home/chang/Documents/umple/build/build.testbed.xml:212: Execute failed: java.io.IOException: Cannot run program "rake" (in directory "/home/chang/Documents/umple/testbed_ruby"): error=2, No such file or directory
    • after searching on the web, I didn't find any useful solution, will update the solution after the teleconference