cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to deploy SDK CustomAspect

server_mouse
Champ in-the-making
Champ in-the-making
I've just started to investigation Alfresco and firstly I've tried to deploy example of custom aspect from SDK into working Alfresco application.
So, what I've done:
1. Built custom-aspect.jar (using Ant)
2. Stopped Tomcat (alf_stop.bat)
3. Copied custom-aspect.jar into 'tomcat\webapps\alfresco\WEB-INF\lib'
4. Started Tomcat (alf_start.bat)
5. When Tomcat had started, I checked that custom-aspect.jar file is still exists in  WEB-INF\lib folder (just in order to be sure).

But I didn't find that new aspect was added. What I've done:
1. Login into web client as admin.
2. Navigated into "My Home" space.
3. Tried to add new rule for all items with action "add aspect to item".
4. I expected to find added aspect ("contenthits") in the list but didn't find it. Why?

Please, help me to find my mistake.
3 REPLIES 3

rmanocha
Champ in-the-making
Champ in-the-making
I would like help here too - I have followed the same steps but still can't see the aspect in the list. Can anyone point me in the right direction here?

claudio_martins
Champ in-the-making
Champ in-the-making
Have you deployed the XML files to extensions folder?

rivarola
Champ on-the-rise
Champ on-the-rise
Hello,

I don't know this sample JAR but usually you have to configure the Web-Client to show custom aspects in the UI, as explained in http://wiki.alfresco.com/wiki/Simple_Customisations#Adding_Aspects_to_the_Run_Action_.26_Create_Rule...