NOTE#summary How to setup your development environment Development EnvironmentNote: The instructions assumes you are working on a Windows machine. There is no specific requirement on what type of machine or OS is needed. If it has enough processor and memory (at least 512MB), has Java installed, you're good to go. Create Directories- Create c:\tools - will be referred to as TOOLS_DIR for the rest of this document
- Create c:\source\client - will be referred to as CLIENT_DIR for the rest of this document
- Create c:\source\server - will be referred to as SERVER_DIR for the rest of this document
Download and Install SoftwareAnt- Download Ant
- Install ant in TOOLS_DIR - e.g. TOOLS_DIR\ant-1.7.0
- Click Start -> Control Panel -> System -> Advanced tab -> Environment Variables on your computer
- Add ANT_HOME in your system variables - e.g ANT_HOME = TOOLS_DIR\ant-1.7.0
- Add ANT_HOME\bin to your PATH
- Open a command prompt and run ant -version. You should see the ant version displayed.
Tomcat- Download Tomcat
- Install tomcat in TOOLS_DIR - e.g. TOOLS_DIR\tomcat-5.5.23
- Open a command prompt and cd to TOOLS_DIR\tomcat-5.5.23
- Run bin\catalina.bat start
- Open your browser and go to http://localhost:8080
- You should see the Tomcat page displayed
ActiveMQ- Download ActiveMQ
- Install activeMQ in TOOLS_DIR - e.g. TOOLS_DIR\activemq-4.1.1
- Open a command prompt and cd to TOOLS_DIR\activemq-4.1.1
- Run bin\activemq
- Make sure it starts without any problems
Eclipse- Download Eclipse IDE
- Install eclipse in TOOLS_DIR - e.g. TOOLS_DIR\eclipse-3.3
- Start eclipse and set your workspace to the SERVER_DIR
- Install the Subclipse plugin. Make sure you get the correct version
Flex Builder 2- Download Flex Builder 2
- Install flexbuilder in TOOLS_DIR - e.g. TOOLS_DIR\flex-2
- Start flexbuilder
- Install the Subclipse plugin. Make sure you get the correct version. Flex Builder is built on top of Eclipse 3.0/3.1
OpenOffice (Optional)- Follow the instructions on Installing OpenOffice
- Create a batch file, TOOLS_DIR\ooo-2.2\start-oo.bat
- Copy this command inside batch file -- C:\tools\ooo-2.2\program\soffice.exe -headless -accept="socket,port=8100;urp;"
- On a command window, run start-oo.bat
- Open another command window and run netstat -a and verify if your computer is LISTENING on port 8100
SWF Tools and PDF Toolkit- Download SWF Tools
- Download PDF Toolkit
- Install in TOOLS_DIR\swftools
- Add SWFTOOLS_HOME = TOOLS_DIR\swftools in you environment variables
- Add SWFTOOLS_HOME to your PATH
Asterisk- Download and install Asterisk 1.2 from Asterisk website.
- Apply meetme.c.patch.
- Configure Asterisk using sample conf.
Checkout Blindside Components- Checkout blindside-server and blindside-servlet from code repository on your Eclipse IDE and put into SERVER_DIR.
- Checkout blindside-client from code repository on your Flex IDE and put into CLIENT_DIR.
Running Blindside- Edit SERVER_DIR\blindside-servlet\war\WEB-INF\blindside.properties.
- swftoolLocation=c:/tools/pdf2swf (Edit to point to your pdf2swf executable)
- pdfExtractor=c:/tools/pdftk (Edit to point to your pdftk executable)
- presBaseDirectory=c:/temp/upload (directory where uploaded slides are extracted)
- extractedFolder=extracted
- Edit SERVER_DIR\blindside-server\webapps\astmeetme\WEB-INF\astmeetme.properties with your Asterisk Management Interface (AMI) values.
- These properties are for Asterisk Management Interface (AMI)
- ami.host=192.168.0.101
- ami.port=5038
- ami.username=
<username> - ami.password=
<password>
- Edit SERVER_DIR\blindside-server\webapps\conference\conferences\conferences.xml to create conference rooms. Make sure
<name> has an equivalent entry in your Asterisk's meetme.conf file.
<conference-room>
<name> 85101</name>
<mod-password> modpass</mod-password>
<view-password> viewpass</view-password>
</conference-room>
- Open a command window and start ActiveMQ.
- Open another command window and change directory to SERVER_DIR\blindside-server and start it by typing ant server.
- Open another command window and start Tomcat.
- Open another command window and change directory to SERVER_DIR\blindside-servlet and build it by typing ant warfile. This will generate blindside.war.
- Deploy blindside.war to your Tomcat installation.
- Open CLIENT_DIR\blindside-client\html-template\index.template.html change value of red5Host to your blindside-server and presentationHost to your tomcat-server.
- Run the blindside-client from your Flex IDE.
- Login using information you provided in conferences.xml.
- Convert a Powerpoint slide to PDF using OpenOffice or another tool.
- Upload the converted PDF slides to share presentation.
|
Regarding Eclipse and Flex Builder 2: The Flex Builder 2 plug-in isn't working on Eclipse 3.3!
Thomas, just install the full Flex Builder distribution, which includes an Eclipse kernel. You would have to use a version of Eclipse that can run the plug-in anyhow. So you might as well use the prepackaged version. It works fine for me. --Michael
I would like to join this project and learn from you guys at the same time.
I want to contribute as much as possible with this project and make the correct translation for the Portuguese language.
Regards,
Jean-Marcos
I upload pdf by presentation, the level of encrypting is 128-bit RC4. If I upload it, death cycle will happen. And I could not upload the pdf in other room,
how could I know that this file could't be used? msn j336699@163.com email j3366991@163.com thanks.la