Mike Summers
Mike Summers

Reputation: 2239

Spring Roo not updating generated files

I'm using Spring Roo 1.3.1.RELEASE [rev f4f5256] in STS Version: 3.6.4.RELEASE Build Id: 201503100337 with Java 8 and can't get Roo to update the .aj files when I make changes to beans.

The usual of adding private Integer fubar; to the bean and saving isn't making it happen either.

Suggestions?

[Update] Downgrading to Roo 1.2.5-RELEASE works.

[Update 2] Using the Roo console to add a field generates this message:

roo> field number --fieldName snafu --type Integer --class com.intraxinc.pahala.fitservice.models.TraitType
Updated SRC_MAIN_JAVA\com\intraxinc\pahala\fitservice\models\TraitType.java
Undo manage SRC_MAIN_JAVA\com\intraxinc\pahala\fitservice\models\TraitType.java

Upvotes: 0

Views: 344

Answers (1)

eruiz
eruiz

Reputation: 1973

Use logging command to set debug level logging:

roo> logging setup --level DEBUG

You could activate the development mode with command below:

roo> development mode

I executed the Pet Clinic script (clinic.roo) and I modified the entities as you said and all worked ... could you provide more info? for example your log.roo file.

Upvotes: 1

Related Questions