[Red5devs] [red5 commit] r3092 - in flash/trunk: . admin bwcheck echo loadtest player4 port-tester publisher

codesite-noreply at google.com codesite-noreply at google.com
Tue Sep 23 06:35:12 PDT 2008


Author: thijs.triemstra
Date: Tue Sep 23 06:34:14 2008
New Revision: 3092

Added:
    flash/trunk/loadtest/build.properties
    flash/trunk/loadtest/build.xml
    flash/trunk/player4/build.properties
    flash/trunk/player4/build.xml
Modified:
    flash/trunk/admin/build.xml
    flash/trunk/bwcheck/build.properties
    flash/trunk/bwcheck/build.xml
    flash/trunk/echo/build.xml
    flash/trunk/flex.properties
    flash/trunk/port-tester/build.xml
    flash/trunk/publisher/build.xml

Log:
Update for the samples ant build files to support Flex 3.


Modified: flash/trunk/admin/build.xml
==============================================================================
--- flash/trunk/admin/build.xml	(original)
+++ flash/trunk/admin/build.xml	Tue Sep 23 06:34:14 2008
@@ -51,7 +51,7 @@
  	<!-- wrapper -->
  	<property
  		name="wrapper.dir"
-		 
location="${FLEX_HOME}/resources/html-templates/express-installation-with-history"/>
+		location="${FLEX_HOME}/templates/express-installation-with-history"/>
  	<property
  		name="output.debug.html"
  		location="${debug.build.dir}/${output.swf.name}-debug.html"/>
@@ -254,17 +254,16 @@
           - - - - - - - - - - - - - - - - - -->
      <target
      	name="docs">
-    	<mkdir
-    	    dir="${asdoc.output.dir}"/>
-    	<exec executable="${asdoc.exe}" failonerror="false">
+    	<mkdir dir="${asdoc.output.dir}"/>
+    	     <exec executable="${asdoc.exe}" failonerror="false">
  			<arg line='-source-path ${src.dir}'/>
  			<arg line='-doc-sources ${asdoc.domainextensions}'/>
-    		<arg value='-load-config=${flex.config.xml}'/>
+    		        <arg value='-load-config=${flex.config.xml}'/>
  			<arg line='-output ${asdoc.output.dir}'/>
-			<arg line='-templates-path ${asdoc.templates.dir}'/>
+			<arg line='-templates-path "${asdoc.templates.dir}"'/>
  			<arg line='-left-frameset-width ${asdoc.framewidth}'/>
  			<arg line='-benchmark'/>
-		</exec>
+	     </exec>
      </target>



Modified: flash/trunk/bwcheck/build.properties
==============================================================================
--- flash/trunk/bwcheck/build.properties	(original)
+++ flash/trunk/bwcheck/build.properties	Tue Sep 23 06:34:14 2008
@@ -8,7 +8,7 @@
  swf.debug.title = ${swf.release.title} (debug version)

  # Main MXML file.
-main.application = bwcheck.mxml
+main.application = src/bwcheck.mxml

  # Class-folders you want to search for classes to be included in the docs,
  # seperated by spaces (for example ../com/ ../net/  ).

Modified: flash/trunk/bwcheck/build.xml
==============================================================================
--- flash/trunk/bwcheck/build.xml	(original)
+++ flash/trunk/bwcheck/build.xml	Tue Sep 23 06:34:14 2008
@@ -1,304 +1,302 @@
-<?xml version="1.0"?>
-<!-- ======================================================================
-     bwcheck application
-
-     Dan Rossi
-     Thijs Triemstra
-      
====================================================================== -->
+<?xml version="1.0"?>
+<!-- ======================================================================
+     bwcheck application
+
+     Dan Rossi
+     Thijs Triemstra
+      
====================================================================== -->
  <project
  	name="bwcheck application"
  	default="build"
  	basedir=".">
-	
-	<!-- Flex SDK settings -->
-	<property file="../flex.properties" />
-
-	<!-- Project settings -->
-	<property file="./build.properties" />
+	
+	<!-- Flex SDK settings -->
+	<property file="../flex.properties" />
+
+	<!-- Project settings -->
+	<property file="./build.properties" />
    	
  	<!-- dirs -->
-	<property
-		name="release.build.dir"
-		location="${build.dir}/release/"/>
-	<property
-		name="debug.build.dir"
-		location="${build.dir}/debug/"/>
-	<property
-		name="lib.swc"
+	<property
+		name="release.build.dir"
+		location="${build.dir}/release/"/>
+	<property
+		name="debug.build.dir"
+		location="${build.dir}/debug/"/>
+	<property
+		name="lib.swc"
  		location="${lib.cairngorm.swc}"/>
  	<!-- files -->
-	<property
-		name="mxmlc.jar"
-		location="${FLEX_HOME}/lib/mxmlc.jar"/>
-	<property
-		name="main.application.release.out"
+	<property
+		name="mxmlc.jar"
+		location="${FLEX_HOME}/lib/mxmlc.jar"/>
+	<property
+		name="main.application.release.out"
  		location="${release.build.dir}/${output.swf.name}.swf"/>
-	<property
-		name="main.application.debug.out"
+	<property
+		name="main.application.debug.out"
  		location="${debug.build.dir}/${output.swf.name}-debug.swf"/>
  	<!-- wrapper -->
  	<property
  		name="wrapper.dir"
-		 
location="${FLEX_HOME}/templates/html-templates/express-installation-with-history"/>
-	<property
-		name="output.debug.html"
-		location="${debug.build.dir}/${output.swf.name}-debug.html"/>
-	<property
-		name="output.release.html"
+		location="${FLEX_HOME}/templates/express-installation-with-history"/>
+	<property
+		name="output.debug.html"
+		location="${debug.build.dir}/${output.swf.name}-debug.html"/>
+	<property
+		name="output.release.html"
  		location="${release.build.dir}/${output.swf.name}.html"/>
-	<property
-		name="swf.width"
-		value="100%"/>
-	<property
-		name="swf.height"
-		value="100%"/>
-	<property
-		name="swf.version.major"
+	<property
+		name="swf.width"
+		value="100%"/>
+	<property
+		name="swf.height"
+		value="100%"/>
+	<property
+		name="swf.version.major"
  		value="9"/>
-	<property
-		name="swf.version.minor"
+	<property
+		name="swf.version.minor"
  		value="0"/>
-	<property
-		name="swf.version.revision"
+	<property
+		name="swf.version.revision"
  		value="0"/>
-	<property
-		name="swf.application"
+	<property
+		name="swf.application"
  		value="${output.swf.name}"/>
-	<property
-		name="swf.swf"
+	<property
+		name="swf.swf"
  		value="${output.swf.name}"/>
-	<property
-		name="swf.bgcolor"
+	<property
+		name="swf.bgcolor"
  		value="#FFFFFF"/>
-
-    <description>
-    	bwcheck app
-    </description>
-
-    <!-- =================================
-          target: build
-         ================================= -->
+
+    <description>
+    	bwcheck app
+    </description>
+
+    <!-- =================================
+          target: build
+         ================================= -->
      <target
      	name="build"
-    	depends="clean,
-    			 init,
-    			 compile.release,
-    			 compile.debug,
-    			 make.release.wrapper,
-    			 make.debug.wrapper,
+    	depends="clean,
+    			 init,
+    			 compile.release,
+    			 compile.debug,
+    			 make.release.wrapper,
+    			 make.debug.wrapper,
      			 docs"
-    	description="--> ${swf.release.title} application">
+    	description="--> ${swf.release.title} application">
      </target>
  	
-	<!-- - - - - - - - - - - - - - - - - -
-          target: make.release.wrapper
-         - - - - - - - - - - - - - - - - - -->
-    <target
+	<!-- - - - - - - - - - - - - - - - - -
+          target: make.release.wrapper
+         - - - - - - - - - - - - - - - - - -->
+    <target
      	name="make.release.wrapper">
-    	<make.wrapper
-    		width="${swf.width}"
-    		height="${swf.height}"
-    		title="${swf.release.title}"
-    		version.major="${swf.version.major}"
-    		version.minor="${swf.version.minor}"
-    		version.revision="${swf.version.revision}"
-    		application="${swf.application}}"
-    		swf="${swf.swf}"
-    		bgcolor="${swf.bgcolor}"
-    		wrapper.dir="${wrapper.dir}"
-    		output.dir="${release.build.dir}"
-    		output.html="${output.release.html}" />
-    </target>
-
-	<!-- - - - - - - - - - - - - - - - - -
-          target: make.debug.wrapper
-         - - - - - - - - - - - - - - - - - -->
-    <target
-    	name="make.debug.wrapper">
-    	<make.wrapper
-    		width="${swf.width}"
-    		height="${swf.height}"
-    		title="${swf.debug.title}"
-    		version.major="${swf.version.major}"
-    		version.minor="${swf.version.minor}"
-    		version.revision="${swf.version.revision}"
-    		application="${swf.application}}"
-    		swf="${swf.swf}-debug"
-    		bgcolor="${swf.bgcolor}"
-    		wrapper.dir="${wrapper.dir}"
-    		output.dir="${debug.build.dir}"
-    		output.html="${output.debug.html}" />
-    </target>
-
-    <!-- - - - - - - - - - - - - - - - - -
-          target: compile.release
-         - - - - - - - - - - - - - - - - - -->
-    <target
+    	<make.wrapper
+    		width="${swf.width}"
+    		height="${swf.height}"
+    		title="${swf.release.title}"
+    		version.major="${swf.version.major}"
+    		version.minor="${swf.version.minor}"
+    		version.revision="${swf.version.revision}"
+    		application="${swf.application}}"
+    		swf="${swf.swf}"
+    		bgcolor="${swf.bgcolor}"
+    		wrapper.dir="${wrapper.dir}"
+    		output.dir="${release.build.dir}"
+    		output.html="${output.release.html}" />
+    </target>
+
+	<!-- - - - - - - - - - - - - - - - - -
+          target: make.debug.wrapper
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="make.debug.wrapper">
+    	<make.wrapper
+    		width="${swf.width}"
+    		height="${swf.height}"
+    		title="${swf.debug.title}"
+    		version.major="${swf.version.major}"
+    		version.minor="${swf.version.minor}"
+    		version.revision="${swf.version.revision}"
+    		application="${swf.application}}"
+    		swf="${swf.swf}-debug"
+    		bgcolor="${swf.bgcolor}"
+    		wrapper.dir="${wrapper.dir}"
+    		output.dir="${debug.build.dir}"
+    		output.html="${output.debug.html}" />
+    </target>
+
+    <!-- - - - - - - - - - - - - - - - - -
+          target: compile.release
+         - - - - - - - - - - - - - - - - - -->
+    <target
      	name="compile.release">
-    	<mxmlc.compile
-    		in="${main.application}"
-    		out="${main.application.release.out}"
-    	    additional='-benchmark -optimize=true  
-title "${swf.release.title}" -description "${swf.release.title}"' />
-    </target>
+    	<mxmlc.compile
+    		in="${main.application}"
+    		out="${main.application.release.out}"
+    	    additional='-benchmark -optimize=true  
-title "${swf.release.title}" -description "${swf.release.title}"' />
+    </target>
  	
-    <!-- - - - - - - - - - - - - - - - - -
-          target: compile.debug
-         - - - - - - - - - - - - - - - - - -->
-    <target
-    	name="compile.debug">
-    	<mxmlc.compile
-    		in="${main.application}"
-    		out="${main.application.debug.out}"
-    		additional="-debug=true -benchmark" />
-    </target>
-	
-	<!-- - - - - - - - - - - - - - - - - -
-          target: clean
-         - - - - - - - - - - - - - - - - - -->
-    <target
-    	name="clean">
-    	<delete
-    		dir="${asdoc.output.dir}"
-    		failOnError="false"
-    		includeEmptyDirs="true" />
-    	<delete
-    		dir="${build.dir}"
-    		failOnError="false"
+    <!-- - - - - - - - - - - - - - - - - -
+          target: compile.debug
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="compile.debug">
+    	<mxmlc.compile
+    		in="${main.application}"
+    		out="${main.application.debug.out}"
+    		additional="-debug=true -benchmark" />
+    </target>
+	
+	<!-- - - - - - - - - - - - - - - - - -
+          target: clean
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="clean">
+    	<delete
+    		dir="${asdoc.output.dir}"
+    		failOnError="false"
+    		includeEmptyDirs="true" />
+    	<delete
+    		dir="${build.dir}"
+    		failOnError="false"
      		includeEmptyDirs="true" />
      </target>
  	
-	<!-- - - - - - - - - - - - - - - - - -
-          target: init
-         - - - - - - - - - - - - - - - - - -->
-    <target
+	<!-- - - - - - - - - - - - - - - - - -
+          target: init
+         - - - - - - - - - - - - - - - - - -->
+    <target
      	name="init">
      	<mkdir
-    		dir="${build.dir}"/>
-    	<mkdir
-    		dir="${release.build.dir}"/>
-    	<mkdir
-    		dir="${debug.build.dir}"/>
-    </target>
-	
-	<!-- - - - - - - - - - - - - - - - - -
-          target: docs
-         - - - - - - - - - - - - - - - - - -->
-    <target
-    	name="docs">
-    	<mkdir
-    	    dir="${asdoc.output.dir}"/>
-    	<exec executable="${asdoc.exe}"
-    		failonerror="false">
-			<arg line='-source-path ${src.dir}'/>
-			<arg line='-doc-sources ${asdoc.domainextensions}'/>
-    		<arg value='-load-config=${flex.config.xml}'/>
-			<arg line='-output ${asdoc.output.dir}'/>
-			<arg line='-templates-path ${asdoc.templates.dir}'/>
-			<arg line='-left-frameset-width ${asdoc.framewidth}'/>
-			<arg line='-benchmark'/>
-		</exec>
-    </target>
-
-	<!-- = = = = = = = = = = = = = = = = =
-          macrodef: mxmlc.compile
-         = = = = = = = = = = = = = = = = = -->
-    <macrodef name="mxmlc.compile">
-        <attribute name="in" />
-        <attribute name="out" />
-    	<attribute
-    		name="additional"
-    		default="" />
-    	<attribute
-    	    name="config"
-    	    default="${flex.config.xml}" />
-        <sequential>
-        	<java
-        		jar="${mxmlc.jar}"
-        		fork="true"
-        		maxmemory="512m"
-        		failonerror="true">
-        		<arg line="-source-path ${src.dir}"/>
-        		<arg value="-library-path+=${lib.swc}"/>
-        		<arg value="+flexlib=${FLEX_HOME}/frameworks"/>
-        		<arg value="-load-config=@{config}"/>
-        		<arg value="-output=@{out}"/>
-        		<arg line="@{additional}"/>
-        		<arg value="@{in}" />
-        	</java>
-        </sequential>
-    </macrodef>
-	
-	<!-- = = = = = = = = = = = = = = = = =
-          macrodef: make.wrapper
-         = = = = = = = = = = = = = = = = = -->
-    <macrodef name="make.wrapper">
-        <attribute name="width" default="100%" />
-        <attribute name="height" default="100%" />
-        <attribute name="title" default="" />
-        <attribute name="version.major" default="9" />
-        <attribute name="version.minor" default="0" />
-        <attribute name="version.revision" default="0" />
-        <attribute name="application" default="" />
-        <attribute name="swf" default="" />
-        <attribute name="bgcolor" default="#869ca7" />
-        <attribute name="wrapper.dir" />
-        <attribute name="output.dir" />
-        <attribute name="output.html" />
-        <sequential>
-        	<copy todir="@{output.dir}">
-        		<fileset dir="@{wrapper.dir}">
-    	    		<exclude name="**/index.template.html" />
-        		</fileset>
-        	</copy>
-	    	<copy
-	    		file="@{wrapper.dir}/index.template.html"
-	    		tofile="@{output.html}" />
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{width\}"
-        		replace="@{width}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{height\}"
-        		replace="@{height}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{title\}"
-        		replace="@{title}"
-        		encoding="utf-8"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{version_major\}"
-        		replace="@{version.major}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{version_minor\}"
-        		replace="@{version.minor}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{version_revision\}"
-        		replace="@{version.revision}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{application\}"
-        		replace="@{application}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{bgcolor\}"
-        		replace="@{bgcolor}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{swf\}"
-        		replace="@{swf}"/>
-        </sequential>
-    </macrodef>
-</project>
\ No newline at end of file
+    		dir="${build.dir}"/>
+    	<mkdir
+    		dir="${release.build.dir}"/>
+    	<mkdir
+    		dir="${debug.build.dir}"/>
+    </target>
+	
+	<!-- - - - - - - - - - - - - - - - - -
+          target: docs
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="docs">
+    	<mkdir dir="${asdoc.output.dir}"/>
+    	<exec executable="${asdoc.exe}" failonerror="false">
+			<arg line='-source-path ${src.dir}'/>
+			<arg line='-doc-sources ${asdoc.domainextensions}'/>
+    		        <arg value='-load-config=${flex.config.xml}'/>
+			<arg line='-output ${asdoc.output.dir}'/>
+			<arg line='-templates-path "${asdoc.templates.dir}"'/>
+			<arg line='-left-frameset-width ${asdoc.framewidth}'/>
+			<arg line='-benchmark'/>
+		</exec>
+    </target>
+
+	<!-- = = = = = = = = = = = = = = = = =
+          macrodef: mxmlc.compile
+         = = = = = = = = = = = = = = = = = -->
+    <macrodef name="mxmlc.compile">
+        <attribute name="in" />
+        <attribute name="out" />
+    	<attribute
+    		name="additional"
+    		default="" />
+    	<attribute
+    	    name="config"
+    	    default="${flex.config.xml}" />
+        <sequential>
+        	<java
+        		jar="${mxmlc.jar}"
+        		fork="true"
+        		maxmemory="512m"
+        		failonerror="true">
+        		<arg line="-source-path ${src.dir}"/>
+        		<arg value="-library-path+=${lib.swc}"/>
+        		<arg value="+flexlib=${FLEX_HOME}/frameworks"/>
+        		<arg value="-load-config=@{config}"/>
+        		<arg value="-output=@{out}"/>
+        		<arg line="@{additional}"/>
+        		<arg value="@{in}" />
+        	</java>
+        </sequential>
+    </macrodef>
+	
+	<!-- = = = = = = = = = = = = = = = = =
+          macrodef: make.wrapper
+         = = = = = = = = = = = = = = = = = -->
+    <macrodef name="make.wrapper">
+        <attribute name="width" default="100%" />
+        <attribute name="height" default="100%" />
+        <attribute name="title" default="" />
+        <attribute name="version.major" default="9" />
+        <attribute name="version.minor" default="0" />
+        <attribute name="version.revision" default="0" />
+        <attribute name="application" default="" />
+        <attribute name="swf" default="" />
+        <attribute name="bgcolor" default="#869ca7" />
+        <attribute name="wrapper.dir" />
+        <attribute name="output.dir" />
+        <attribute name="output.html" />
+        <sequential>
+        	<copy todir="@{output.dir}">
+        		<fileset dir="@{wrapper.dir}">
+    	    		<exclude name="**/index.template.html" />
+        		</fileset>
+        	</copy>
+	    	<copy
+	    		file="@{wrapper.dir}/index.template.html"
+	    		tofile="@{output.html}" />
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{width\}"
+        		replace="@{width}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{height\}"
+        		replace="@{height}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{title\}"
+        		replace="@{title}"
+        		encoding="utf-8"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_major\}"
+        		replace="@{version.major}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_minor\}"
+        		replace="@{version.minor}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_revision\}"
+        		replace="@{version.revision}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{application\}"
+        		replace="@{application}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{bgcolor\}"
+        		replace="@{bgcolor}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{swf\}"
+        		replace="@{swf}"/>
+        </sequential>
+    </macrodef>
+</project>

Modified: flash/trunk/echo/build.xml
==============================================================================
--- flash/trunk/echo/build.xml	(original)
+++ flash/trunk/echo/build.xml	Tue Sep 23 06:34:14 2008
@@ -1,304 +1,302 @@
-<?xml version="1.0"?>
-<!-- ======================================================================
-     Echo Test application
-
-     Joachim Bauch
-     Thijs Triemstra
-      
====================================================================== -->
+<?xml version="1.0"?>
+<!-- ======================================================================
+     Echo Test application
+
+     Joachim Bauch
+     Thijs Triemstra
+      
====================================================================== -->
  <project
  	name="Echo Test application"
  	default="build"
  	basedir=".">
-	
-	<!-- Flex SDK settings -->
-	<property file="../flex.properties" />
-
-	<!-- Project settings -->
-	<property file="./build.properties" />
+	
+	<!-- Flex SDK settings -->
+	<property file="../flex.properties" />
+
+	<!-- Project settings -->
+	<property file="./build.properties" />
    	
  	<!-- dirs -->
-	<property
-		name="release.build.dir"
-		location="${build.dir}/release/"/>
-	<property
-		name="debug.build.dir"
-		location="${build.dir}/debug/"/>
-	<property
-		name="lib.swc"
+	<property
+		name="release.build.dir"
+		location="${build.dir}/release/"/>
+	<property
+		name="debug.build.dir"
+		location="${build.dir}/debug/"/>
+	<property
+		name="lib.swc"
  		location="${lib.cairngorm.swc}"/>
  	<!-- files -->
-	<property
-		name="mxmlc.jar"
-		location="${FLEX_HOME}/lib/mxmlc.jar"/>
-	<property
-		name="main.application.release.out"
+	<property
+		name="mxmlc.jar"
+		location="${FLEX_HOME}/lib/mxmlc.jar"/>
+	<property
+		name="main.application.release.out"
  		location="${release.build.dir}/${output.swf.name}.swf"/>
-	<property
-		name="main.application.debug.out"
+	<property
+		name="main.application.debug.out"
  		location="${debug.build.dir}/${output.swf.name}-debug.swf"/>
  	<!-- wrapper -->
  	<property
  		name="wrapper.dir"
-		 
location="${FLEX_HOME}/resources/html-templates/express-installation-with-history"/>
-	<property
-		name="output.debug.html"
-		location="${debug.build.dir}/${output.swf.name}-debug.html"/>
-	<property
-		name="output.release.html"
+		location="${FLEX_HOME}/templates/express-installation-with-history"/>
+	<property
+		name="output.debug.html"
+		location="${debug.build.dir}/${output.swf.name}-debug.html"/>
+	<property
+		name="output.release.html"
  		location="${release.build.dir}/${output.swf.name}.html"/>
-	<property
-		name="swf.width"
-		value="100%"/>
-	<property
-		name="swf.height"
-		value="100%"/>
-	<property
-		name="swf.version.major"
+	<property
+		name="swf.width"
+		value="100%"/>
+	<property
+		name="swf.height"
+		value="100%"/>
+	<property
+		name="swf.version.major"
  		value="9"/>
-	<property
-		name="swf.version.minor"
+	<property
+		name="swf.version.minor"
  		value="0"/>
-	<property
-		name="swf.version.revision"
+	<property
+		name="swf.version.revision"
  		value="0"/>
-	<property
-		name="swf.application"
+	<property
+		name="swf.application"
  		value="${output.swf.name}"/>
-	<property
-		name="swf.swf"
+	<property
+		name="swf.swf"
  		value="${output.swf.name}"/>
-	<property
-		name="swf.bgcolor"
+	<property
+		name="swf.bgcolor"
  		value="#FFFFFF"/>
-
-    <description>
-    	Red5 Publisher
-    </description>
-
-    <!-- =================================
-          target: build
-         ================================= -->
+
+    <description>
+    	Red5 Publisher
+    </description>
+
+    <!-- =================================
+          target: build
+         ================================= -->
      <target
      	name="build"
-    	depends="clean,
-    			 init,
-    			 compile.release,
-    			 compile.debug,
-    			 make.release.wrapper,
-    			 make.debug.wrapper,
+    	depends="clean,
+    			 init,
+    			 compile.release,
+    			 compile.debug,
+    			 make.release.wrapper,
+    			 make.debug.wrapper,
      			 docs"
-    	description="--> ${swf.release.title} application">
+    	description="--> ${swf.release.title} application">
      </target>
  	
-	<!-- - - - - - - - - - - - - - - - - -
-          target: make.release.wrapper
-         - - - - - - - - - - - - - - - - - -->
-    <target
+	<!-- - - - - - - - - - - - - - - - - -
+          target: make.release.wrapper
+         - - - - - - - - - - - - - - - - - -->
+    <target
      	name="make.release.wrapper">
-    	<make.wrapper
-    		width="${swf.width}"
-    		height="${swf.height}"
-    		title="${swf.release.title}"
-    		version.major="${swf.version.major}"
-    		version.minor="${swf.version.minor}"
-    		version.revision="${swf.version.revision}"
-    		application="${swf.application}}"
-    		swf="${swf.swf}"
-    		bgcolor="${swf.bgcolor}"
-    		wrapper.dir="${wrapper.dir}"
-    		output.dir="${release.build.dir}"
-    		output.html="${output.release.html}" />
-    </target>
-
-	<!-- - - - - - - - - - - - - - - - - -
-          target: make.debug.wrapper
-         - - - - - - - - - - - - - - - - - -->
-    <target
-    	name="make.debug.wrapper">
-    	<make.wrapper
-    		width="${swf.width}"
-    		height="${swf.height}"
-    		title="${swf.debug.title}"
-    		version.major="${swf.version.major}"
-    		version.minor="${swf.version.minor}"
-    		version.revision="${swf.version.revision}"
-    		application="${swf.application}}"
-    		swf="${swf.swf}-debug"
-    		bgcolor="${swf.bgcolor}"
-    		wrapper.dir="${wrapper.dir}"
-    		output.dir="${debug.build.dir}"
-    		output.html="${output.debug.html}" />
-    </target>
-
-    <!-- - - - - - - - - - - - - - - - - -
-          target: compile.release
-         - - - - - - - - - - - - - - - - - -->
-    <target
+    	<make.wrapper
+    		width="${swf.width}"
+    		height="${swf.height}"
+    		title="${swf.release.title}"
+    		version.major="${swf.version.major}"
+    		version.minor="${swf.version.minor}"
+    		version.revision="${swf.version.revision}"
+    		application="${swf.application}}"
+    		swf="${swf.swf}"
+    		bgcolor="${swf.bgcolor}"
+    		wrapper.dir="${wrapper.dir}"
+    		output.dir="${release.build.dir}"
+    		output.html="${output.release.html}" />
+    </target>
+
+	<!-- - - - - - - - - - - - - - - - - -
+          target: make.debug.wrapper
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="make.debug.wrapper">
+    	<make.wrapper
+    		width="${swf.width}"
+    		height="${swf.height}"
+    		title="${swf.debug.title}"
+    		version.major="${swf.version.major}"
+    		version.minor="${swf.version.minor}"
+    		version.revision="${swf.version.revision}"
+    		application="${swf.application}}"
+    		swf="${swf.swf}-debug"
+    		bgcolor="${swf.bgcolor}"
+    		wrapper.dir="${wrapper.dir}"
+    		output.dir="${debug.build.dir}"
+    		output.html="${output.debug.html}" />
+    </target>
+
+    <!-- - - - - - - - - - - - - - - - - -
+          target: compile.release
+         - - - - - - - - - - - - - - - - - -->
+    <target
      	name="compile.release">
-    	<mxmlc.compile
-    		in="${main.application}"
-    		out="${main.application.release.out}"
-    	    additional='-benchmark -optimize=true  
-title "${swf.release.title}" -description "${swf.release.title}"' />
-    </target>
+    	<mxmlc.compile
+    		in="${main.application}"
+    		out="${main.application.release.out}"
+    	    additional='-benchmark -optimize=true  
-title "${swf.release.title}" -description "${swf.release.title}"' />
+    </target>
  	
-    <!-- - - - - - - - - - - - - - - - - -
-          target: compile.debug
-         - - - - - - - - - - - - - - - - - -->
-    <target
-    	name="compile.debug">
-    	<mxmlc.compile
-    		in="${main.application}"
-    		out="${main.application.debug.out}"
-    		additional="-debug=true -benchmark" />
-    </target>
-	
-	<!-- - - - - - - - - - - - - - - - - -
-          target: clean
-         - - - - - - - - - - - - - - - - - -->
-    <target
-    	name="clean">
-    	<delete
-    		dir="${asdoc.output.dir}"
-    		failOnError="false"
-    		includeEmptyDirs="true" />
-    	<delete
-    		dir="${build.dir}"
-    		failOnError="false"
+    <!-- - - - - - - - - - - - - - - - - -
+          target: compile.debug
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="compile.debug">
+    	<mxmlc.compile
+    		in="${main.application}"
+    		out="${main.application.debug.out}"
+    		additional="-debug=true -benchmark" />
+    </target>
+	
+	<!-- - - - - - - - - - - - - - - - - -
+          target: clean
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="clean">
+    	<delete
+    		dir="${asdoc.output.dir}"
+    		failOnError="false"
+    		includeEmptyDirs="true" />
+    	<delete
+    		dir="${build.dir}"
+    		failOnError="false"
      		includeEmptyDirs="true" />
      </target>
  	
-	<!-- - - - - - - - - - - - - - - - - -
-          target: init
-         - - - - - - - - - - - - - - - - - -->
-    <target
+	<!-- - - - - - - - - - - - - - - - - -
+          target: init
+         - - - - - - - - - - - - - - - - - -->
+    <target
      	name="init">
      	<mkdir
-    		dir="${build.dir}"/>
-    	<mkdir
-    		dir="${release.build.dir}"/>
-    	<mkdir
-    		dir="${debug.build.dir}"/>
-    </target>
-	
-	<!-- - - - - - - - - - - - - - - - - -
-          target: docs
-         - - - - - - - - - - - - - - - - - -->
-    <target
-    	name="docs">
-    	<mkdir
-    	    dir="${asdoc.output.dir}"/>
-    	<exec executable="${asdoc.exe}"
-    		failonerror="false">
-			<arg line='-source-path ${src.dir}'/>
-			<arg line='-doc-sources ${asdoc.domainextensions}'/>
-    		<arg value='-load-config=${flex.config.xml}'/>
-			<arg line='-output ${asdoc.output.dir}'/>
-			<arg line='-templates-path ${asdoc.templates.dir}'/>
-			<arg line='-left-frameset-width ${asdoc.framewidth}'/>
-			<arg line='-benchmark'/>
-		</exec>
-    </target>
-
-	<!-- = = = = = = = = = = = = = = = = =
-          macrodef: mxmlc.compile
-         = = = = = = = = = = = = = = = = = -->
-    <macrodef name="mxmlc.compile">
-        <attribute name="in" />
-        <attribute name="out" />
-    	<attribute
-    		name="additional"
-    		default="" />
-    	<attribute
-    	    name="config"
-    	    default="${flex.config.xml}" />
-        <sequential>
-        	<java
-        		jar="${mxmlc.jar}"
-        		fork="true"
-        		maxmemory="512m"
-        		failonerror="true">
-        		<arg line="-source-path ${src.dir}"/>
-        		<arg value="-library-path+=${lib.swc}"/>
-        		<arg value="+flexlib=${FLEX_HOME}/frameworks"/>
-        		<arg value="-load-config=@{config}"/>
-        		<arg value="-output=@{out}"/>
-        		<arg line="@{additional}"/>
-        		<arg value="@{in}" />
-        	</java>
-        </sequential>
-    </macrodef>
-	
-	<!-- = = = = = = = = = = = = = = = = =
-          macrodef: make.wrapper
-         = = = = = = = = = = = = = = = = = -->
-    <macrodef name="make.wrapper">
-        <attribute name="width" default="100%" />
-        <attribute name="height" default="100%" />
-        <attribute name="title" default="" />
-        <attribute name="version.major" default="9" />
-        <attribute name="version.minor" default="0" />
-        <attribute name="version.revision" default="0" />
-        <attribute name="application" default="" />
-        <attribute name="swf" default="" />
-        <attribute name="bgcolor" default="#869ca7" />
-        <attribute name="wrapper.dir" />
-        <attribute name="output.dir" />
-        <attribute name="output.html" />
-        <sequential>
-        	<copy todir="@{output.dir}">
-        		<fileset dir="@{wrapper.dir}">
-    	    		<exclude name="**/index.template.html" />
-        		</fileset>
-        	</copy>
-	    	<copy
-	    		file="@{wrapper.dir}/index.template.html"
-	    		tofile="@{output.html}" />
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{width\}"
-        		replace="@{width}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{height\}"
-        		replace="@{height}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{title\}"
-        		replace="@{title}"
-        		encoding="utf-8"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{version_major\}"
-        		replace="@{version.major}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{version_minor\}"
-        		replace="@{version.minor}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{version_revision\}"
-        		replace="@{version.revision}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{application\}"
-        		replace="@{application}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{bgcolor\}"
-        		replace="@{bgcolor}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{swf\}"
-        		replace="@{swf}"/>
-        </sequential>
-    </macrodef>
-</project>
\ No newline at end of file
+    		dir="${build.dir}"/>
+    	<mkdir
+    		dir="${release.build.dir}"/>
+    	<mkdir
+    		dir="${debug.build.dir}"/>
+    </target>
+	
+	<!-- - - - - - - - - - - - - - - - - -
+          target: docs
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="docs">
+    	<mkdir dir="${asdoc.output.dir}"/>
+    	<exec executable="${asdoc.exe}" failonerror="false">
+			<arg line='-source-path ${src.dir}'/>
+			<arg line='-doc-sources ${asdoc.domainextensions}'/>
+    		        <arg value='-load-config=${flex.config.xml}'/>
+			<arg line='-output ${asdoc.output.dir}'/>
+			<arg line='-templates-path "${asdoc.templates.dir}"'/>
+			<arg line='-left-frameset-width ${asdoc.framewidth}'/>
+			<arg line='-benchmark'/>
+		</exec>
+    </target>
+
+	<!-- = = = = = = = = = = = = = = = = =
+          macrodef: mxmlc.compile
+         = = = = = = = = = = = = = = = = = -->
+    <macrodef name="mxmlc.compile">
+        <attribute name="in" />
+        <attribute name="out" />
+    	<attribute
+    		name="additional"
+    		default="" />
+    	<attribute
+    	    name="config"
+    	    default="${flex.config.xml}" />
+        <sequential>
+        	<java
+        		jar="${mxmlc.jar}"
+        		fork="true"
+        		maxmemory="512m"
+        		failonerror="true">
+        		<arg line="-source-path ${src.dir}"/>
+        		<arg value="-library-path+=${lib.swc}"/>
+        		<arg value="+flexlib=${FLEX_HOME}/frameworks"/>
+        		<arg value="-load-config=@{config}"/>
+        		<arg value="-output=@{out}"/>
+        		<arg line="@{additional}"/>
+        		<arg value="@{in}" />
+        	</java>
+        </sequential>
+    </macrodef>
+	
+	<!-- = = = = = = = = = = = = = = = = =
+          macrodef: make.wrapper
+         = = = = = = = = = = = = = = = = = -->
+    <macrodef name="make.wrapper">
+        <attribute name="width" default="100%" />
+        <attribute name="height" default="100%" />
+        <attribute name="title" default="" />
+        <attribute name="version.major" default="9" />
+        <attribute name="version.minor" default="0" />
+        <attribute name="version.revision" default="0" />
+        <attribute name="application" default="" />
+        <attribute name="swf" default="" />
+        <attribute name="bgcolor" default="#869ca7" />
+        <attribute name="wrapper.dir" />
+        <attribute name="output.dir" />
+        <attribute name="output.html" />
+        <sequential>
+        	<copy todir="@{output.dir}">
+        		<fileset dir="@{wrapper.dir}">
+    	    		<exclude name="**/index.template.html" />
+        		</fileset>
+        	</copy>
+	    	<copy
+	    		file="@{wrapper.dir}/index.template.html"
+	    		tofile="@{output.html}" />
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{width\}"
+        		replace="@{width}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{height\}"
+        		replace="@{height}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{title\}"
+        		replace="@{title}"
+        		encoding="utf-8"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_major\}"
+        		replace="@{version.major}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_minor\}"
+        		replace="@{version.minor}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_revision\}"
+        		replace="@{version.revision}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{application\}"
+        		replace="@{application}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{bgcolor\}"
+        		replace="@{bgcolor}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{swf\}"
+        		replace="@{swf}"/>
+        </sequential>
+    </macrodef>
+</project>

Modified: flash/trunk/flex.properties
==============================================================================
--- flash/trunk/flex.properties	(original)
+++ flash/trunk/flex.properties	Tue Sep 23 06:34:14 2008
@@ -1,5 +1,5 @@
  # The location of your Flex SDK (no spaces allowed in path!).
-FLEX_HOME=
+FLEX_HOME = /Applications/Adobe Flex Builder 3 Plug-in/sdks/3.0.0/

  # Specifies the location of the configuration file that defines compiler  
options.
  flex.config.xml = ${FLEX_HOME}/frameworks/flex-config.xml
@@ -27,4 +27,4 @@
  asdoc.output.dir = doc

  # Left frameset width.
-asdoc.framewidth = 300
\ No newline at end of file
+asdoc.framewidth = 300

Added: flash/trunk/loadtest/build.properties
==============================================================================
--- (empty file)
+++ flash/trunk/loadtest/build.properties	Tue Sep 23 06:34:14 2008
@@ -0,0 +1,16 @@
+# SWF output filename.
+output.swf.name = loadtest
+
+# Default HTML page title.
+swf.release.title = Load Test
+
+# Debug HTML page title.
+swf.debug.title = ${swf.release.title} (debug version)
+
+# Main MXML file.
+main.application = src/loadtest.mxml
+
+# Class-folders you want to search for classes to be included in the docs,
+# seperated by spaces (for example ../com/ ../net/  ).
+# To include every .as and .mxml file within your project, just state   ../
+asdoc.domainextensions = src

Added: flash/trunk/loadtest/build.xml
==============================================================================
--- (empty file)
+++ flash/trunk/loadtest/build.xml	Tue Sep 23 06:34:14 2008
@@ -0,0 +1,300 @@
+<?xml version="1.0"?>
+<!-- ======================================================================
+     Load Test application
+
+      
====================================================================== -->
+<project
+	name="Load Test application"
+	default="build"
+	basedir=".">
+	
+	<!-- Flex SDK settings -->
+	<property file="../flex.properties" />
+
+	<!-- Project settings -->
+	<property file="./build.properties" />
+  	
+	<!-- dirs -->
+	<property
+		name="release.build.dir"
+		location="${build.dir}/release/"/>
+	<property
+		name="debug.build.dir"
+		location="${build.dir}/debug/"/>
+	<property
+		name="lib.swc"
+		location="${lib.cairngorm.swc}"/>
+	<!-- files -->
+	<property
+		name="mxmlc.jar"
+		location="${FLEX_HOME}/lib/mxmlc.jar"/>
+	<property
+		name="main.application.release.out"
+		location="${release.build.dir}/${output.swf.name}.swf"/>
+	<property
+		name="main.application.debug.out"
+		location="${debug.build.dir}/${output.swf.name}-debug.swf"/>
+	<!-- wrapper -->
+	<property
+		name="wrapper.dir"
+		location="${FLEX_HOME}/templates/express-installation-with-history"/>
+	<property
+		name="output.debug.html"
+		location="${debug.build.dir}/${output.swf.name}-debug.html"/>
+	<property
+		name="output.release.html"
+		location="${release.build.dir}/${output.swf.name}.html"/>
+	<property
+		name="swf.width"
+		value="100%"/>
+	<property
+		name="swf.height"
+		value="100%"/>
+	<property
+		name="swf.version.major"
+		value="9"/>
+	<property
+		name="swf.version.minor"
+		value="0"/>
+	<property
+		name="swf.version.revision"
+		value="0"/>
+	<property
+		name="swf.application"
+		value="${output.swf.name}"/>
+	<property
+		name="swf.swf"
+		value="${output.swf.name}"/>
+	<property
+		name="swf.bgcolor"
+		value="#FFFFFF"/>
+
+    <description>
+    	Red5 Load Test
+    </description>
+
+    <!-- =================================
+          target: build
+         ================================= -->
+    <target
+    	name="build"
+    	depends="clean,
+    			 init,
+    			 compile.release,
+    			 compile.debug,
+    			 make.release.wrapper,
+    			 make.debug.wrapper,
+    			 docs"
+    	description="--> ${swf.release.title} application">
+    </target>
+	
+	<!-- - - - - - - - - - - - - - - - - -
+          target: make.release.wrapper
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="make.release.wrapper">
+    	<make.wrapper
+    		width="${swf.width}"
+    		height="${swf.height}"
+    		title="${swf.release.title}"
+    		version.major="${swf.version.major}"
+    		version.minor="${swf.version.minor}"
+    		version.revision="${swf.version.revision}"
+    		application="${swf.application}}"
+    		swf="${swf.swf}"
+    		bgcolor="${swf.bgcolor}"
+    		wrapper.dir="${wrapper.dir}"
+    		output.dir="${release.build.dir}"
+    		output.html="${output.release.html}" />
+    </target>
+
+	<!-- - - - - - - - - - - - - - - - - -
+          target: make.debug.wrapper
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="make.debug.wrapper">
+    	<make.wrapper
+    		width="${swf.width}"
+    		height="${swf.height}"
+    		title="${swf.debug.title}"
+    		version.major="${swf.version.major}"
+    		version.minor="${swf.version.minor}"
+    		version.revision="${swf.version.revision}"
+    		application="${swf.application}}"
+    		swf="${swf.swf}-debug"
+    		bgcolor="${swf.bgcolor}"
+    		wrapper.dir="${wrapper.dir}"
+    		output.dir="${debug.build.dir}"
+    		output.html="${output.debug.html}" />
+    </target>
+
+    <!-- - - - - - - - - - - - - - - - - -
+          target: compile.release
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="compile.release">
+    	<mxmlc.compile
+    		in="${main.application}"
+    		out="${main.application.release.out}"
+    	    additional='-benchmark -optimize=true  
-title "${swf.release.title}" -description "${swf.release.title}"' />
+    </target>
+	
+    <!-- - - - - - - - - - - - - - - - - -
+          target: compile.debug
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="compile.debug">
+    	<mxmlc.compile
+    		in="${main.application}"
+    		out="${main.application.debug.out}"
+    		additional="-debug=true -benchmark" />
+    </target>
+	
+	<!-- - - - - - - - - - - - - - - - - -
+          target: clean
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="clean">
+    	<delete
+    		dir="${asdoc.output.dir}"
+    		failOnError="false"
+    		includeEmptyDirs="true" />
+    	<delete
+    		dir="${build.dir}"
+    		failOnError="false"
+    		includeEmptyDirs="true" />
+    </target>
+	
+	<!-- - - - - - - - - - - - - - - - - -
+          target: init
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="init">
+    	<mkdir
+    		dir="${build.dir}"/>
+    	<mkdir
+    		dir="${release.build.dir}"/>
+    	<mkdir
+    		dir="${debug.build.dir}"/>
+    </target>
+	
+	<!-- - - - - - - - - - - - - - - - - -
+          target: docs
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="docs">
+    	<mkdir dir="${asdoc.output.dir}"/>
+    	<exec executable="${asdoc.exe}" failonerror="false">
+			<arg line='-source-path ${src.dir}'/>
+			<arg line='-doc-sources ${asdoc.domainextensions}'/>
+    		        <arg value='-load-config=${flex.config.xml}'/>
+			<arg line='-output ${asdoc.output.dir}'/>
+			<arg line='-templates-path "${asdoc.templates.dir}"'/>
+			<arg line='-left-frameset-width ${asdoc.framewidth}'/>
+			<arg line='-benchmark'/>
+		</exec>
+    </target>
+
+	<!-- = = = = = = = = = = = = = = = = =
+          macrodef: mxmlc.compile
+         = = = = = = = = = = = = = = = = = -->
+    <macrodef name="mxmlc.compile">
+        <attribute name="in" />
+        <attribute name="out" />
+    	<attribute
+    		name="additional"
+    		default="" />
+    	<attribute
+    	    name="config"
+    	    default="${flex.config.xml}" />
+        <sequential>
+        	<java
+        		jar="${mxmlc.jar}"
+        		fork="true"
+        		maxmemory="512m"
+        		failonerror="true">
+        		<arg line="-source-path ${src.dir}"/>
+        		<arg value="-library-path+=${lib.swc}"/>
+        		<arg value="+flexlib=${FLEX_HOME}/frameworks"/>
+        		<arg value="-load-config=@{config}"/>
+        		<arg value="-output=@{out}"/>
+        		<arg line="@{additional}"/>
+        		<arg value="@{in}" />
+        	</java>
+        </sequential>
+    </macrodef>
+	
+	<!-- = = = = = = = = = = = = = = = = =
+          macrodef: make.wrapper
+         = = = = = = = = = = = = = = = = = -->
+    <macrodef name="make.wrapper">
+        <attribute name="width" default="100%" />
+        <attribute name="height" default="100%" />
+        <attribute name="title" default="" />
+        <attribute name="version.major" default="9" />
+        <attribute name="version.minor" default="0" />
+        <attribute name="version.revision" default="0" />
+        <attribute name="application" default="" />
+        <attribute name="swf" default="" />
+        <attribute name="bgcolor" default="#869ca7" />
+        <attribute name="wrapper.dir" />
+        <attribute name="output.dir" />
+        <attribute name="output.html" />
+        <sequential>
+        	<copy todir="@{output.dir}">
+        		<fileset dir="@{wrapper.dir}">
+    	    		<exclude name="**/index.template.html" />
+        		</fileset>
+        	</copy>
+	    	<copy
+	    		file="@{wrapper.dir}/index.template.html"
+	    		tofile="@{output.html}" />
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{width\}"
+        		replace="@{width}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{height\}"
+        		replace="@{height}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{title\}"
+        		replace="@{title}"
+        		encoding="utf-8"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_major\}"
+        		replace="@{version.major}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_minor\}"
+        		replace="@{version.minor}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_revision\}"
+        		replace="@{version.revision}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{application\}"
+        		replace="@{application}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{bgcolor\}"
+        		replace="@{bgcolor}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{swf\}"
+        		replace="@{swf}"/>
+        </sequential>
+    </macrodef>
+</project>

Added: flash/trunk/player4/build.properties
==============================================================================
--- (empty file)
+++ flash/trunk/player4/build.properties	Tue Sep 23 06:34:14 2008
@@ -0,0 +1,16 @@
+# SWF output filename.
+output.swf.name = player4
+
+# Default HTML page title.
+swf.release.title = Player4
+
+# Debug HTML page title.
+swf.debug.title = ${swf.release.title} (debug version)
+
+# Main MXML file.
+main.application = src/player4.mxml
+
+# Class-folders you want to search for classes to be included in the docs,
+# seperated by spaces (for example ../com/ ../net/  ).
+# To include every .as and .mxml file within your project, just state   ../
+asdoc.domainextensions = src

Added: flash/trunk/player4/build.xml
==============================================================================
--- (empty file)
+++ flash/trunk/player4/build.xml	Tue Sep 23 06:34:14 2008
@@ -0,0 +1,299 @@
+<?xml version="1.0"?>
+<!-- ======================================================================
+     Player4 application
+      
====================================================================== -->
+<project
+	name="Player4 application"
+	default="build"
+	basedir=".">
+	
+	<!-- Flex SDK settings -->
+	<property file="../flex.properties" />
+
+	<!-- Project settings -->
+	<property file="./build.properties" />
+  	
+	<!-- dirs -->
+	<property
+		name="release.build.dir"
+		location="${build.dir}/release/"/>
+	<property
+		name="debug.build.dir"
+		location="${build.dir}/debug/"/>
+	<property
+		name="lib.swc"
+		location="${lib.cairngorm.swc}"/>
+	<!-- files -->
+	<property
+		name="mxmlc.jar"
+		location="${FLEX_HOME}/lib/mxmlc.jar"/>
+	<property
+		name="main.application.release.out"
+		location="${release.build.dir}/${output.swf.name}.swf"/>
+	<property
+		name="main.application.debug.out"
+		location="${debug.build.dir}/${output.swf.name}-debug.swf"/>
+	<!-- wrapper -->
+	<property
+		name="wrapper.dir"
+		location="${FLEX_HOME}/templates/express-installation-with-history"/>
+	<property
+		name="output.debug.html"
+		location="${debug.build.dir}/${output.swf.name}-debug.html"/>
+	<property
+		name="output.release.html"
+		location="${release.build.dir}/${output.swf.name}.html"/>
+	<property
+		name="swf.width"
+		value="100%"/>
+	<property
+		name="swf.height"
+		value="100%"/>
+	<property
+		name="swf.version.major"
+		value="9"/>
+	<property
+		name="swf.version.minor"
+		value="0"/>
+	<property
+		name="swf.version.revision"
+		value="0"/>
+	<property
+		name="swf.application"
+		value="${output.swf.name}"/>
+	<property
+		name="swf.swf"
+		value="${output.swf.name}"/>
+	<property
+		name="swf.bgcolor"
+		value="#FFFFFF"/>
+
+    <description>
+    	Red5 Player4
+    </description>
+
+    <!-- =================================
+          target: build
+         ================================= -->
+    <target
+    	name="build"
+    	depends="clean,
+    			 init,
+    			 compile.release,
+    			 compile.debug,
+    			 make.release.wrapper,
+    			 make.debug.wrapper,
+    			 docs"
+    	description="--> ${swf.release.title} application">
+    </target>
+	
+	<!-- - - - - - - - - - - - - - - - - -
+          target: make.release.wrapper
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="make.release.wrapper">
+    	<make.wrapper
+    		width="${swf.width}"
+    		height="${swf.height}"
+    		title="${swf.release.title}"
+    		version.major="${swf.version.major}"
+    		version.minor="${swf.version.minor}"
+    		version.revision="${swf.version.revision}"
+    		application="${swf.application}}"
+    		swf="${swf.swf}"
+    		bgcolor="${swf.bgcolor}"
+    		wrapper.dir="${wrapper.dir}"
+    		output.dir="${release.build.dir}"
+    		output.html="${output.release.html}" />
+    </target>
+
+	<!-- - - - - - - - - - - - - - - - - -
+          target: make.debug.wrapper
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="make.debug.wrapper">
+    	<make.wrapper
+    		width="${swf.width}"
+    		height="${swf.height}"
+    		title="${swf.debug.title}"
+    		version.major="${swf.version.major}"
+    		version.minor="${swf.version.minor}"
+    		version.revision="${swf.version.revision}"
+    		application="${swf.application}}"
+    		swf="${swf.swf}-debug"
+    		bgcolor="${swf.bgcolor}"
+    		wrapper.dir="${wrapper.dir}"
+    		output.dir="${debug.build.dir}"
+    		output.html="${output.debug.html}" />
+    </target>
+
+    <!-- - - - - - - - - - - - - - - - - -
+          target: compile.release
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="compile.release">
+    	<mxmlc.compile
+    		in="${main.application}"
+    		out="${main.application.release.out}"
+    	    additional='-benchmark -optimize=true  
-title "${swf.release.title}" -description "${swf.release.title}"' />
+    </target>
+	
+    <!-- - - - - - - - - - - - - - - - - -
+          target: compile.debug
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="compile.debug">
+    	<mxmlc.compile
+    		in="${main.application}"
+    		out="${main.application.debug.out}"
+    		additional="-debug=true -benchmark" />
+    </target>
+	
+	<!-- - - - - - - - - - - - - - - - - -
+          target: clean
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="clean">
+    	<delete
+    		dir="${asdoc.output.dir}"
+    		failOnError="false"
+    		includeEmptyDirs="true" />
+    	<delete
+    		dir="${build.dir}"
+    		failOnError="false"
+    		includeEmptyDirs="true" />
+    </target>
+	
+	<!-- - - - - - - - - - - - - - - - - -
+          target: init
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="init">
+    	<mkdir
+    		dir="${build.dir}"/>
+    	<mkdir
+    		dir="${release.build.dir}"/>
+    	<mkdir
+    		dir="${debug.build.dir}"/>
+    </target>
+	
+	<!-- - - - - - - - - - - - - - - - - -
+          target: docs
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="docs">
+    	<mkdir dir="${asdoc.output.dir}"/>
+    	<exec executable="${asdoc.exe}" failonerror="false">
+			<arg line='-source-path ${src.dir}'/>
+			<arg line='-doc-sources ${asdoc.domainextensions}'/>
+    		        <arg value='-load-config=${flex.config.xml}'/>
+			<arg line='-output ${asdoc.output.dir}'/>
+			<arg line='-templates-path "${asdoc.templates.dir}"'/>
+			<arg line='-left-frameset-width ${asdoc.framewidth}'/>
+			<arg line='-benchmark'/>
+		</exec>
+    </target>
+
+	<!-- = = = = = = = = = = = = = = = = =
+          macrodef: mxmlc.compile
+         = = = = = = = = = = = = = = = = = -->
+    <macrodef name="mxmlc.compile">
+        <attribute name="in" />
+        <attribute name="out" />
+    	<attribute
+    		name="additional"
+    		default="" />
+    	<attribute
+    	    name="config"
+    	    default="${flex.config.xml}" />
+        <sequential>
+        	<java
+        		jar="${mxmlc.jar}"
+        		fork="true"
+        		maxmemory="512m"
+        		failonerror="true">
+        		<arg line="-source-path ${src.dir}"/>
+        		<arg value="-library-path+=${lib.swc}"/>
+        		<arg value="+flexlib=${FLEX_HOME}/frameworks"/>
+        		<arg value="-load-config=@{config}"/>
+        		<arg value="-output=@{out}"/>
+        		<arg line="@{additional}"/>
+        		<arg value="@{in}" />
+        	</java>
+        </sequential>
+    </macrodef>
+	
+	<!-- = = = = = = = = = = = = = = = = =
+          macrodef: make.wrapper
+         = = = = = = = = = = = = = = = = = -->
+    <macrodef name="make.wrapper">
+        <attribute name="width" default="100%" />
+        <attribute name="height" default="100%" />
+        <attribute name="title" default="" />
+        <attribute name="version.major" default="9" />
+        <attribute name="version.minor" default="0" />
+        <attribute name="version.revision" default="0" />
+        <attribute name="application" default="" />
+        <attribute name="swf" default="" />
+        <attribute name="bgcolor" default="#869ca7" />
+        <attribute name="wrapper.dir" />
+        <attribute name="output.dir" />
+        <attribute name="output.html" />
+        <sequential>
+        	<copy todir="@{output.dir}">
+        		<fileset dir="@{wrapper.dir}">
+    	    		<exclude name="**/index.template.html" />
+        		</fileset>
+        	</copy>
+	    	<copy
+	    		file="@{wrapper.dir}/index.template.html"
+	    		tofile="@{output.html}" />
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{width\}"
+        		replace="@{width}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{height\}"
+        		replace="@{height}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{title\}"
+        		replace="@{title}"
+        		encoding="utf-8"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_major\}"
+        		replace="@{version.major}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_minor\}"
+        		replace="@{version.minor}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_revision\}"
+        		replace="@{version.revision}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{application\}"
+        		replace="@{application}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{bgcolor\}"
+        		replace="@{bgcolor}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{swf\}"
+        		replace="@{swf}"/>
+        </sequential>
+    </macrodef>
+</project>

Modified: flash/trunk/port-tester/build.xml
==============================================================================
--- flash/trunk/port-tester/build.xml	(original)
+++ flash/trunk/port-tester/build.xml	Tue Sep 23 06:34:14 2008
@@ -1,304 +1,301 @@
-<?xml version="1.0"?>
-<!-- ======================================================================
-     Echo Test application
-
-     Joachim Bauch
-     Thijs Triemstra
-      
====================================================================== -->
+<?xml version="1.0"?>
+<!-- ======================================================================
+     Port Tester application
+
+     Thijs Triemstra
+      
====================================================================== -->
  <project
-	name="Echo Test application"
+	name="Port Tester application"
  	default="build"
  	basedir=".">
-	
-	<!-- Flex SDK settings -->
-	<property file="../flex.properties" />
-
-	<!-- Project settings -->
-	<property file="./build.properties" />
+	
+	<!-- Flex SDK settings -->
+	<property file="../flex.properties" />
+
+	<!-- Project settings -->
+	<property file="./build.properties" />
    	
  	<!-- dirs -->
-	<property
-		name="release.build.dir"
-		location="${build.dir}/release/"/>
-	<property
-		name="debug.build.dir"
-		location="${build.dir}/debug/"/>
-	<property
-		name="lib.swc"
+	<property
+		name="release.build.dir"
+		location="${build.dir}/release/"/>
+	<property
+		name="debug.build.dir"
+		location="${build.dir}/debug/"/>
+	<property
+		name="lib.swc"
  		location="${lib.cairngorm.swc}"/>
  	<!-- files -->
-	<property
-		name="mxmlc.jar"
-		location="${FLEX_HOME}/lib/mxmlc.jar"/>
-	<property
-		name="main.application.release.out"
+	<property
+		name="mxmlc.jar"
+		location="${FLEX_HOME}/lib/mxmlc.jar"/>
+	<property
+		name="main.application.release.out"
  		location="${release.build.dir}/${output.swf.name}.swf"/>
-	<property
-		name="main.application.debug.out"
+	<property
+		name="main.application.debug.out"
  		location="${debug.build.dir}/${output.swf.name}-debug.swf"/>
  	<!-- wrapper -->
  	<property
  		name="wrapper.dir"
-		 
location="${FLEX_HOME}/resources/html-templates/express-installation-with-history"/>
-	<property
-		name="output.debug.html"
-		location="${debug.build.dir}/${output.swf.name}-debug.html"/>
-	<property
-		name="output.release.html"
+		location="${FLEX_HOME}/templates/express-installation-with-history"/>
+	<property
+		name="output.debug.html"
+		location="${debug.build.dir}/${output.swf.name}-debug.html"/>
+	<property
+		name="output.release.html"
  		location="${release.build.dir}/${output.swf.name}.html"/>
-	<property
-		name="swf.width"
-		value="100%"/>
-	<property
-		name="swf.height"
-		value="100%"/>
-	<property
-		name="swf.version.major"
+	<property
+		name="swf.width"
+		value="100%"/>
+	<property
+		name="swf.height"
+		value="100%"/>
+	<property
+		name="swf.version.major"
  		value="9"/>
-	<property
-		name="swf.version.minor"
+	<property
+		name="swf.version.minor"
  		value="0"/>
-	<property
-		name="swf.version.revision"
+	<property
+		name="swf.version.revision"
  		value="0"/>
-	<property
-		name="swf.application"
+	<property
+		name="swf.application"
  		value="${output.swf.name}"/>
-	<property
-		name="swf.swf"
+	<property
+		name="swf.swf"
  		value="${output.swf.name}"/>
-	<property
-		name="swf.bgcolor"
+	<property
+		name="swf.bgcolor"
  		value="#FFFFFF"/>
-
-    <description>
-    	Red5 Publisher
-    </description>
-
-    <!-- =================================
-          target: build
-         ================================= -->
+
+    <description>
+    	Red5 Port Tester
+    </description>
+
+    <!-- =================================
+          target: build
+         ================================= -->
      <target
      	name="build"
-    	depends="clean,
-    			 init,
-    			 compile.release,
-    			 compile.debug,
-    			 make.release.wrapper,
-    			 make.debug.wrapper,
+    	depends="clean,
+    			 init,
+    			 compile.release,
+    			 compile.debug,
+    			 make.release.wrapper,
+    			 make.debug.wrapper,
      			 docs"
-    	description="--> ${swf.release.title} application">
+    	description="--> ${swf.release.title} application">
      </target>
  	
-	<!-- - - - - - - - - - - - - - - - - -
-          target: make.release.wrapper
-         - - - - - - - - - - - - - - - - - -->
-    <target
+	<!-- - - - - - - - - - - - - - - - - -
+          target: make.release.wrapper
+         - - - - - - - - - - - - - - - - - -->
+    <target
      	name="make.release.wrapper">
-    	<make.wrapper
-    		width="${swf.width}"
-    		height="${swf.height}"
-    		title="${swf.release.title}"
-    		version.major="${swf.version.major}"
-    		version.minor="${swf.version.minor}"
-    		version.revision="${swf.version.revision}"
-    		application="${swf.application}}"
-    		swf="${swf.swf}"
-    		bgcolor="${swf.bgcolor}"
-    		wrapper.dir="${wrapper.dir}"
-    		output.dir="${release.build.dir}"
-    		output.html="${output.release.html}" />
-    </target>
-
-	<!-- - - - - - - - - - - - - - - - - -
-          target: make.debug.wrapper
-         - - - - - - - - - - - - - - - - - -->
-    <target
-    	name="make.debug.wrapper">
-    	<make.wrapper
-    		width="${swf.width}"
-    		height="${swf.height}"
-    		title="${swf.debug.title}"
-    		version.major="${swf.version.major}"
-    		version.minor="${swf.version.minor}"
-    		version.revision="${swf.version.revision}"
-    		application="${swf.application}}"
-    		swf="${swf.swf}-debug"
-    		bgcolor="${swf.bgcolor}"
-    		wrapper.dir="${wrapper.dir}"
-    		output.dir="${debug.build.dir}"
-    		output.html="${output.debug.html}" />
-    </target>
-
-    <!-- - - - - - - - - - - - - - - - - -
-          target: compile.release
-         - - - - - - - - - - - - - - - - - -->
-    <target
+    	<make.wrapper
+    		width="${swf.width}"
+    		height="${swf.height}"
+    		title="${swf.release.title}"
+    		version.major="${swf.version.major}"
+    		version.minor="${swf.version.minor}"
+    		version.revision="${swf.version.revision}"
+    		application="${swf.application}}"
+    		swf="${swf.swf}"
+    		bgcolor="${swf.bgcolor}"
+    		wrapper.dir="${wrapper.dir}"
+    		output.dir="${release.build.dir}"
+    		output.html="${output.release.html}" />
+    </target>
+
+	<!-- - - - - - - - - - - - - - - - - -
+          target: make.debug.wrapper
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="make.debug.wrapper">
+    	<make.wrapper
+    		width="${swf.width}"
+    		height="${swf.height}"
+    		title="${swf.debug.title}"
+    		version.major="${swf.version.major}"
+    		version.minor="${swf.version.minor}"
+    		version.revision="${swf.version.revision}"
+    		application="${swf.application}}"
+    		swf="${swf.swf}-debug"
+    		bgcolor="${swf.bgcolor}"
+    		wrapper.dir="${wrapper.dir}"
+    		output.dir="${debug.build.dir}"
+    		output.html="${output.debug.html}" />
+    </target>
+
+    <!-- - - - - - - - - - - - - - - - - -
+          target: compile.release
+         - - - - - - - - - - - - - - - - - -->
+    <target
      	name="compile.release">
-    	<mxmlc.compile
-    		in="${main.application}"
-    		out="${main.application.release.out}"
-    	    additional='-benchmark -optimize=true  
-title "${swf.release.title}" -description "${swf.release.title}"' />
-    </target>
+    	<mxmlc.compile
+    		in="${main.application}"
+    		out="${main.application.release.out}"
+    	    additional='-benchmark -optimize=true  
-title "${swf.release.title}" -description "${swf.release.title}"' />
+    </target>
  	
-    <!-- - - - - - - - - - - - - - - - - -
-          target: compile.debug
-         - - - - - - - - - - - - - - - - - -->
-    <target
-    	name="compile.debug">
-    	<mxmlc.compile
-    		in="${main.application}"
-    		out="${main.application.debug.out}"
-    		additional="-debug=true -benchmark" />
-    </target>
-	
-	<!-- - - - - - - - - - - - - - - - - -
-          target: clean
-         - - - - - - - - - - - - - - - - - -->
-    <target
-    	name="clean">
-    	<delete
-    		dir="${asdoc.output.dir}"
-    		failOnError="false"
-    		includeEmptyDirs="true" />
-    	<delete
-    		dir="${build.dir}"
-    		failOnError="false"
+    <!-- - - - - - - - - - - - - - - - - -
+          target: compile.debug
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="compile.debug">
+    	<mxmlc.compile
+    		in="${main.application}"
+    		out="${main.application.debug.out}"
+    		additional="-debug=true -benchmark" />
+    </target>
+	
+	<!-- - - - - - - - - - - - - - - - - -
+          target: clean
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="clean">
+    	<delete
+    		dir="${asdoc.output.dir}"
+    		failOnError="false"
+    		includeEmptyDirs="true" />
+    	<delete
+    		dir="${build.dir}"
+    		failOnError="false"
      		includeEmptyDirs="true" />
      </target>
  	
-	<!-- - - - - - - - - - - - - - - - - -
-          target: init
-         - - - - - - - - - - - - - - - - - -->
-    <target
+	<!-- - - - - - - - - - - - - - - - - -
+          target: init
+         - - - - - - - - - - - - - - - - - -->
+    <target
      	name="init">
      	<mkdir
-    		dir="${build.dir}"/>
-    	<mkdir
-    		dir="${release.build.dir}"/>
-    	<mkdir
-    		dir="${debug.build.dir}"/>
-    </target>
-	
-	<!-- - - - - - - - - - - - - - - - - -
-          target: docs
-         - - - - - - - - - - - - - - - - - -->
-    <target
-    	name="docs">
-    	<mkdir
-    	    dir="${asdoc.output.dir}"/>
-    	<exec executable="${asdoc.exe}"
-    		failonerror="false">
-			<arg line='-source-path ${src.dir}'/>
-			<arg line='-doc-sources ${asdoc.domainextensions}'/>
-    		<arg value='-load-config=${flex.config.xml}'/>
-			<arg line='-output ${asdoc.output.dir}'/>
-			<arg line='-templates-path ${asdoc.templates.dir}'/>
-			<arg line='-left-frameset-width ${asdoc.framewidth}'/>
-			<arg line='-benchmark'/>
-		</exec>
-    </target>
-
-	<!-- = = = = = = = = = = = = = = = = =
-          macrodef: mxmlc.compile
-         = = = = = = = = = = = = = = = = = -->
-    <macrodef name="mxmlc.compile">
-        <attribute name="in" />
-        <attribute name="out" />
-    	<attribute
-    		name="additional"
-    		default="" />
-    	<attribute
-    	    name="config"
-    	    default="${flex.config.xml}" />
-        <sequential>
-        	<java
-        		jar="${mxmlc.jar}"
-        		fork="true"
-        		maxmemory="512m"
-        		failonerror="true">
-        		<arg line="-source-path ${src.dir}"/>
-        		<arg value="-library-path+=${lib.swc}"/>
-        		<arg value="+flexlib=${FLEX_HOME}/frameworks"/>
-        		<arg value="-load-config=@{config}"/>
-        		<arg value="-output=@{out}"/>
-        		<arg line="@{additional}"/>
-        		<arg value="@{in}" />
-        	</java>
-        </sequential>
-    </macrodef>
-	
-	<!-- = = = = = = = = = = = = = = = = =
-          macrodef: make.wrapper
-         = = = = = = = = = = = = = = = = = -->
-    <macrodef name="make.wrapper">
-        <attribute name="width" default="100%" />
-        <attribute name="height" default="100%" />
-        <attribute name="title" default="" />
-        <attribute name="version.major" default="9" />
-        <attribute name="version.minor" default="0" />
-        <attribute name="version.revision" default="0" />
-        <attribute name="application" default="" />
-        <attribute name="swf" default="" />
-        <attribute name="bgcolor" default="#869ca7" />
-        <attribute name="wrapper.dir" />
-        <attribute name="output.dir" />
-        <attribute name="output.html" />
-        <sequential>
-        	<copy todir="@{output.dir}">
-        		<fileset dir="@{wrapper.dir}">
-    	    		<exclude name="**/index.template.html" />
-        		</fileset>
-        	</copy>
-	    	<copy
-	    		file="@{wrapper.dir}/index.template.html"
-	    		tofile="@{output.html}" />
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{width\}"
-        		replace="@{width}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{height\}"
-        		replace="@{height}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{title\}"
-        		replace="@{title}"
-        		encoding="utf-8"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{version_major\}"
-        		replace="@{version.major}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{version_minor\}"
-        		replace="@{version.minor}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{version_revision\}"
-        		replace="@{version.revision}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{application\}"
-        		replace="@{application}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{bgcolor\}"
-        		replace="@{bgcolor}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{swf\}"
-        		replace="@{swf}"/>
-        </sequential>
-    </macrodef>
-</project>
\ No newline at end of file
+    		dir="${build.dir}"/>
+    	<mkdir
+    		dir="${release.build.dir}"/>
+    	<mkdir
+    		dir="${debug.build.dir}"/>
+    </target>
+	
+	<!-- - - - - - - - - - - - - - - - - -
+          target: docs
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="docs">
+    	<mkdir dir="${asdoc.output.dir}"/>
+    	<exec executable="${asdoc.exe}" failonerror="false">
+			<arg line='-source-path ${src.dir}'/>
+			<arg line='-doc-sources ${asdoc.domainextensions}'/>
+    		        <arg value='-load-config=${flex.config.xml}'/>
+			<arg line='-output ${asdoc.output.dir}'/>
+			<arg line='-templates-path "${asdoc.templates.dir}"'/>
+			<arg line='-left-frameset-width ${asdoc.framewidth}'/>
+			<arg line='-benchmark'/>
+		</exec>
+    </target>
+
+	<!-- = = = = = = = = = = = = = = = = =
+          macrodef: mxmlc.compile
+         = = = = = = = = = = = = = = = = = -->
+    <macrodef name="mxmlc.compile">
+        <attribute name="in" />
+        <attribute name="out" />
+    	<attribute
+    		name="additional"
+    		default="" />
+    	<attribute
+    	    name="config"
+    	    default="${flex.config.xml}" />
+        <sequential>
+        	<java
+        		jar="${mxmlc.jar}"
+        		fork="true"
+        		maxmemory="512m"
+        		failonerror="true">
+        		<arg line="-source-path ${src.dir}"/>
+        		<arg value="-library-path+=${lib.swc}"/>
+        		<arg value="+flexlib=${FLEX_HOME}/frameworks"/>
+        		<arg value="-load-config=@{config}"/>
+        		<arg value="-output=@{out}"/>
+        		<arg line="@{additional}"/>
+        		<arg value="@{in}" />
+        	</java>
+        </sequential>
+    </macrodef>
+	
+	<!-- = = = = = = = = = = = = = = = = =
+          macrodef: make.wrapper
+         = = = = = = = = = = = = = = = = = -->
+    <macrodef name="make.wrapper">
+        <attribute name="width" default="100%" />
+        <attribute name="height" default="100%" />
+        <attribute name="title" default="" />
+        <attribute name="version.major" default="9" />
+        <attribute name="version.minor" default="0" />
+        <attribute name="version.revision" default="0" />
+        <attribute name="application" default="" />
+        <attribute name="swf" default="" />
+        <attribute name="bgcolor" default="#869ca7" />
+        <attribute name="wrapper.dir" />
+        <attribute name="output.dir" />
+        <attribute name="output.html" />
+        <sequential>
+        	<copy todir="@{output.dir}">
+        		<fileset dir="@{wrapper.dir}">
+    	    		<exclude name="**/index.template.html" />
+        		</fileset>
+        	</copy>
+	    	<copy
+	    		file="@{wrapper.dir}/index.template.html"
+	    		tofile="@{output.html}" />
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{width\}"
+        		replace="@{width}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{height\}"
+        		replace="@{height}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{title\}"
+        		replace="@{title}"
+        		encoding="utf-8"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_major\}"
+        		replace="@{version.major}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_minor\}"
+        		replace="@{version.minor}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_revision\}"
+        		replace="@{version.revision}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{application\}"
+        		replace="@{application}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{bgcolor\}"
+        		replace="@{bgcolor}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{swf\}"
+        		replace="@{swf}"/>
+        </sequential>
+    </macrodef>
+</project>

Modified: flash/trunk/publisher/build.xml
==============================================================================
--- flash/trunk/publisher/build.xml	(original)
+++ flash/trunk/publisher/build.xml	Tue Sep 23 06:34:14 2008
@@ -1,305 +1,303 @@
-<?xml version="1.0"?>
-<!-- ======================================================================
-     Red5 Publisher application
-     A Flex 2 application to test the streaming capabilities of Red5.
-
-     Thijs Triemstra (info at collab.nl)
-      
====================================================================== -->
+<?xml version="1.0"?>
+<!-- ======================================================================
+     Red5 Publisher application
+     A Flex 2 application to test the streaming capabilities of Red5.
+
+     Thijs Triemstra (info at collab.nl)
+      
====================================================================== -->
  <project
  	name="Red5 Publisher"
  	default="build"
  	basedir=".">
-	
-	<!-- Flex SDK settings -->
-	<property file="../flex.properties" />
-
-	<!-- Project settings -->
-	<property file="./build.properties" />
+	
+	<!-- Flex SDK settings -->
+	<property file="../flex.properties" />
+
+	<!-- Project settings -->
+	<property file="./build.properties" />
    	
  	<!-- dirs -->
-	<property
-		name="release.build.dir"
-		location="${build.dir}/release/"/>
-	<property
-		name="debug.build.dir"
-		location="${build.dir}/debug/"/>
-	<property
-		name="lib.swc"
+	<property
+		name="release.build.dir"
+		location="${build.dir}/release/"/>
+	<property
+		name="debug.build.dir"
+		location="${build.dir}/debug/"/>
+	<property
+		name="lib.swc"
  		location="${lib.cairngorm.swc}"/>
  	<!-- files -->
-	<property
-		name="mxmlc.jar"
-		location="${FLEX_HOME}/lib/mxmlc.jar"/>
-	<property
-		name="main.application.release.out"
+	<property
+		name="mxmlc.jar"
+		location="${FLEX_HOME}/lib/mxmlc.jar"/>
+	<property
+		name="main.application.release.out"
  		location="${release.build.dir}/${output.swf.name}.swf"/>
-	<property
-		name="main.application.debug.out"
+	<property
+		name="main.application.debug.out"
  		location="${debug.build.dir}/${output.swf.name}-debug.swf"/>
  	<!-- wrapper -->
  	<property
  		name="wrapper.dir"
-		 
location="${FLEX_HOME}/resources/html-templates/express-installation-with-history"/>
-	<property
-		name="output.debug.html"
-		location="${debug.build.dir}/${output.swf.name}-debug.html"/>
-	<property
-		name="output.release.html"
+		location="${FLEX_HOME}/templates/express-installation-with-history"/>
+	<property
+		name="output.debug.html"
+		location="${debug.build.dir}/${output.swf.name}-debug.html"/>
+	<property
+		name="output.release.html"
  		location="${release.build.dir}/${output.swf.name}.html"/>
-	<property
-		name="swf.width"
-		value="100%"/>
-	<property
-		name="swf.height"
-		value="100%"/>
-	<property
-		name="swf.version.major"
+	<property
+		name="swf.width"
+		value="100%"/>
+	<property
+		name="swf.height"
+		value="100%"/>
+	<property
+		name="swf.version.major"
  		value="9"/>
-	<property
-		name="swf.version.minor"
+	<property
+		name="swf.version.minor"
  		value="0"/>
-	<property
-		name="swf.version.revision"
+	<property
+		name="swf.version.revision"
  		value="0"/>
-	<property
-		name="swf.application"
+	<property
+		name="swf.application"
  		value="${output.swf.name}"/>
-	<property
-		name="swf.swf"
+	<property
+		name="swf.swf"
  		value="${output.swf.name}"/>
-	<property
-		name="swf.bgcolor"
+	<property
+		name="swf.bgcolor"
  		value="#FFFFFF"/>
-
-    <description>
-    	Red5 Publisher
-    </description>
-
-    <!-- =================================
-          target: build
-         ================================= -->
+
+    <description>
+    	Red5 Publisher
+    </description>
+
+    <!-- =================================
+          target: build
+         ================================= -->
      <target
      	name="build"
-    	depends="clean,
-    			 init,
-    			 compile.release,
-    			 compile.debug,
-    			 make.release.wrapper,
-    			 make.debug.wrapper,
+    	depends="clean,
+    			 init,
+    			 compile.release,
+    			 compile.debug,
+    			 make.release.wrapper,
+    			 make.debug.wrapper,
      			 docs"
-    	description="--> ${swf.release.title} application">
+    	description="--> ${swf.release.title} application">
      </target>
  	
-	<!-- - - - - - - - - - - - - - - - - -
-          target: make.release.wrapper
-         - - - - - - - - - - - - - - - - - -->
-    <target
+	<!-- - - - - - - - - - - - - - - - - -
+          target: make.release.wrapper
+         - - - - - - - - - - - - - - - - - -->
+    <target
      	name="make.release.wrapper">
-    	<make.wrapper
-    		width="${swf.width}"
-    		height="${swf.height}"
-    		title="${swf.release.title}"
-    		version.major="${swf.version.major}"
-    		version.minor="${swf.version.minor}"
-    		version.revision="${swf.version.revision}"
-    		application="${swf.application}}"
-    		swf="${swf.swf}"
-    		bgcolor="${swf.bgcolor}"
-    		wrapper.dir="${wrapper.dir}"
-    		output.dir="${release.build.dir}"
-    		output.html="${output.release.html}" />
-    </target>
-
-	<!-- - - - - - - - - - - - - - - - - -
-          target: make.debug.wrapper
-         - - - - - - - - - - - - - - - - - -->
-    <target
-    	name="make.debug.wrapper">
-    	<make.wrapper
-    		width="${swf.width}"
-    		height="${swf.height}"
-    		title="${swf.debug.title}"
-    		version.major="${swf.version.major}"
-    		version.minor="${swf.version.minor}"
-    		version.revision="${swf.version.revision}"
-    		application="${swf.application}}"
-    		swf="${swf.swf}-debug"
-    		bgcolor="${swf.bgcolor}"
-    		wrapper.dir="${wrapper.dir}"
-    		output.dir="${debug.build.dir}"
-    		output.html="${output.debug.html}" />
-    </target>
-
-    <!-- - - - - - - - - - - - - - - - - -
-          target: compile.release
-         - - - - - - - - - - - - - - - - - -->
-    <target
+    	<make.wrapper
+    		width="${swf.width}"
+    		height="${swf.height}"
+    		title="${swf.release.title}"
+    		version.major="${swf.version.major}"
+    		version.minor="${swf.version.minor}"
+    		version.revision="${swf.version.revision}"
+    		application="${swf.application}}"
+    		swf="${swf.swf}"
+    		bgcolor="${swf.bgcolor}"
+    		wrapper.dir="${wrapper.dir}"
+    		output.dir="${release.build.dir}"
+    		output.html="${output.release.html}" />
+    </target>
+
+	<!-- - - - - - - - - - - - - - - - - -
+          target: make.debug.wrapper
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="make.debug.wrapper">
+    	<make.wrapper
+    		width="${swf.width}"
+    		height="${swf.height}"
+    		title="${swf.debug.title}"
+    		version.major="${swf.version.major}"
+    		version.minor="${swf.version.minor}"
+    		version.revision="${swf.version.revision}"
+    		application="${swf.application}}"
+    		swf="${swf.swf}-debug"
+    		bgcolor="${swf.bgcolor}"
+    		wrapper.dir="${wrapper.dir}"
+    		output.dir="${debug.build.dir}"
+    		output.html="${output.debug.html}" />
+    </target>
+
+    <!-- - - - - - - - - - - - - - - - - -
+          target: compile.release
+         - - - - - - - - - - - - - - - - - -->
+    <target
      	name="compile.release">
-    	<mxmlc.compile
-    		in="${main.application}"
-    		out="${main.application.release.out}"
-    	    additional='-benchmark -optimize=true  
-title "${swf.release.title}" -description "${swf.release.title}"' />
-    </target>
+    	<mxmlc.compile
+    		in="${main.application}"
+    		out="${main.application.release.out}"
+    	    additional='-benchmark -optimize=true  
-title "${swf.release.title}" -description "${swf.release.title}"' />
+    </target>
  	
-    <!-- - - - - - - - - - - - - - - - - -
-          target: compile.debug
-         - - - - - - - - - - - - - - - - - -->
-    <target
-    	name="compile.debug">
-    	<mxmlc.compile
-    		in="${main.application}"
-    		out="${main.application.debug.out}"
-    		additional="-debug=true -benchmark" />
-    </target>
-	
-	<!-- - - - - - - - - - - - - - - - - -
-          target: clean
-         - - - - - - - - - - - - - - - - - -->
-    <target
-    	name="clean">
-    	<delete
-    		dir="${asdoc.output.dir}"
-    		failOnError="false"
-    		includeEmptyDirs="true" />
-    	<delete
-    		dir="${build.dir}"
-    		failOnError="false"
+    <!-- - - - - - - - - - - - - - - - - -
+          target: compile.debug
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="compile.debug">
+    	<mxmlc.compile
+    		in="${main.application}"
+    		out="${main.application.debug.out}"
+    		additional="-debug=true -benchmark" />
+    </target>
+	
+	<!-- - - - - - - - - - - - - - - - - -
+          target: clean
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="clean">
+    	<delete
+    		dir="${asdoc.output.dir}"
+    		failOnError="false"
+    		includeEmptyDirs="true" />
+    	<delete
+    		dir="${build.dir}"
+    		failOnError="false"
      		includeEmptyDirs="true" />
      </target>
  	
-	<!-- - - - - - - - - - - - - - - - - -
-          target: init
-         - - - - - - - - - - - - - - - - - -->
-    <target
+	<!-- - - - - - - - - - - - - - - - - -
+          target: init
+         - - - - - - - - - - - - - - - - - -->
+    <target
      	name="init">
      	<mkdir
-    		dir="${build.dir}"/>
-    	<mkdir
-    		dir="${release.build.dir}"/>
-    	<mkdir
-    		dir="${debug.build.dir}"/>
-    </target>
-	
-	<!-- - - - - - - - - - - - - - - - - -
-          target: docs
-         - - - - - - - - - - - - - - - - - -->
-    <target
-    	name="docs">
-    	<mkdir
-    	    dir="${asdoc.output.dir}"/>
-    	<exec executable="${asdoc.exe}"
-    		failonerror="true">
-			<arg line='-source-path ${src.dir}'/>
-			<arg line='-doc-sources ${asdoc.domainextensions}'/>
-    		<arg value='-load-config=${flex.config.xml}'/>
-			<arg line='-output ${asdoc.output.dir}'/>
-			<arg line='-templates-path ${asdoc.templates.dir}'/>
-			<arg line='"-library-path+=${lib.cairngorm.swc}"'/>
-			<arg line='-left-frameset-width ${asdoc.framewidth}'/>
-			<arg line='-benchmark'/>
-		</exec>
-    </target>
-
-	<!-- = = = = = = = = = = = = = = = = =
-          macrodef: mxmlc.compile
-         = = = = = = = = = = = = = = = = = -->
-    <macrodef name="mxmlc.compile">
-        <attribute name="in" />
-        <attribute name="out" />
-    	<attribute
-    		name="additional"
-    		default="" />
-    	<attribute
-    	    name="config"
-    	    default="${flex.config.xml}" />
-        <sequential>
-        	<java
-        		jar="${mxmlc.jar}"
-        		fork="true"
-        		maxmemory="512m"
-        		failonerror="true">
-        		<arg line="-source-path ${src.dir}"/>
-        		<arg value="-library-path+=${lib.swc}"/>
-        		<arg value="+flexlib=${FLEX_HOME}/frameworks"/>
-        		<arg value="-load-config=@{config}"/>
-        		<arg value="-output=@{out}"/>
-        		<arg line="@{additional}"/>
-        		<arg value="@{in}" />
-        	</java>
-        </sequential>
-    </macrodef>
-	
-	<!-- = = = = = = = = = = = = = = = = =
-          macrodef: make.wrapper
-         = = = = = = = = = = = = = = = = = -->
-    <macrodef name="make.wrapper">
-        <attribute name="width" default="100%" />
-        <attribute name="height" default="100%" />
-        <attribute name="title" default="" />
-        <attribute name="version.major" default="9" />
-        <attribute name="version.minor" default="0" />
-        <attribute name="version.revision" default="0" />
-        <attribute name="application" default="" />
-        <attribute name="swf" default="" />
-        <attribute name="bgcolor" default="#869ca7" />
-        <attribute name="wrapper.dir" />
-        <attribute name="output.dir" />
-        <attribute name="output.html" />
-        <sequential>
-        	<copy todir="@{output.dir}">
-        		<fileset dir="@{wrapper.dir}">
-    	    		<exclude name="**/index.template.html" />
-        		</fileset>
-        	</copy>
-	    	<copy
-	    		file="@{wrapper.dir}/index.template.html"
-	    		tofile="@{output.html}" />
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{width\}"
-        		replace="@{width}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{height\}"
-        		replace="@{height}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{title\}"
-        		replace="@{title}"
-        		encoding="utf-8"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{version_major\}"
-        		replace="@{version.major}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{version_minor\}"
-        		replace="@{version.minor}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{version_revision\}"
-        		replace="@{version.revision}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{application\}"
-        		replace="@{application}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{bgcolor\}"
-        		replace="@{bgcolor}"/>
-        	<replaceregexp
-        		file="@{output.html}"
-        		flags="gs"
-        		match="\$\{swf\}"
-        		replace="@{swf}"/>
-        </sequential>
-    </macrodef>
-</project>
\ No newline at end of file
+    		dir="${build.dir}"/>
+    	<mkdir
+    		dir="${release.build.dir}"/>
+    	<mkdir
+    		dir="${debug.build.dir}"/>
+    </target>
+	
+	<!-- - - - - - - - - - - - - - - - - -
+          target: docs
+         - - - - - - - - - - - - - - - - - -->
+    <target
+    	name="docs">
+    	<mkdir dir="${asdoc.output.dir}"/>
+    	<exec executable="${asdoc.exe}" failonerror="false">
+			<arg line='-source-path ${src.dir}'/>
+			<arg line='-doc-sources ${asdoc.domainextensions}'/>
+    		        <arg value='-load-config=${flex.config.xml}'/>
+			<arg line='-output ${asdoc.output.dir}'/>
+			<arg line='-templates-path "${asdoc.templates.dir}"'/>
+			<arg line='"-library-path+=${lib.cairngorm.swc}"'/>
+			<arg line='-left-frameset-width ${asdoc.framewidth}'/>
+			<arg line='-benchmark'/>
+		</exec>
+    </target>
+
+	<!-- = = = = = = = = = = = = = = = = =
+          macrodef: mxmlc.compile
+         = = = = = = = = = = = = = = = = = -->
+    <macrodef name="mxmlc.compile">
+        <attribute name="in" />
+        <attribute name="out" />
+    	<attribute
+    		name="additional"
+    		default="" />
+    	<attribute
+    	    name="config"
+    	    default="${flex.config.xml}" />
+        <sequential>
+        	<java
+        		jar="${mxmlc.jar}"
+        		fork="true"
+        		maxmemory="512m"
+        		failonerror="true">
+        		<arg line="-source-path ${src.dir}"/>
+        		<arg value="-library-path+=${lib.swc}"/>
+        		<arg value="+flexlib=${FLEX_HOME}/frameworks"/>
+        		<arg value="-load-config=@{config}"/>
+        		<arg value="-output=@{out}"/>
+        		<arg line="@{additional}"/>
+        		<arg value="@{in}" />
+        	</java>
+        </sequential>
+    </macrodef>
+	
+	<!-- = = = = = = = = = = = = = = = = =
+          macrodef: make.wrapper
+         = = = = = = = = = = = = = = = = = -->
+    <macrodef name="make.wrapper">
+        <attribute name="width" default="100%" />
+        <attribute name="height" default="100%" />
+        <attribute name="title" default="" />
+        <attribute name="version.major" default="9" />
+        <attribute name="version.minor" default="0" />
+        <attribute name="version.revision" default="0" />
+        <attribute name="application" default="" />
+        <attribute name="swf" default="" />
+        <attribute name="bgcolor" default="#869ca7" />
+        <attribute name="wrapper.dir" />
+        <attribute name="output.dir" />
+        <attribute name="output.html" />
+        <sequential>
+        	<copy todir="@{output.dir}">
+        		<fileset dir="@{wrapper.dir}">
+    	    		<exclude name="**/index.template.html" />
+        		</fileset>
+        	</copy>
+	    	<copy
+	    		file="@{wrapper.dir}/index.template.html"
+	    		tofile="@{output.html}" />
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{width\}"
+        		replace="@{width}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{height\}"
+        		replace="@{height}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{title\}"
+        		replace="@{title}"
+        		encoding="utf-8"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_major\}"
+        		replace="@{version.major}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_minor\}"
+        		replace="@{version.minor}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{version_revision\}"
+        		replace="@{version.revision}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{application\}"
+        		replace="@{application}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{bgcolor\}"
+        		replace="@{bgcolor}"/>
+        	<replaceregexp
+        		file="@{output.html}"
+        		flags="gs"
+        		match="\$\{swf\}"
+        		replace="@{swf}"/>
+        </sequential>
+    </macrodef>
+</project>



More information about the Red5devs mailing list