Page 1 of 6

UMSBuilderV2: build any UMS branch

Posted: Sat Apr 19, 2014 10:09 am
by infidel
Setup:
  • Windows:
  • Linux:
    • Install the git and curl packages for your distro, e.g. on ubuntu/debian:

      Code: Select all

      sudo apt-get install git curl
    • Get UMSBuilder for linux.
    • Put buildv2.sh in your UMSBuilder top folder, run it and follow the menus.
  • To build other branches select one of:
    • Choose another branch
    • Choose a pull request
    • Show all - (shows every branch known to git, including old pull requests)
    • Rebuild - (fast-forward and rebuild already existing branches)
    • Specify a commit or tag - (enter a commit or tag when prompted, e.g. 1338a57 or 4.1.3-WindowsLinux-Java8)
    UMSBuilderV2.8.zip
    (4.52 KiB) Downloaded 952 times
    Changelog:
    • V2.8 - support new git-for-windows paths
    • V2.7 - support new ums build changes + linux fixes
    • V2.6 - fix problem chars in pr titles on Windows + ensure entire 'Show all' list is visible.
    • V2.5a - build specific commits/tags + add 'compile' option to platform menu
    • V2.4 - fix pull requests, add rebuild + linux + quick-compile support.
    • V2.3 - compatible with all versions of UMSBuilder
    • V2.2 - show github view of branches and pull requests + fast-forward existing branches (h/t Wolf)
    • V2.1 - compatible with UMSBuilder 1.7 or 1.6

Re: UMSBuilderV2: build any UMS branch

Posted: Sat Apr 19, 2014 11:55 am
by DeFlanko
Awesome!

Re: UMSBuilderV2: build any UMS branch

Posted: Sat Apr 19, 2014 1:28 pm
by Wolfgan
I second that feeling, impressive work. Thanks a lot!

Re: UMSBuilderV2: build any UMS branch

Posted: Sat Jul 05, 2014 12:37 am
by infidel
Update: V2.2 - show github view of branches and pull requests in menu.

Re: UMSBuilderV2: build any UMS branch

Posted: Sat Jul 05, 2014 4:31 am
by Wolfgan
infidel wrote:Update: V2.2 - show github view of branches and pull requests in menu.
Thank you for the update. While trying to update the latest 4.0.0 branch, I receive a message:

Code: Select all

Switched to branch '4.0.0'
Your branch is behind 'origin/4.0.0' by 101 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)


Is there any way to integrate the required "git pull" into the batch as an option? (ie if local repository is behind origin, ask the user if s/he wants to update the repository before building)
Wolf

Re: UMSBuilderV2: build any UMS branch

Posted: Sat Jul 05, 2014 5:45 am
by infidel
Wolfgan wrote:Is there any way to integrate the required "git pull" into the batch as an option?
I added

Code: Select all

git pull --ff-only
after the branch checkout, please re-download and let me know if it works :).

Re: UMSBuilderV2: build any UMS branch

Posted: Sat Jul 05, 2014 6:11 am
by Wolfgan
infidel wrote:
Wolfgan wrote:Is there any way to integrate the required "git pull" into the batch as an option?
I added

Code: Select all

git pull --ff-only
after the branch checkout, please re-download and let me know if it works :).
Yep, it works perfectly now. Thanks for the quick update! Wolf

Re: UMSBuilderV2: build any UMS branch

Posted: Thu Aug 28, 2014 9:20 am
by infidel
Update: V2.3 - compatible with all versions of UMSBuilder.

Re: UMSBuilderV2: build any UMS branch

Posted: Thu Aug 28, 2014 9:30 am
by Wolfgan
infidel wrote:Update: V2.3 - compatible with all versions of UMSBuilder.
Thanks for the update. I understand you're referring to this viewtopic.php?f=3&t=2131 announcement?

Re: UMSBuilderV2: build any UMS branch

Posted: Thu Aug 28, 2014 1:34 pm
by infidel
Yes, Maven was updated so its directory name is different. As of this version the batch file discovers the Maven+JDK dirs via wildcards so it shouldn't be a problem going forward.