AnsweredAssumed Answered

Move AMP from 3.0 to 4.2

Question asked by jlabuelo on Jun 12, 2015
Latest reply on Jun 17, 2015 by magarcia_sm
Hi there

I have developed time ago a customization of Alfresco which included a custom model, a couple of wizards and actions, two custom Advanced Search screens, and a pair of jsp changes. It was designed for our Alfresco CE 3.0 instance but now that instance will stay as "backup" and we would like to open a new one in Alfreso 4.2 (Still dont want to move to Alfresco 5).

We have set the Dev enviroment with Eclipse as desired (at least I think so) importing the Alfresco 4.2 SDK and also the project we designed for Alfresco 3.0 (which included other java projects like "3rd PArty, or WEB-CLIENT" ( we imported them directly from the ones we had in 3.0).

If we compile and deploy the build.xml file it works fine and the AMP file gets produced correctly. Also installing the AMP file in the Alfresco 4.2 war file works with no problem, however problems appears when we try to deploy and launch Alfresco.

Log file crashes showing some "Class Not Fould Exception", and after checking it over and over we dont know where the problem might be?

For example we have this error:

java.lang.ClassNotFoundException: org.alfresco.web.ui.common.component.SelfRenderingComponent

and seems that in 4.2 we do not know which jar file should have this class, as the SDK is imported correctly.

Could you please point us the right steps to move our code from 3.0 to 4.2?

Thanks a lot in advance!!

Here I attach the log file in case you would like to check it.