x


Enter your email address below to receive updates each time we publish new Video Tutorial.

Privacy guaranteed. We'll never share your info.

How to Create Red5 Application (without Red5plugin) - Red5 Video Tutorial

DEAR VISITOR , YOU ARE WATCHING : How to Create Red5 Application (without Red5plugin) - Red5 Video Tutorial .

[postlink] http://j2ee-tutorials-videos.blogspot.com/2011/02/how-to-create-red5-application-without.html [/postlink] http://www.youtube.com/watch?v=szgG9sFD7IQendofvid [starttext]

Go to http://code.google.com/p/red5/, scroll down to where it says Red5 0.9.0 Final, and click on the ZIP link, and save the file, red5-0.9.0.zip to your hard drive.
Scroll back up on the google site and click on Updates in the top nav, then click on r4037 (or whatever the latest is), click on /java/server/trunk/project.zip link, then right click on View Raw File, choose Save Target As, and save project.zip to your hard drive (to the same place where you saved the red5-0.9.0.zip.)
Scroll back up on the google site and click on trunk in the top nav, click on util.xml at the bottom of the list, right click on View Raw File, choose Save Target As, and save util.xml to your hard drive (to the same place where you saved the other 2 zips)
Now that all 3 files are saved to the same location, extract the red5-0.9.0.zip file (extract it to the same location as the zips). Extracting red5-0.9.0.zip will put a new lib folder there, and we will save something there in the next step.
Click on the Source tab on the Google site, and copy the URL from this line and paste in in your browser:
svn checkout http://red5.googlecode.com/svn/java/server/trunk/ red5-read-only
then click on the lib link, then right click on ivy-2.1.0.jar link and select Save Target As and save it to your hard drive. Save it to the lib folder that was created when you extracted red5-0.9.0.zip.
Open the build.properties file in Wordpad. (will be in the root of the folder where you extracted red5-0.9.0.zip). Find the ivy.version and make sure it is the same one you downloaded. (it should say ivy.version=ivy-2.1.0 if you downloaded ivy-2.1.0.jar).
Open a command prompt, and go to the directory where you downloaded the files and extracted red5-0.9.0.zip.
This is what I typed in the command prompt to change directories:
D:
cd D:\Red5\red5_project_maker

Now type in:
ant -f util.xml project

and now it will ask 3 questions about my project, so that it can create it for me:
[input] Please enter your projects name (ie. mycoolred5app):
testapp
[input] Please enter your workspace path (ie. c:\\eclipse\\workspace): [c:/eclipse/workspace]
C:\Documents and Settings\Administrator\My Documents\Eclipse
[input] Please enter your package namespace (ie. org.red5): [org.red5.app]:
com.testapp


Now it should say BUILD SUCCESSFUL, which means it has created the project for me.
If you go to your Eclipse workspace folder, you will see it has created a new testapp folder with the application in it.
IMPORT THE PROJECT TO ECLIPSE: Right click on the Project Explorer, choose Import, click on Import again, then select Existing Projects into Workspace under General, click Next > button. Then where it says Select root directory, give it the location of your testapp directory: C:\Documents and Settings\Administrator\My Documents\Eclipse\testapp, click on the Refresh button, then check the box that says Add project to working sets, then select All in the Working sets dropdown. Then click on Finish and it will import the application.
Right click on the testapp application, select Properties, click on Java Build Path in the left sidebar, then click on Projects tab, and you should see red5_server in the list that says Required projects on the build path. That is the project where we built the red5 distribution. Then click on OK button.
CREATE A SECOND APPLICATION: open the command prompt again. Again type in:
ant -f util.xml project

and again it will ask 3 questions:
[input] Please enter your projects name (ie. mycoolred5app):
testapp2
[input] Please enter your workspace path (ie. c:\\eclipse\\workspcae): [c:/eclipse/workspace]
C:\Documents and Settings\Administrator\My Documents\Eclipse
[input] Please enter your package namespace (ie. org.red5): [org.red5.app]:
com.testapp2


Now it should say BUILD SUCCESSFUL, which means it has created the project for me.
If you go to your Eclipse workspace folder, you will see it has created a new testapp2 folder with the application in it.
IMPORT THE SECOND PROJECT TO ECLIPSE: Right click on the Project Explorer, choose Import, click on Import again, then select Existing Projects into Workspace under General, click Next > button. Then where it says Select root directory, give it the location of your testapp2 directory: C:\Documents and Settings\Administrator\My Documents\Eclipse\testapp2, click on the Refresh button, then check the box that says Add project to working sets, then select All in the Working sets dropdown. Then click on Finish and it will import the application.
Right click on the testapp2 application, select Properties, click on Java Build Path in the left sidebar, then click on Projects tab, and you should see red5_server in the list that says Required projects on the build path. That is the project where we built the red5 distribution. Then click on OK button.

Source: http://www.red5guide.com/create_red5_application_without_plugin.html
[endtext]
This site does not store any files on its server.We only index and link to content provided by other sites.If you have any doubts about legality of content or you have another suspicions, feel free to contact us HERE - Thank you.

0 commentaires :

Post a Comment

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

You can see also

J2EE is an acronym for Java 2 Enterprise Edition. The Java 2 Enterprise Edition is Software that can be used along with the J2SE, the Java 2 Standard Edition which includes the compiler and the other fundamentals of Java. The J2EE software includes development and deployment systems for Java Servlet and Java ServerPages. Both of these combine Java and HTML to produce web pages on demand. Author Mohamed Habou . understand this powerful component of Java programming.

Android Cloud To Device Messaging Video Tutorial

JPA Video Tutorial

Spring MVC Video Tutorial

Spring Security Video Tutorial

Primefaces Video Tutorial

Struts Video Tutorial

Introduction to J2EE Videos Tutorials

Latest GWT Video Tutorials

Latest Spring Videos Tutorials

Latest Hibernate Videos Tutorials

Latest JAVA Video Tutorials

Latest Struts Videos Tutorials

J2EE is an acronym for Java 2 Enterprise Edition. The Java 2 Enterprise Edition is Software that can be used along with the J2SE, the Java 2 Standard Edition which includes the compiler and the other fundamentals of Java. The J2EE software includes development and deployment systems for Java Servlet and Java ServerPages. Both of these combine Java and HTML to produce web pages on demand. VTC Author Mohamed Habou takes you on a step by step guide to understanding this powerful component of Java programming.