Posted
about 11 years
ago
by
Andrew Forward
I updated the DeveloperSetUp page, and added a specific page for help with src-gen-update issues (it is barebones right now, as issues are reported, this page will be updated). https://code.google.com/p/umple/wiki/DevelopmentSetUp https://code.google.com/p/umple/wiki/WhatHappenedToSrcGenUmple
|
Posted
about 11 years
ago
by
mgarz042
Hi, Patch for issue 501 (Default attributes method conflict) has been applied, tested and deployed. Congratulations Chan! Miguel G.
|
Posted
about 11 years
ago
by
Andrew Forward
Here is the (somewhat stripped down) view of the ConstraintVariable class ConstraintVariable{ type;//NOT USED: One order of parsing list each type of Umple Variable (Including the Constrained Variable). value; 1 -> 0..1 Constraint subConstraint; boolean isAttribute = {!"SYNTAX".equals(type)&&!"OPE
|
Posted
about 11 years
ago
by
Andrew Forward
Your code is live on http://try.umple.org class Student { Float gpa = 4.0; } patch-TylerMcConnell-460-FloatGenerationAddsAnFTestStillFails [image: Inline image 1] -- aforward
|
Posted
about 11 years
ago
by
Andrew Forward
http://www.infoq.com/presentations/Null-References-The-Billion-Dollar-Mistake-Tony-Hoare -- aforward
|
Posted
about 11 years
ago
by
Andrew Forward
Miguel and I ran into a very easy to fix, but difficult to identify issue because our code is eating stack traces For example, in the code below boolean foundGenerator; try { for (GenerateTarget target : getGenerates()) { CodeGenerator generator = newGenerator(target.getLanguage()); generator.set
|
Posted
about 11 years
ago
by
tylerjdmcconnell
I've attached my patch for issue 460, but the test FloatGenerationAddsAnF in the class cruise.umple.implementation.java.JavaClassTemplateTest is still failing because of some extra whitespace in the generated file. I'm not sure of the root cause. Andrew, if you could take a look at this it would be
|
Posted
about 11 years
ago
by
Andrew Forward
Another reminder, be sure that when you return to Umple development, you want to start with a fresh environment. I suggest svn revert -R on all src-gen-umple directories, otherwise you will conflict with the recent change to remove those generated files. cd ./umple # root find . -name src-gen-umpl
|
Posted
about 11 years
ago
by
Andrew Forward
For new repositories -- because the generated code is not there, we have a small chicken and egg issue, so I created a "first-build" task that will use the ./lib/umple.jar to bootstrap the umple system so we can build the *next* version from the previous. cd ./build ant -Dmyenv=local -f build.umple
|
Posted
about 11 years
ago
by
Andrew Forward
http://velocity.apache.org/ I am suggesting Velcoity based on a very positive comments about the technology during a discussion with a TripAdvisor director last week. As a proof of concept, I am considering using it to add support for the USE language, and if all goes well, then slowly migrate ou
|