Hi Jean-Pierre, nice to see that Topcased is used for INSA courses ☺
You can submit your bugs and feature requests here: https://gforge.enseeiht.fr/tracker/?group_id=52 We use these trackers for all Topcased sub-projects. You will need a GForge account to submit your reports and patches (from here: https://gforge.enseeiht.fr/account/register.php). Yours, --- Pierre From: [email protected] [mailto:[email protected]] On Behalf Of Topcased user list where issues are discussed Sent: Sunday, January 02, 2011 10:35 AM To: topcased-users Subject: [Topcased-users] uml2java patches Hi, It seems that the bug and patches trackers at http://gforge.enseeiht.fr/projects/uml2java don't work. I posted a bug declaration 10 days ago, and comming back today, I don't see anything anymore. I switched from Netbeans to Eclipse + Topcased for my UML courses in last septembre because Oracle don't support the UML Netbeans plugin anymore. I find Topcased very fine but the UML to Java translation has many bugs that are difficult to deal with, specially for teaching. I spent some time for patching during the last days, but where can I submit them ? Here are the 2 first ones. Bug#1 There is a bug in the computation of the log path for the Java generation. For a model file "mymodel.uml" and a target directory "/target", the computed path is "/targetmymodel.log.txt" insteed of "/target/mymodel.log.txt". Patch (Java2Uml.logpath.Patch.txt) Add the missing "/" in org.topcased.uml2java.launcher::org/topcased/uml2java/GenJava.java Bug#2 a- The right clic menu on the .uml model file don't launch the topcased uml2java.mt template, but the java.mnt Acceleo one. b- The generation parameters (properties) from the model preferences are not read when the topcased uml2java.mt template is used directly in a user chain or from an Acceleo reflexive editor (useful for accessing model elements and generating only a part of a model). Patches (Uml2JavaLauching-generatorPatch.txt and Uml2JavaLauching-launcherPatch.txt) For part a 1- In org.topcased.uml2java.generator::/Acceleo : introduce a new default chain. 2- In org.topcased.uml2java.launcher::/src/org/topcased/uml2java/GenJava.java : replace the chainPath "org.acceleo.module.pim.uml21.gen.java/chain/java.chain") by "org.topcased.uml2java.generator/Acceleo/default.chain". For part b 1- In org.topcased.uml2java.generator::/src/org/topcased/uml2java/utilities/Configuration.java : add a method setConfigurationFile to be called from the uml2java.mt template file for giving the path of the model file. 2_ In org.topcased.uml2java.generator::/Acceleo/uml2java.mt introduce at the end of this template a new script setConfigurationParameters to be triggered at the beginning of the model parsing (reading the root "Model" node), that call the new Configuration.setConfigurationFile method. Jean-Pierre PECUCHET INSA Rouen This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message. The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free. _______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
