Académique Documents
Professionnel Documents
Culture Documents
Flickrstream
www.flickr .com
This is a Flickr badge showing public photos from njoubert. Make your own badge here.
Twitter Updates
My Music Statistics
Blog Archive
Once Eclipse is running, we want to associate Eclipse with our shiny JDK that we downloaded instead of sitting on top of the built-in JRE. Go to Window > Preferences... and open Java > Installes JREs. It should show only the supplied jre (jre1.6.0_01 for my Eclipse 3.3.0). Hit "Add...", then "Browse" for a JRE home directory. (aka. "C:\Program Files\Java\jdk1.6.0_01"). Everything should pop up. Hit OK, and make sure to select the new JDK in the list of Installed JREs. Hit OK, and you're good to go. Now we need to get IvyDE and the Spring IDE installed. The Spring IDE is technically not necessary, and I tend to not use it in the areas of Red5 i'm working on, but Red5 is built on top of Spring, so it's worth installing it and removing later on if you think it is unnecessary. Eclipse plugins all follow the same installation procedure, so i'll be a bit more detailed with the first plug-in, and then roll with it for the rest. Spring IDE 2.0 plays well with Eclipse Europa's Java Development edition, since this Eclipse build comes with Mylyn, which Spring plugs into. Mylyn is a fancy task manager that does all kinds of cool stuff, which i'm not going to go into now, but it worth looking at. Spring IDE has an Eclipse update site, that Eclipse uses to install the plugin from. go to Help > Software Updates > Find and Install.. in Eclipse, select "Search for new features to install" and hit next. Current known sites pop up. Select "New Remote Site..." and set the URL to http://springide.org/updatesite/ and name to "Spring" (or whatever you want). Make sure there's a check next to it, and hit "next". After contacting the site, Eclipse should show "Spring" as a feature to install. Check it, and click Next. Accept the terms and select Finish. Click finish to start the installation procedure. Eclipse will first download the necessary utilities, then prompt you to install them. Restart Eclipse when prompted to.
Links
q q q
About Me
Niels Joubert I grew up in South Africa, where my first contact with engineering and the sciences came from my wonderful parents. I started my web development "career" through my father's involvement with Silicon Graphics, where I started off on Cosmo Create, one of the first WYSIWYG HTML editors, and I gave a presentation on this at the International Computer Fair at age 12. In the same year I became a licensed amateur radio operator. I grew up experimenting with APRS using GPS and Radio technology to deploy cheap, effective position feeds. My involvement with amateur radio and the influence of my mentor Henry Chamberlain combined with my love of computer science, which I now bring to the University of California at Berkeley, where I am studying EECS and Astrophysics. I fancy myself a multidisciplinary engineer with a love of the sciences. I'm an active web developmer (using RubyOnRails), and I won Berkeley's Yahoo! Hack Day. I'm also doing research in Berkeley's Astrophysics department, where I'm an undergraduate image analyzer for Alex Filippenko (US Prof. of the Year). Last but not least, I invest a lot of time in music, and my violin and bass guitar is an integral part of my life. View my complete profile
Once Eclipse comes back, we follow the same procedure to add IvyDE to Eclipse. There is a good tutorial on the Red5 wiki on installing IvyDE and using it with Red5. For the moment, follow the previous procedure, with the update site "http://www.jaya.free.fr/update". Lastly we want to get Subversion compatibility for Eclipse, so we need Subclipse. You can follow the same procedures as before, this time with the update site "http://subclipse.tigris.org/update_1.2.x". When it prompts you for which features to install, open up the Subclipse item and deselect Integrations. Some of the integration plugins is not installed, so i just skip that part. To get the current Red5 source from scratch, go to File > New > Project... and choose SVN > Checkout projects from SVN. Select "Create a new repository location" and use the URL "http://svn1.cvsdude.com/osflash/red5" in the next section. Eclipse should resolve this and download a Table of Contents from which you can select what you want to check out. Browse to java > server, select "trunk" and go for it! This should check out and try to build Red5. If you already have a copy on disk of Red5, I opted for a File > Import > File System, and imported the root Red5 directory. Once this was in my workspace, I
Recommend Me!
Recommend me on Working With Rails
Generated by www.PDFonFly.com
right-clicked on the project, and selected Team > Share..., at which point SVN should kick in and realize that this is a current SVN project and associate the project with the right repository. To get Ivy running with your local checkout copy of Red5, you need to set some non-obvious preferences. Open up Window > Preferences > IvyDE in Eclipse. Each of the fields needs to be filled out before Ivy will start doing its job. Point the IvyConf URL to the ivyconfig.xml file that is in the root of the Red5 folder. Fill in Accepted types, Sources types and Javadoc types as in the examples below each. I checked "Do a trtrieve after resolve" and set up the Pattern to their example, although I believe you can get away by not doing this. When you click "OK", Ivy should start running and resolving dependencies. Voila, Red5 is ready to run! Launch it by going to src > org.red5.server and running Standalone.java as a Java application.
Posted by Niels Joubert at 1:53 PM Labels: red5 fcs flash eclipse setup tutorial
3 comments:
infrid said... thanks a lot man. I was totally stuffed, unable to get past a bug in red5 and didn't know how to build trunk. Really grateful for this help.. I built the trunk and can now finish building the app. I might even be able to contribute one day too (assuming my java boogie get's a bit more woogie to it). 2:46 AM Hemang said... In RED5, standalone.java is running successfully, but While debugging Standalone.java in RED5, i am getting "Source was not found" error. It is indicating that the source attachment does not contain the sorce for the file Object.class and asking to change the source attachment. So i can't debug the code further more. I want to know about how RED5 is accepting request (handshaking with client) and how it converts source into RTMP format. You are requested to do some needful as i really need it 9:03 PM Niels Joubert said... Thanks for the comments guys. I am no longer actively working on Red5, having moved on to some other projects, so im sorry i can't answer questions off the bat anymore. I suggest talking to the Red5 community directly through the mailing lists on www.osflash.org/red5
Generated by www.PDFonFly.com
2:01 AM
Post a Comment
Home
Older Post
Generated by www.PDFonFly.com