Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: moacsjr on July 13, 2005, 05:40:41 am
-
Hi,
I´m experiencing some problems when regenerating some classes. In the generated code there are new coments each time I try to regenerate the code.
It seams to be a forward generation problem.
public class Contato extends Pessoa {
/**
* INDICA SE É O CONTATO PRINCIPAL. PARA OPERAÇÕES ONDE O CONTATO NÃO FOR INFORMADO É UTILIZADO
* O CONTATO PRINCIPAL.
*/
/**
* INDICA SE É O CONTATO PRINCIPAL. PARA OPERAÇÕES ONDE O CONTATO NÃO FOR
* INFORMADO É UTILIZADO O CONTATO PRINCIPAL.
*/
private boolean principal;
/**
* LISTA DE AREAS DE INTERESSES DO CONTATO
*/
/**
* LISTA DE AREAS DE INTERESSES DO CONTATO
*/
private Collection areasInteresse;
-
Hi,
I'm not able to replicate your problem. Could you let us know what version and build of EA you are using?
Simon
-
I observed this too. For fix it u should remove all generated files and try generate it again
-
I observed this too. For fix it u should remove all generated files and try generate it again
yes, but if you couldn´t remove the files. If they has been filled with code and you are updating the classes. eg. add some new attributes.
Houston, I think we have a problem!
Moa.
-
Hi,
I'm not able to replicate your problem. Could you let us know what version and build of EA you are using?
Simon
Just create a new class in a diagram and add 2 attributes to it with comments for each attributes. Generate the java files and open it. Generate it again and look the generated files, you will see that you have duplicated comments.
Moa.
-
Just create a new class in a diagram and add 2 attributes to it with comments for each attributes. Generate the java files and open it. Generate it again and look the generated files, you will see that you have duplicated comments.
Sorry, I still can't replicate it. What build of EA are you using? If it's not the latest, are you able to update it?
-
Sorry, I still can't replicate it. What build of EA are you using? If it's not the latest, are you able to update it?
I´m using EA 5.0 build 767