cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 4.2 enterprise share amp

j_
Champ in-the-making
Champ in-the-making
Hi,

I have to make 2 amps one for repo and one for share via Alfresco Maven SDK with Eclipse.

I have no clue what is supposed to be the folder structure of my new custom_share.amp and custom_repo.amp


In custom_share.amp where do i put my .ftl-s where do i put site-webscripts, site-data, … ?


In custom_repo.amp where do i put my webscripts, where do i put my custom_repo.post.desc.xml and all other files


I simply have to transfer data which I put in an html form and post it to a repo amp via jQuery post and on the repo end make something with that data, but I am lost


thanks for the help,

J
2 REPLIES 2

marsbard
Champ in-the-making
Champ in-the-making
Have you seen this tutorial?

http://ecmarchitect.com/alfresco-developer-series-tutorials/maven-sdk/tutorial/tutorial.html

I have an amp maven project that doesn't include very many customisations but what I have is this:

In repo, my webscripts are in src/main/config/alfresco/templates/webscripts

In share, my share config is in src/main/resources/META-INF/share-config-custom.xml

Sorry that I don't have more examples, you might find some extra help in the IRC channel - http://wiki.alfresco.com/wiki/IRC_Chat

Martin

j_
Champ in-the-making
Champ in-the-making
Thanks, I did it

my current folder structure for Share .amp looks like on attached picture


I must appologize, I have much to learn and little time …



I have another question, when I deploy .amp file (doesn't matter which) and I deploy it with apply_amps.bat  I have to stop tomcat, delete folders and start tomcat


So, is there an easier way to deploy .amp without having to restart tomcat and all …
when I'll have many applications that process will be a real shoot in the knee in my company's environment (for every little correction of the code)

I followed this link and I think it's not possible
http://docs.alfresco.com/4.2/tasks/amp-install.html

thanks in advance

Jan