Page 1 of 1

small bug in update_svn_rev.bat

Posted: Sat Jun 01, 2013 10:33 am
by ezgoen
Hi , new here but old to xbmx on xbox

I'm currently compiling a virtual appliance to build xbmc4xbox - this will appear somewhere on some
bittorrent site sometime very soon.

in the process I built from a folder on the desktop and "update_svn_rev.bat" failed miserably because some quotes were missing.

Here's a fixed version that I hope someone will put in svn so that this virtaul machine/appliance works out of the box for anyone.


Cheers and thanks for all your efforts.

Code: Select all

@echo off 
rem subwcrev is included in the tortoise svn client: http://tortoisesvn.net/downloads

SET CWD=%~dp0

SET REV_FILE="%CWD%xbmc\xbox\svn_rev.h"

IF EXIST %REV_FILE% del %REV_FILE%

SET SUBWCREV="?"
IF EXIST "%ProgramFiles(x86)%\TortoiseSVN\bin\subwcrev.exe" SET SUBWCREV="%ProgramFiles(x86)%\TortoiseSVN\bin\subwcrev.exe"
IF EXIST "%ProgramFiles%\TortoiseSVN\bin\subwcrev.exe"      SET SUBWCREV="%ProgramFiles%\TortoiseSVN\bin\subwcrev.exe"
IF EXIST "%ProgramW6432%\TortoiseSVN\bin\subwcrev.exe" SET SUBWCREV="%ProgramW6432%\TortoiseSVN\bin\subwcrev.exe"

IF NOT EXIST %SUBWCREV% GOTO SKIPSUBWCREV

%SUBWCREV% "%CWD%xbmc/xbox/svn_rev.tmpl" %REV_FILE% -f

IF NOT EXIST %REV_FILE% %SUBWCREV% %CWD% "%CWD%xbmc\xbox\svn_rev.tmpl" %REV_FILE% -f

:SKIPSUBWCREV

IF NOT EXIST %REV_FILE% copy "%CWD%xbmc\xbox\svn_rev.unknown" %REV_FILE%

SET REV_FILE=
SET SUBWCREV=

Re: small bug in update_svn_rev.bat

Posted: Sat Jun 01, 2013 10:39 am
by BuZz
known issue - http://redmine.exotica.org.uk/issues/238 - but thanks for noticing / reporting ;-) (alternatively do the checkout in a folder path without spaces)

Re: small bug in update_svn_rev.bat

Posted: Tue Jun 04, 2013 11:08 am
by ezgoen
I think I found that torrent ;)

if you google for BuildXBMC4Xbox you might find it too.

It seems to be some sort of VMWare XP Pro virtual PC

I've tried downloading it but it seems whoever made the torrent doesnt have much bandwidth.

Its probably one of those fast download/slow upload ADSL Internet packages some people are forced to put up with.

I reckon if someone downloads it who has a bit of bandwidth to spare and can seed it for a bit too - it might be a good thing!


Curious to see if it solve the problem of finding al the stuff one needs in order to compile XBMC4Xbox ??


Cheers everyone and have fun!


Ez