Stream: committers
Topic: Profile Only Build
Keith Boone (Sep 27 2016 at 15:51):
I've been long suffering from a lack of memory on my laptop which means hour+ long builds of everything just to get a profile update to be finished. After a bunch of delving around in the DSTU2 build tooling, I figured out how to cut that to about 20 minutes. It still builds ALL the profiles, which is something I need to work on further, but I was curious if there is any interest from this group in looking at the rather small changes I made. I'm fairly certain I'll use the full build for our final delivery, just to be sure everything is clean, but for development, this is saving me a lot of time.
Keith Boone (Sep 27 2016 at 18:48):
(deleted)
Grahame Grieve (Sep 27 2016 at 18:54):
sure, what did you do?
Grahame Grieve (Sep 27 2016 at 18:54):
but validation is probably pretty broken
Grahame Grieve (Sep 27 2016 at 18:55):
in the longer term, I am looking at extending the IG publisher to support DSTU2
Keith Boone (Sep 27 2016 at 19:06):
All changes to Publish.java
added a boolean profileOnly;
set it to true if (args.length > 1 && hasParam(args, "-profile"))
Changed code that set to build all to condition on (!doAny && !profileOnly) instad of !doAny alone
Tweaked produceSpec() so that where it only does checkFragments if (buildFlags.get("all")) becomes if (buildFlags.get("all") || profileOnly)
Eric Haas (Sep 27 2016 at 19:32):
if you want just profiles use the IG publisher. fast <2 min build time. like grahame said for STU3 only right now
Keith Boone (Sep 27 2016 at 19:34):
STU2 is 1.0.2. I don't have a choice to use STU3 editions right now.
Last updated: Apr 12 2022 at 19:14 UTC