[How To] Build SVN Windows 32bit PMS in Vista

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

[How To] Build SVN Windows 32bit PMS in Vista

Postby tomei » Mon Feb 02, 2009 10:37 pm

You must have these programs installed: SVN, ANT, and Java 1.6.0 update 12 JDK. I used these programs and here are the links.

SVN - http://tortoisesvn.net/downloads (used 64bit because I use Vista x64 but you can use 32bit)
ANT - http://mirror.candidhosting.com/pub/apa ... .1-bin.zip
JDK - https://cds.sun.com/is-bin/INTERSHOP.en ... _Developer (pick Windows and click agree to the license then click on the filename to get direct link to download instead of using their download manager)

First, install Tortoise SVN. It will provide you a SVN client to download the latest SVN from the source. Then, pick a place to download PMS. I used my desktop. Right click to get the option of SVN Checkout in the context menu. Then fill the box URL of repository with http://ps3mediaserver.googlecode.com/svn/trunk/ then hit OK. It should take awhile to download the files.

Next, we are going to install and setup ANT so we can use it in command line. Extract the apache-ant-1.7.1-bin.zip to where you want to install it. I used my root directory C:\ so it was at C:\Ant. After that you need to install JDK. Then, we are going to setup the environmental variables to make ANT work. From the start menu, type in cmd and enter at the search bar. It should open up a command line box. Here are the commands we type in next.

Code: Select all
 set ANT_HOME=C:\Ant
set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_12
set PATH=%PATH%;%ANT_HOME%\bin   


ANT_HOME is where you installed ANT so change it to where it is installed. Mine happened to be in C:\Ant . JAVA_HOME is where your JDK is installed. After all this ANT should be setup correctly so now we can build the SVN.

So with the command box still open we go to where you downloaded the SVN trunk of PMS. Mine was at my desktop in C:\Users\tomei\Desktop\ps3mediaserver\ps3mediaserver\ . Then type in ANT in the command line to build the SVN. After a minute or two, it should say build successful and the time it took to build it. Now look under the dist folder of the SVN trunk to find the exe to install PMS. It should have the file pms-setup-win32-1.04.exe if you were successful. Also, there is a linux build for linux users as well. Install the exe file.

Congratulations!, you now have the latest build of PMS. Hope this guide helps people to build the newest version of PMS so we get more people to test it and write bug reports.
User avatar
tomei
 
Posts: 7
Joined: Mon Jan 19, 2009 7:51 pm

Re: [How To] Build SVN Windows 32bit PMS in Vista

Postby ExSport » Mon Feb 02, 2009 11:12 pm

I don't think that it was good step 8-)
Now everybody,also people who don't know what is CMD, will compile it and post here that PMS is not working but didn't mention that they use svn version or their compilation will not be correct and provided info will be irrelevant... or will post problems which will not have any coherence with PMS itself...
I think that Shagrat's advice was enough. Who is experienced, it will not be problem to compile own builds but for people which don't know what they do, it will be out of their IT crowd scope 8-)
Now it will be good to create new threads for beta testing of non-public versions and also thread for bugs, same as for requests. Maybe it will be good to create own thread for Windows.
Now sometimes in general threads you don't know if MAC,WIN or LINUX is used 8-) Or create signatures with system specs for everybody. It will avoid questions like "What is your system,network speed, CPU etc..."
ExSport
 
Posts: 2167
Joined: Mon Jan 19, 2009 5:40 pm


Return to General Help and Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 14 guests