From: susie2007 (A. F. <fo...@an...> - 2008-07-29 17:08:53
|
Hello, from a working project based on UML1.4, struts and ejb3 (AndroMDA 3.3), I tried to create a new project on the same basis but replacing struts by jsf2. After creating the project, I just replaced the xmi file with the one of my previous project. Building the project, I've a lot of error at compilation time related to web/target/src/.../crud java files, in particular for some ...controller.java and ...converter.java files, with "illegal start of expression" indication by the compiler. It refers to some code with access to readall, create, update... functions without indication of any class. E.g.: public void doSave(Entities.PLM_services.Configuration_management.crud.Specification_categoryForm form) throws Exception { if(form.getId() == null){ form.setId( .create( form.getUid() , form.isImplicit_exclusive_condition() , form.getSid() , null , form.getSpecification_category_hierarchy() , form.getDocument_assignment() , form.getAlias_identification() ).getId() ); As it is generated code and as such functions are not generated with struts, I'm a little bit lost. Can anyone help me to understand what's going wrong with generated code? Thanks by advance. Nicolas _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=26218#26218 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! |