Issue 1: Roo 1.2 compatibility
Status:  New
Owner: ----
Reported by krim...@chariotsolutions.com, Aug 29, 2011
What steps will reproduce the problem?
1. Install Spring Roo 1.2
2. Install the add-on
3. Use audittimestamp setup
4. Use audittimestamp add on an entity

What is the expected output? What do you see instead?
You should see a class annotated with @RooAuditTimeStamp, and a representative Roo Aspect J ITD
Instead you get:

roo> audittimestamp add --type org.sillyweasel.audit.tester.model.Course
Exception in thread "Spring Roo JLine Shell" java.lang.NoSuchMethodError: org.springframework.roo.classpath.PhysicalTypeMetadataProvider.findIdentifier(Lorg/springframework/roo/model/JavaType;)Ljava/lang/String;
	at addon.roo.audittimestamp.AudittimestampOperationsImpl.annotateType(AudittimestampOperationsImpl.java:73)
	at addon.roo.audittimestamp.AudittimestampCommands.add(AudittimestampCommands.java:52)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191)
	at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:49)
	at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:180)
	at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:143)
	at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47)
	at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:214)
	at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:369)
	at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:136)
	at java.lang.Thread.run(Thread.java:680)



What version of the product are you using? On what operating system?

On Roo 1.2.0-SNAPSHOT as of August 28, 2011
Mac OS X Lion

Please provide any additional information below.

Seems like the moving add-on API is to blame here.  Looks like you are using a method that doesn't exist anymore.

Thanks,

Ken RImple

Oct 9, 2012
#2 eleme...@gmail.com
Hi,

I recently created an updated version of this add-on to work with the latest version Spring Roo. You can find it on Github here https://github.com/rcaloras/spring-roo-addon-timestamp