Build/deploy speed
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2016 11:36 AM
What factors affect the build deploy and start up speed of Alfresco? I'm running Maven 3.3.9 from within Eclipse. Alfresco sdk 2.1.0 with the all in one archetype. Alfresco version is 5.0.1.14 enterprise and I have maybe a dozen or so amps, including rm2.3. This is all to mimic our production environment. My development hardware is a 4 core/8 thread 3.8Ghz Corei7 Windows 10 Machine with 10gb ram and everything is on an SSD. So I don't think there should be any bottle necks there.
I've tried enabling multithreaded builds in Maven (-T 1C) and it dramatically improves the build speed, however it only successfully deploys 1 out of 10 times. It seems like it not correcting ordering stuff and attempts to run one module before it's dependency is built.
Is it possible and not hugely difficult to move to something like Gradle instead of Maven?
Also is there a way to just build one amp at time and deploy them to an already running local instance of tomcat?
I've tried enabling multithreaded builds in Maven (-T 1C) and it dramatically improves the build speed, however it only successfully deploys 1 out of 10 times. It seems like it not correcting ordering stuff and attempts to run one module before it's dependency is built.
Is it possible and not hugely difficult to move to something like Gradle instead of Maven?
Also is there a way to just build one amp at time and deploy them to an already running local instance of tomcat?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2016 11:25 AM
How long does it take to build and run? I'm new to Maven but it takes a few minutes for me to spin up the all-in-one archetype with the embedded tomcat. Far less if you're just building a repo amp and doing the -Pamp-to-war.
If Alfresco is already running, I don't believe you can just apply an individual amp. You would have to stop it, copy over the amp and run the mmt tool to build the new war. Then restart tomcat.
If Alfresco is already running, I don't believe you can just apply an individual amp. You would have to stop it, copy over the amp and run the mmt tool to build the new war. Then restart tomcat.