Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Learning Alfresco Web Scripts
  • Toc
  • feedback
Learning Alfresco Web Scripts

Learning Alfresco Web Scripts

By : Ramesh Chauhan
4.5 (4)
close
Learning Alfresco Web Scripts

Learning Alfresco Web Scripts

4.5 (4)
By: Ramesh Chauhan

Overview of this book

If you are an Alfresco developer who has no experience with web scripts and you want to start developing Alfresco web scripts, then this book is definitely for you.
Table of Contents (12 chapters)
close
11
Index

Applying AMP to the Alfresco WAR for testing


Once you are done with the web script development for your project following the preceding project structure, create an AMP file for your project and test it before you hand over the AMP file for deployment on the other server. In order to test your web scripts locally, you will first need to apply the AMP to the Alfresco WAR file. With the Alfresco Maven SDK, you need not have Alfresco installed locally for applying the AMP. From the console, you can just go inside the project's location and simply execute the mvn integration-test -Pamp-to-war command.

After running the preceding command, you will be able to see that Maven is now doing its job to download all the required dependencies to compile the project. This will create an AMP file for the project, apply the AMP file to the out-of-the-box Alfresco WAR, and then deploy the WAR to the embedded Tomcat server, and finally, start the server. You should be able to see from the console output that...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete