AnsweredAssumed Answered

Building Record Management from source

Question asked by mdavid.cu on Jul 19, 2013
Hi everybody,
I checked out the Record Management Module from <a href="https://svn.alfresco.com/repos/alfresco-open-mirror/modules/recordsmanagement/HEAD/">https://svn.alfresco.com/repos/alfresco-open-mirror/modules/recordsmanagement/HEAD/</a>. I have following the Readme instructions for generating the appropriate rm-server and rm-share AMP, but apparently there is a compiling problem



rm-server\source\java\org\alfresco\module\org_alfresco_module_rm\notification\Re
cordsManagementNotificationHelper.java:289: error: method setBodyTemplate in cla
ss NotificationContext cannot be applied to given types;
[ant:javac]             notificationContext.setBodyTemplate(supersededTemplate.t
oString());
[ant:javac]                                ^
[ant:javac]   required: NodeRef
[ant:javac]   found: String
[ant:javac]   reason: actual argument String cannot be converted to NodeRef by m
ethod invocation conversion
[ant:javac] …
rm-server\source\java\org\alfresco\module\org_alfresco_module_rm\notification\Re
cordsManagementNotificationHelper.java:340: error: method setBodyTemplate in cla
ss NotificationContext cannot be applied to given types;
[ant:javac]             notificationContext.setBodyTemplate(getRejectedTemplate(
).toString());
[ant:javac]                                ^
[ant:javac]   required: NodeRef
[ant:javac]   found: String
[ant:javac]   reason: actual argument String cannot be converted to NodeRef by m
ethod invocation conversion
[ant:javac] Note: Some input files use or override a deprecated API.
[ant:javac] Note: Recompile with -Xlint:deprecation for details.
[ant:javac] 3 errors


I'm using alfresco nightly version… I put some info about it


URL: http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD
Repository Root: http://svn.alfresco.com/repos/alfresco-open-mirror
Repository UUID: 7033f55c-6c29-4ad8-afba-765cb616e738
Revision: 48059
Node Kind: directory
Schedule: normal
Last Changed Author: dward
Last Changed Rev: 47986
Last Changed Date: 2013-03-12 18:38:24 +0100 (ma., 12 mar. 2013)


Any suggestions ?

Thanks

Outcomes