More WikiPapers |
Suggest an Edit
Using Eclipse with the Programming HD-DVD and Blu-Ray Disc: HD Cookbook book

| Learn how to setup the Eclipse Java IDE workspace for the book "Programming HD DVD and Blu-ray Disc: The HD Cookbook" on a pc. |
Resource List
Before getting started make sure you have the following resources installed on your machine:
Setting up the Eclipse IDE Workspace
- Create an empty folder called HDCookbookEclipseWorkspace. It is recommended that your folder name and the path to your folder does not contain any spaces. For example we do not recommend creating this under the folder "My Documents".
- Inside this folder create another folder that must be called HDCookbook.
- Right mouse click inside the newly created folder and pull up the SVN "Checkout" link as seen here.
- For the URL for the repository enter the following
https://hdcookbook.dev.java.net/svn/hdcookbook/trunk You will be promted for your username and password that you created above.
- After the files are downloaded copy your Blu-Ray Java library of files to the following folder HDCookbookEclipseWorkspace\HDCookbook\lib.
- Rename the Blu-Ray Java library to: bdjclasses.jar
- Download NetBlender Eclipse Workspace folder.
- Unzip the contents of the download to the folder HDCookbookEclipseWorkspace. If you are using specific plug-ins for your eclipse IDE you might have to re-add them to the workspace.
- Edit the batch file openeclipse.bat by changing the location of where you’ve installed Eclipse.
- Run batch file openeclipse.bat to open eclipse.
Setting up the Eclipse IDE Workspace
- Right mouse on the Java Project "HDCookBook" then select "Build Path -> Configure Build Path.."
- Click on the Libraries tab. Make sure your libraries can be found. If not edit the build path.
Using Eclipse
You can now use eclipse to run the HDCookBook project by running the build.xml file found in the root directory. If you are a familiar with eclipse you can set this file as your default build file if you want.
We recommend always building with the ant script to ensure you create a BD-J application that is 100% compliant with a Blu-Ray player.
|