DEAR VISITOR , YOU ARE WATCHING : How to Build Multiple Red5 Distributions - Red5 Video Tutorial .
[postlink]
https://j2ee-tutorials-videos.blogspot.com/2011/02/how-to-build-multiple-red5.html
[/postlink]
http://www.youtube.com/watch?v=wklnf1l7DyIendofvid [starttext] This is a Video Tutorial explains how to Build Multiple Red5 Distributions
Open eclipse, and open your red5_server project (that we build in a previous video), delete the dist folder (we will be recreating this folder in a minute and putting multiple distributions, each in their own folder, into this folder). Right click on the project, and click on Refresh.
Click on the Run Last Tool icon in the top nav of eclipse, then click on External Tools Configuration, and where it says Arguments, type in: -Ddist.dir=dist/r1 (where r1 stands for revision
1...you can name each revision r1, r2, r3, etc.), then click the Apply button, then click the Run button...and it will compile and it should say BUILD SUCCESSFUL. Now right click on your project and click on Refresh and you'll see the new r1 directory in your dist directory.
TO MAKE A SECOND DISTRIBUTION: Click on the the Run Last Tool icon in the top nav again, then click on External Tools Configuration, and where it says Arguments, type in: -Ddist.dir=dist/r2 (change the 1 to a 2), then click the Apply button, then click the Run button...and it will compile and it should say BUILD SUCCESSFUL. Now right click on your project and click on Refresh and you'll see the new r2 directory in your dist directory.
NOTE: The reason to create multiple Red5 distributions, is so that we can keep getting the latest Red5 source, without having to go back and update all our old projects.... so we can have different projects using different build distributions of Red5.
[endtext]
Open eclipse, and open your red5_server project (that we build in a previous video), delete the dist folder (we will be recreating this folder in a minute and putting multiple distributions, each in their own folder, into this folder). Right click on the project, and click on Refresh.
Click on the Run Last Tool icon in the top nav of eclipse, then click on External Tools Configuration, and where it says Arguments, type in: -Ddist.dir=dist/r1 (where r1 stands for revision
1...you can name each revision r1, r2, r3, etc.), then click the Apply button, then click the Run button...and it will compile and it should say BUILD SUCCESSFUL. Now right click on your project and click on Refresh and you'll see the new r1 directory in your dist directory.
TO MAKE A SECOND DISTRIBUTION: Click on the the Run Last Tool icon in the top nav again, then click on External Tools Configuration, and where it says Arguments, type in: -Ddist.dir=dist/r2 (change the 1 to a 2), then click the Apply button, then click the Run button...and it will compile and it should say BUILD SUCCESSFUL. Now right click on your project and click on Refresh and you'll see the new r2 directory in your dist directory.
NOTE: The reason to create multiple Red5 distributions, is so that we can keep getting the latest Red5 source, without having to go back and update all our old projects.... so we can have different projects using different build distributions of Red5.
[endtext]
0 commentaires :
Post a Comment