Skip to main content

How update local hdcookbook files?

4 replies [Last post]
Joined: 2011-12-07

I have not been struggling with this for a while, so I updated JAVA, SVN, etc. and the local hdcookbook files. All that went OK.

When I first got the files from here, I made a copy of the folder as suggested here and have been using that.

The question: How do I update that copy from the SVN managed folder on my PC?
(W7 Ultimate 64 bit)


Paul Masters

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2012-04-21

Hi Paul,

I am having problems downloading the cookbook project files from the svn repository.

I am using uberSVN from wandisco.

Can you let me know how you managed to connect and download all the files please.

I am not getting very far with this.

Any help would be appreciated


Andrew Henson

Joined: 2011-12-07


I am by no means an expert in all of this.

I am on Windows 7 64 bit and used the application referenced in the hdcookbook project: TortoiseSVN.

I also use Cygwn for Unix. (Install only the default items. All of them are many gigabytes and you only need the Unix console.)

You may have to be signed on to do the download. It seems like I had that problem, I can't remember. If so, I may have signed on with IE and then tried the download. Sorry, I can't remember that far back.

Here is a note from when I did the download over a year ago:
"To download the cookbook files, in a Unix command window: (URL before /trunk may change - see the projects hdcookbook
Don't use trunk in the folder name as it may have special meaning to SVN.
svn co hdcookbookdownload"

I don't remember how I did the original download. I do remember that I had problems and tried more than one way to do it. I may have gotten the information from this forum. You might want to look at my other posts. Unfortunately, most of them were not answered or not explained completely.

Once TortoiseSVN is installed, you can try the Unix method listed above or while displaying a disc in windows explorer, right click and select TortoiseSVN then click on import. A window will have a place for a URL and you can copy in the one above (up to but not including the ~ I think but not sure, assuming it has not changed.

If it works, you should have a folder called hdcookbookdownload. Copy that folder. Then in the new folder, delete the .svn folder. That will keep your changes from accidentally being uploaded to the base folder in the project in this site.

(Fortunately, getting updates to the existing file on your PC is easy. Just right click on the folder than click on SVN update. I would suggest making a copy of the folder before doing the update.)

That's where I was when I posted this question, which has not been answered as you can see. So, I just copied the newly updated download as mentioned above. Of course, that didn't keep all the changes made by the installation process and the other things I did - that's why I asked the question (g). I had to rerun the installation and ran into a problem. It appears the the process has errors when java 7 is used but java 6 has no errors.

Before you can go any further, you need information contained in the README file. And, you will need information in txt and other files in the folders in the downloaded folder. Unfortunately, what little help there is is hard to find and not always very helpful.

You also have to get the 6 class files needed to do compiles and set them up. The following has a document for how to get and setup 5 of those files. It also has other important information:

The 6th file has to come from the Blu-ray Disc Association. You will have to send them a note asking for the class files. I got mine a few days after returning the NDA they send you to sign.

Note that the names of the files you get may not match those used in the script. I renamed some to match.

All of that (getting SVN, Unix console, the cookbook download and the class files took me over a week as the instructions are not very good even when you find them.

Your next step is to compile a lot of things in your copy of the download file. That will require you to create a file in the root folder. See the file. (These are script type files. View them and update them in NotePad. Some display OK and others don't. For those that don't view in WordPad, but be warned, updating some in WordPad will cause errors because of the extra control 'codes' that WordPad adds. So you have to update those in NotePad. (Fun isn't it?)

Well, that should be more than enough to confuse you and / or get you setup. If you know more about Unix and java than I do (which wouldn't take much) you may not have any further problems. Or if you do you will know what to do to fix them. Otherwise, depending on your PC setup, there may be more surprises to come. I haven't gotten past some of them yet.

Hope all this rambling helps.

Paul Masters

Joined: 2012-04-21

Hi Paul,

Thanks for your detailed response. I have installed TortoiseSVN and have downloaded the source to my computer.
I have a Dell T5500 workstation running window 7 pro 64bit.

I am using Java(TM) Platform, Micro Edition Software Development Kit 3.0, it seems to have the BD-J stubs included.

I can compile the example FirstBDJApp and burn the Certificate and BDMV directories to a blu-ray disc and it works on my PS3.

I have not been able to get any emulator to work yet despite installing Arcsoft total Media, so I am constantly erasing and burning discs which is a pain.

I will have a good read through your message as I want to be able to compile the examples on the cookbook disc, I was expecting a nice neat project I can load
but they don't seem to organised very well.

I am starting to learn Javascript at work so I should be able to get away with playing around with this stuff most days while I do my training.

I mainly program in and, I need to get up to speed with my web development skills so I am learning java, Html css etc.

My goal out of all this is to be able to write a program that has a simple menu were I can select a video and it will go and play the video. At the moment I am using Encore CS6 to author home blu-rays.

Once I have that done I can add cool things like a game that uses footage out of the film, like a simple shooting game but just replacing the space ships with my children etc just makes it fun for them to play with.

I will have a go at compiling the source code.

What are your goals?

thanks again for responding to my question



Joined: 2011-12-07


Glad you got through the first part.

I don't know if ME 3 has what you will need. I have also installed SE 6 and RT 6. I found that there is an error in the signing using java 7. You will need the 6 class files listed in the document I included in the last post to get the cookbook compiled. While ME may have some of them, the ones for BD may be different and you will definitely need the one from the BDA. I cant believe it is part of ME.

The first step is to run 'ant all' from a Unix console in the base folder that you copied from hdcookbookdownload.
First enter 'ant -version'. If that works, you have ant. Otherwise you have to add an entry to the PC PATH pointing to it. I have NetBeans because that appears to be what the cookbook people use / want, and it has a folder with ant in it. If you have Apache you may have ant.

I know you realize that Java Script and java are not the same. You may need to know a little about Unix, and ant to get things to run.

I have used TMT3 and TMT5 to play BD from a folder. You must buy it, the demo / free version won't play from a folder.

You are way ahead of me with C# etc. I have written some scripts in Java Script and can mostly read java. My background is 40 years as a mainframe systems programmer specializing in CICS. I know assembler, COBOL, SAS, and other languages of that type. They are all liner. I have problems with procedural languages like java. I guess I am getting old, but I find the simple ways best and find the complications of java etc. difficult.

I use a BD authoring product called DoStudio created by NetBlender and now owned by Sony. It does a lot, but there are some BD things it doesn't do that I want. Before that I authored a number of DVD with Sony DVD Architect. All that I do is for my own use.

Yes, the information about the cookbook is sparse and hard to find. As with most java and PC programming, they expect you to just 'know'. Where I came from, everything is very specifically documented.

There is a lot more to creating a BD than the authoring of a menu. There are a number of other files that have to be created. The cookbook has programs to help with that but I have not yet found them or any information about how to use them. One place in a file it is mentioned that there is a script that, I think, takes care of all of that including the proper naming, but I haven't found that yet. I think they expect you to have the BD spec. However, that is very expensive to obtain and I can't afford it.

May be your knowledge in other areas will help you with this. Hopefully, your learning can help me too.

"Remember, we are all in this together." - Red Green

Paul Masters