Open maybeec opened 6 years ago
In this comment, I will keep updating the errors that I find related to the generation of the different increments.
Using OASP4J archetype version 2.4.0.
Working fine
These are the increments that compile and work fine (although to compile you need Entity infrastructure and TO's
increments).
CRUD DAO + CRUD logic (simple) + CRUD service REST
.CRUD DAO + CRUD logic (simple) + CRUD service SOAP
.CRUD DAO + CRUD logic (complex) + CRUD service SOAP
.CRUD DAO + CRUD logic (simple) + CRUD Nested SOAP service + CRUD Nested Rest service
.Some compilation errors
CRUD DAO + CRUD logic (complex) + CRUD service REST
has a compilation error related to ${entityName}Cto
not defining find${entityName}Cto
method.CRUD DAO + CRUD logic (complex) + CRUD Nested REST service + CRUD Nested SOAP service
has a compilation error related to ${entityName}Cto
not defining find${entityName}Cto
method.CRUD SpringData logic + Entity infrastructure + TOs
has multiple compilation errors related to org.springframework.data.jpa.repository.JpaRepository
and Q${entityName}Entity not being found.CRUD SpringData logic (complex)+ CRUD SpringData logic
has multiple compilation errors related to type mismatch errors when trying to save an entity,The usefulness of nested and spring data increments should be discussed. I haven't received any claim on my side related to compilation errors. This may mean that our developers just use the most common increments like CRUD DAO + CRUD logic (simple) + CRUD service REST + CRUD service SOAP + TO's + Entity infrastructure
.
Stale issue message
Expected behavior
The current ide setup of devon 2.4.0 delivers templates. I am importing these templates and trying to generate different java application based on different architectures (simple vs complex). It should work in any combination like
Please also check "nested" and spring data increments. Maybe we should cleanup here. Currently, it is not easy to understand what is meant by "nested".
Actual behavior
Steps to reproduce (bug) / Use Case of feature request (enhancement)
Related/Dependent Issues
Implementation Hints
Best would be, if we could provide multiple SWTBot tests, each generating one combination of increments above, which should compile out of the box. Then we could check that, by trying to find compilation errors in the error view. You might want to have a look at the latest commit on cobigen-eclipse, which introduced SWTBot code to access the error log. A prove of validity might be to assert, that there are no errors after generation and rebuild.