Unable to deploy SDK CustomAspect

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2007 07:17 AM
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.
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.
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2008 07:04 AM
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?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2008 07:55 AM
Have you deployed the XML files to extensions folder?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2008 07:59 AM
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...
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...
