cancel
Showing results for 
Search instead for 
Did you mean: 

AMP Structure for Java Backed Web Script

toze
Champ in-the-making
Champ in-the-making
Hi.
im trying to get to work SimpleWebScript who is in http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples#Download_Scripts
The thing is when i try to run the script to deploy the .amp nothing happens.
my struct

|_config
|  |_alfresco
|      |_module
|             |_module-context.xml
|             |_simpleWsJava.get.desc.xml
|_lib
|   |_simpleWsJava.jar
|      |_META-INF
|      |_org
|          |_alfresco
|              |_module
|                 |_SimpleWsJava.class  
|_module.properties
|_file-mapping.properties

module.properties contains

module.id=moduleid
module.aliases=moduleidalias
module.version=1.0
module.title=module id
module.description=module description

in module-context.xml i have

<bean    id="webscript.xyz.simple.get"
         class="org.alfresco.module.SimpleWebScript"
         parent="webscript">
   </bean>


anyone can help?
1 REPLY 1

openpj
Elite Collaborator
Elite Collaborator
Have you defined the file-mapping.properties correctly?