Spring Roo - automatic update

I tried to use Roo. If I create a class using Roo and then modify it in the IDE, Roo will detect the change and update all aspects and so on.

But if I create a class using the IDE, Roo does not detect the newly created class at all: - (

Is there a command to be executed that I missed something?

Thanks.

+4
source share
2 answers

Spring Roo annotations starts code generation.

@RooEntity 

Entity methods such as persist , findById , etc.

 @RooJavaBean 

Generates mutators (getter / seters).

 @RooToString 

Creates a toString method. GWT scaffolds are looking for @RooEntity classes.

+5
source

Sometimes you need to wait a while until the file system observer determines a new class.

Updating in the IDE can do the trick. If you use eclipse, use STS with the addition of Roo, which quickly detects changes.

0
source

All Articles