cancel
Showing results for 
Search instead for 
Did you mean: 

compile amps only

henrikr
Confirmed Champ
Confirmed Champ

I am currently using the Alfresco SDK 3.0.1 to compile my alfresco project via the by-default provided run.bat. It has during my few months of working with this taken 8+ minutes to compile and run it all. I've started to grow a little tired of the constant downtime. I am thinking about ways to compile only the amps, and have an external alfresco instance instead.

Is there any way to compile just the amp files (platform and share), and skip the whole create-an-entire-instance-run-and-test-it thing?

1 ACCEPTED ANSWER

kerkhofsd
Confirmed Champ
Confirmed Champ

IIRC, you can use the 'mvn package' command to compile your source code & build the AMPs without starting Alfresco. 

View answer in original post

2 REPLIES 2

kerkhofsd
Confirmed Champ
Confirmed Champ

IIRC, you can use the 'mvn package' command to compile your source code & build the AMPs without starting Alfresco. 

4535992
Star Collaborator
Star Collaborator

If you use maven, you can use the assembly plugin to build AMP and JAR togheter.

On this project you can find a example of the assembly file descriptor:

alfresco-pdf-toolkit/amp.xml at master · p4535992/alfresco-pdf-toolkit · GitHub