cancel
Showing results for 
Search instead for 
Did you mean: 

Location of java web scripts inside AMP

tde
Champ in-the-making
Champ in-the-making
Is there a documentation about correct place to put web script descriptor (and view template) inside an AMP? I've found at least dozen advices where to put them and some of them work (with some "hacking"), some not. But I want to what is recommended practice.

So I took records management module to see how it was implemented there and found:

- all webscripts are found inside config/alfresco/templates/webscripts/
- there is no file-mapping.properties, so upper location is directly mapped into war

Now, after using that principle in my own module it simply doesn't work - scripts are not installed.

Is there some other configuration involved?
2 REPLIES 2

openpj
Elite Collaborator
Elite Collaborator
For Java-backed WebScripts I think that you need to use the file-mapping.properties, otherwise the AMP can't install correctly all your artifacts.

tde
Champ in-the-making
Champ in-the-making
Hm, that would be quite strange considering RM module doesn't use file-mapping.properties.