0 Replies Latest reply on May 28, 2010 11:37 PM by athiroy

    run a home page in flex project

    athiroy Level 1

      hi

       

      i have build my flex project using ant task

      my project name is StudentRegistration.

      my mxml file name is StudentRegistation.

       

      <target name="appcompile" depends="install">
        <mxmlc file="${flexsrc.home}/StudentRegistration.mxml" context-root="/StudentRegistration" keep-generated-actionscript="true" services="${web.home}/WEB-INF/flex/services-config.xml" output="${catalina.home}/webapps/${app.name}/StudentRegistration.swf">
         <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
          <include name="${web.home}/WEB-INF/lib/" />
          <include name="${flexsrc.home}/example/" />
         </compiler.library-path>
         <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
         <source-path path-element="${FLEX_HOME}/frameworks" />
        </mxmlc>

       

      </target>

       

      <target name="createHtmlWrapper" depends="appcompile">
        <html-wrapper application="${APP_ROOT}/StudentRegistration.mxml" height="1000" width="1000"  output="${catalina.home}/webapps/${app.name}" swf="StudentRegistration" />

      </target>

       

      i have deploy the Folder StudentRegistration in tomcat.

       

      just i select the StudentRegistration in tomcat the StudentRegistration page is displays.

       

      if select StudentRegistration i want to display the homepage.html

       

      how can i do

       

      someone help me

      regards

      athi