06-10-2019 10:18 PM
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?
06-11-2019 04:42 AM
IIRC, you can use the 'mvn package' command to compile your source code & build the AMPs without starting Alfresco.
06-11-2019 04:42 AM
IIRC, you can use the 'mvn package' command to compile your source code & build the AMPs without starting Alfresco.
06-11-2019 05:54 AM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.