Easiest way to override classes

44 views
Skip to first unread message

Jared Ottley

unread,
Mar 1, 2012, 10:01:47 AM3/1/12
to Utah Alfresco Users
There was a question yesterday at the Lunch and learn about the
easiest way to override a class that I'll post the answer to here.

The easiest way to override an OTB class in Alfresco is to copy your
class in to the exploded war file under WEB-INF/class. From here
you'll need to include all of the packaging information org/alfresco/*/
<your_class>. After restart your class will will take the place of
the OTB class. Any changes that need to be made to the spring bean
should also be taken into account.

Jared
Reply all
Reply to author
Forward
0 new messages