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

Generating AMP from the default project


Once the default project structure is ready, let's try to generate the AMP file for it. Go to the location of the created project structure. In order to create an AMP file for it, run the mvn package -DskipTests=true command.

Here, we are not interested in running the tests while generating the AMP; hence, we have explicitly mentioned skipTests as true. If you want to run the test as well, you should simply execute the mvn package command.

Running the preceding command should create an AMP file named example-repo.amp under the target folder inside the project we created. You can open the AMP file with any ZIP extractor and browse through it.

Note

You can use the default project structure to not only create web scripts, but also for other customizations to Alfresco such as custom actions, custom content model, custom workflow, and so on, and create an AMP to make them deployment ready.

Now, run the mvn clean command that will just clean up the target folder...

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