Hi all,

  I am trying to build my app using the following build script and i
am getting the Error..

 uild.mxml:
    [mxmlc] Loading configuration file
/local/apps/Flex/flex3sdk_b1_061107/frameworks/flex-config.xml
    [mxmlc] This beta will expire on Wed Oct 31 00:00:00 EDT 2007.
    [mxmlc]
/local/apps/RepositoryWS/trunk/src/main/webapp/WEB-INF/flex/services-config.xml:
Error: Channel definition, mx.messaging.channels.RTMPChannel, can not
be found.

The build.xml i have is

[CODE]
<project name="DPADesktopLatest" default="build.mxml">

    <!--
     ! EDIT THE 'env.properties' FILE TO REFLECT YOUR ENVIRONMENT.
     !-->
    <property file="env.properties"/>

    <echo message="Found in env.properties {"/>
    <echo message="    FLEX_HOME=${FLEX_HOME}"/>
    <echo message="    FLEX_TASKS_JAR=${FLEX_TASKS_JAR}"/>
    <echo message="    TOMCAT_HOME=${TOMCAT_HOME}"/>
    <echo message="    TOMCAT_HOME_DEPLOY=${TOMCAT_HOME_DEPLOY}"/>
    <echo message="}"/>

    <!--
     ! Flex 2 SDK tasks (mxmlc, compc, html-wrapper).
     !-->
    <taskdef resource="flexTasks.tasks" classpath="${FLEX_TASKS_JAR}" />

    <!--
     ! Build swf (if swf is out of date).
     !-->
    <target name="check.swf">
        <uptodate property="skip.mxmlc"
targetfile="build/${WEBAPP_NAME}.swf">
            <srcfiles dir= "${FLEX_HOME}/frameworks" includes="**"/>
            <srcfiles dir= "src/main/webapp" includes="**/*.as"/>
            <srcfiles dir= "src/main/webapp" includes="**/*.mxml"/>
            <srcfiles dir= "src/main/webapp"
includes="src/main/webapp/WEB-INF/flex/services-config.xml"/>
        </uptodate>
    </target>
    <target name="build.mxml" depends="check.swf" unless="skip.mxmlc">
        <mkdir dir="build"/>

        <!--  Include one mxmlc tag for each of the MXML which you want
to precompile to SWF File -->
        <mxmlc
            file="src/main/webapp/${WEBAPP_NAME}.mxml"
            output="build/${WEBAPP_NAME}.swf"
            use-network="false"
            services="src/main/webapp/WEB-INF/flex/services-config.xml"
            keep-generated-actionscript="false"
            context-root="${WEBAPP_CONTEXT_ROOT}">

            <load-config
filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
            <source-path path-element="${FLEX_HOME}/frameworks"/>
            <source-path path-element="src/main/webapp"/>

                <compiler.library-path dir="${FLEX_HOME}/frameworks"
append="true">
                     <include name="libs" />
                     <include name="locale" />
                </compiler.library-path>

        </mxmlc>
    </target>
</project>
[/CODE]

 Pls let me know in what JAR or SWC i will find the RTMP Channel !!

Thanks
Kumar


Reply via email to