Topcased user list where issues are discussed a écrit :
Hi Gonzague,
I did not knew about the Acceleo chain, as I did use the Topcased
integration. I did make a chain (as specified) and the property file and
it did work, so thanks for that.
  
Great!
I also heard that it may have a specific UI in the Topcased integration to specify those properties. I don't know more about it and if it has been implemented for the UML2Java generator. Maybe you can have a look for this.
Another problem that I have is the generation of the "throws Exception. I
did specify in the UML operation definition: Raised Exception: <Primitive
Type> Exception, so I did hope, that when I generate the code, that the
throwing of the exception would work as well, unfortunately I does not
generate it. Can you help me on that matter?
  
This feature is not implemented in the generator yet.
If you develop it by yourself, feel free to contribute it to the generator, I think many people would be interested.
Cheers,
Orlin

  
Hi Orlin,

As mentionned in the Acceleo wiki :
http://www.acceleo.org/wiki/index.php/UML_2.1_to_Java#Optional_parameters,
the UML2Java generator can be configured with several properties.
You can deactivate the date generation in header file with the following
property :
gen.comment.date=false

Normally you should be able to redefine those properties inside a
.properties file located next to the generator chain file. But I don't
know what will be the behavior of properties redefinition context of
Acceleo within the Topcased integration as it provides a specific UI
command to launch the generation instead of  using a chain file. Anyway
you can always recreate your own chain file to launch the generator the
standard way instead of the Topcased action, as explained in the wiki.

Hope this will help.

Best regards,
Gonzague Reydet.
Obeo
    
Hi,
how can I disable the header generation (or at least remove the date
generation) when invoking the uml2java. The reason - when I synchronize,
because the data has changed, I get too many false positives for
classes/interfaces that have changed, when the change is only the date.

Thanks,
Orlin

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users


      
--
Gonzague Reydet
Obeo
Model Driven Company

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
    



_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

  


-- 
Gonzague Reydet
Obeo
Model Driven Company

<<attachment: gonzague_reydet.vcf>>

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to