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.

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?

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

Reply via email to