Reputation: 1205
I want to use a Spring Roo addon for Timestamp. https://github.com/rcaloras/spring-roo-addon-timestamp
The instructions are
osgi start --url file://$PATH_TO_DOWNLOAD/com.rcaloras.roo.addon.timestamp-0.1.3-SNAPSHOT.jar
timestamp setup
timestamp all
But roo replies
Command not found for osgi. Has this changed for 2.0.0?
I have also tried addon install bundle, addon install url, but to no avail. I've downloaded the jar file, but don't know how to get roo to recognize the addon. OR, is there a way to install an addon via spring STS in eclipse?
Upvotes: 0
Views: 684
Reputation: 2663
This add-on is developed to install it on Spring Roo 1.2.5. You can't install it on 2.0. Spring Roo 2.0 has mayor changes that makes it impossible (included a OSGi upgrade and a new system to handle add-ons).
Also, keep in mind current Spring Roo 2.0.0 is a Milestone, not a final release. It's not recommended for production environments.
On another hand, gvNIX jpa add-on can help you. This is developed for Spring Roo 1.3.0, and includes a add-on which includes this functionality (jpa audit setup
, jpa audit add
and jpa audit all
). In addition this add-on can integrate your application with Hibernate Envers to store all changes on your entities (jpa audit revisionLog
).
Good luck!
Upvotes: 0