-
Notifications
You must be signed in to change notification settings - Fork 0
How to Build UMS (Advanced)
Prerequisites
- Install Netbeans
- Install UMSBuilder
- The UMS GitHub Repo path that can be copied from here
- Slight knowledge on how GitHub works...
Install UMSBuilder
Extract the contents to a folder that you can remember to.
Run one time the Build for Windows.bat
so that the Code gets pulled from the Repo and built locally on your machine. (This step is a must for the first time Netbeans/UMS builder/user as this will setup all external dependencies. If you miss this step you will not be able to build UMS in Netbeans)
Install Netbeans
There are several flavors to download and install:
Java SE, Java EE, C/C++, HTML5 & PHP, and All
I chose ALL because "why not right?"
You can install Netbeans with the commandline argument "--javahome XXX" to use the JDK downloaded with UMSBuilder-1.6. For example:
netbeans-8.0-windows.exe --javahome C:\path-to-extracted-UMSBuilder-1.9\JDK-1.7.80\
- Click on File --> Open Project
- Find your UMSBuilder-1.9 folder and select the Code Folder
- Right click on Universal Media Server --> Git --> Remote --> Fetch..
- Select the Top Radio button; Click Next.
- Select All to get all remote Branches; and Finish.
- Right Click on Universal Media Server --> Build with Dependencies
- Wait for Makensis to finish... (this part may take a while)
- Once you see BUILD SUCCESS your done compiling.
- Navigate back out to your
UMSBuilder-1.6\code\target
folder and runUMS-Setup.exe
...and now you'e installed the latest UMS build.
same steps as above, just this time
- Right Click on
Universal Media Server
-->Git
-->Branch\Tag
-->Switch To Branch
- Click the
Branch
dropdown and select the Branch you desire.
-
Compile like above at this point...
-
Done!
Note: In case you encounter NetBeans build error, many chance are that you will need to upgrade your Maven version to 3.1.1 or newer and apply it in Netbean following steps: Options > Java > Maven > Maven Home: Browse < Open > Apply > OK More detailed informations can be found on this forum topic.