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?
Solved! Go to Solution.
IIRC, you can use the 'mvn package' command to compile your source code & build the AMPs without starting Alfresco.
IIRC, you can use the 'mvn package' command to compile your source code & build the AMPs without starting Alfresco.
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
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.