[Tut] How to build the beta (Windows)

Download and discuss official beta builds here

[Tut] How to build the beta (Windows)

Postby Electrifying » Mon Feb 02, 2009 11:21 pm

Well, I spend quite some time this evening tying to figure out how to build the beta from the trunk.

With a little help in the right direction from Shagrath I would like to point you guys out in the right direction, so here goes:

- Create a folder on your C: drive and name it: PMS
- Download "ant" ( http://mirror.hostfuss.com/apache/ant/b ... .1-bin.zip )
- Open the zip file and you should see a folder called: apache-ant-1.7.1. Double click that folder and you should see some files and folders (folders like BIN etc.)
- Extract those files and folders to the PMS folder you just created.
- Download Sliksvn ( http://www.sliksvn.com/en/download )
- Install Sliksvn and after that, go to your install path of sliksvn and copy all the files and to the C:\PMS\bin folder.

[Begin here if you want to repeat the proces to compile your next build]

- Open your command prompt (cmd.exe) and type:

- cd c:\pms\bin
- svn checkout http://ps3mediaserver.googlecode.com/svn/trunk/ ps3mediaserver (let it run, could take quite a while)

- After it is finished, copy all the contents of the bin folder to the folder ps3mediaserver\ps3mediaserver (you only need the ANT files but I am trying to make this easy, not exactly clean ;) ). Then use your command prompt again and type:

- C:\PMS\bin\ps3mediaserver\ps3mediaserver\ant

- It should compile the build now. After that just copy the contents of the ps3mediaserver folder to your original install folder of the official build. Replace everything (remember that PMS.conf is your configuration file. I have overwritten it to make sure I don't get any compatibility issues, but this also means you have to set everything up in PMS again) Do if you want to keep all your settings, do not overwrite that file.

- After that delete the ps3mediaserver folder from the bin folder. Next time repeat the last few steps again and it should build the latest build for you. It doesn't matter if you copy the ant files and svn files with the PS3mediaserver files over to the official install folder. I tried to make an easy tut. So you can safely remove the ant and svn files from the ps3mediaserver's BUILD up folder if you feel like it. Don't delete them in the PMS\bin folder.

Remember that you need the java development kit from Sun. Download it at http://java.sun.com/javase/downloads/index.jsp

Good luck :D
Electrifying
 
Posts: 20
Joined: Mon Jan 26, 2009 1:58 am

Re: [Tut] How to build the beta (Windows)

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

ExSport
 
Posts: 2161
Joined: Mon Jan 19, 2009 5:40 pm

Re: [Tut] How to build the beta (Windows) in German

Postby otmanix » Sat Feb 07, 2009 8:25 pm

Thanks for this tutorial. I compiled some C-apps with make in Linux yet, but I did't know ant :( But know that's not a topic anymore...
I wrote an article about building PMS in German language on my blog: http://otmanix.de/2009/02/07/ps3-media- ... mpilieren/

ciao, Otmanix
I provide NO application support via PM, so please post your question to the forum.
PS3 Media Server related articles on my blog: http://otmanix.de/?cat=11&lang=en
User avatar
otmanix
 
Posts: 528
Joined: Fri Jan 30, 2009 12:40 am
Location: Bavaria, Germany

Re: [Tut] How to build the beta (Windows)

Postby akhlan » Tue Jan 03, 2012 4:57 pm

Hy,

see below my tree:

C:.
+---bin
¦ +---ps3mediaserver
¦ +---.settings
¦ +---contrib
¦ +---dist-archive
¦ +---documentation
¦ +---...
¦ ¦ +---ps3mediaserver
¦ ¦ +---configuration
¦ ¦ +---build.xml
¦ ¦ +---...
¦ +---ant
¦ +---build.xml
¦ +---...
¦ +---ant
¦ +---ant.bat
¦ +---ant.cmd
¦ +---antenv.cmd
¦ +---....
+---docs
+---etc
+---lib
fetch.xml
get-m2.xml
...

I have install ant 1.8.2, JDK 7u2, toirtoise SVN 1.7.3. I have copy with sucess all folder ps"mediaserver via SVN but when I launch the commande :

C:\PMS\bin\ps3mediaserver\ps3mediaserver\ant

I have this error message

C:\>C:\PMS\bin\ps3mediaserver\ant
Buildfile: build.xml does not exist!
Build failed

I have put this comand see in another post:
set ANT_HOME=C:\PMS
set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_02
set PATH=%PATH%;%ANT_HOME%\bin\ps3mediaserver

but same result :-( I don't really understand...

Can you help me ?

Rgds
Akhlan
akhlan
 
Posts: 4
Joined: Thu Jul 21, 2011 5:07 pm

Re: [Tut] How to build the beta (Windows)

Postby whome » Tue Jan 10, 2012 8:53 pm

akhlan wrote:I launch the commande :
C:\PMS\bin\ps3mediaserver\ps3mediaserver\ant
I have this error message
C:\>C:\PMS\bin\ps3mediaserver\ant
Buildfile: build.xml does not exist!
Build failed

Go to a subfolder where build.xml is found then start ant util.
c:\> cd PMS\bin\ps3mediaserver
c:\PMS\bin\ps3mediaserver> ant
whome
 
Posts: 113
Joined: Tue Jan 20, 2009 12:26 am

Re: [Tut] How to build the beta (Windows)

Postby smo » Tue Jan 10, 2012 10:49 pm

Maybe you should use the new build instructions based on git and maven (no more subversion and ant):
https://github.com/ps3mediaserver/ps3me ... r/BUILD.md

Why git and maven? Answers here: viewtopic.php?f=11&t=12940 :)

Regards,
smo
smo
 
Posts: 46
Joined: Thu Nov 12, 2009 12:29 pm
Location: Germany


Return to Beta Builds

Who is online

Users browsing this forum: No registered users and 1 guest