compile amps only

cancel
Showing results for 
Search instead for 
Did you mean: 
Active Member II

compile amps only

Jump to solution

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 Solution

Accepted Solutions
Active Member II

Re: compile amps only

Jump to solution

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

View solution in original post

2 Replies
Active Member II

Re: compile amps only

Jump to solution

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

View solution in original post

Established Member II

Re: compile amps only

Jump to solution

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