This issue has been resolved.

Just in case anybody is wondering how there is a tool called
SourceMate that can generate the ANT build file from your flex project
in Flash Builder. It is a licenced software however the Trial version
of the same can help u generate the ANT file. This takes into account
all the plugins that are used by Flash Builder to build your project.

On Mar 15, 8:10 pm, Kronos <utkars...@gmail.com> wrote:
> Hi,
> I am working on a project that uses .Net Web services for calling data
> from the database. The problem is that these services have been
> configured by using the inbuilt Fiber plugin of Flex Builder which
> adds the services automatically once the wsdl url is provided.
> Everything builds perfectly from Flex Builder.
>
> Now I want to build this project fromANT. Theantbuild file that I
> have manage to create has all the modules of my project but is missing
> the web service calls that are made at OnCreationComplete of all
> pages. Any idea how I must bind these services to my build?
>
> I think there is some property in the mxmlc tag where u can specify
> the services config file (service-config.xml) However I dont know
> where to find this service-config.xml or how to create it. Since I am
> not using LCDS or WebORB this config file is not auto-generated. Is
> there some way to generate it from Flex Builder since all my services
> binding is done automatically from Flex Builder. Any help is
> appreciated.
>
> Here's a sample of myantbuild file (build.xml) I have used the dump
> of the project settings from Flex Builder as my config
> file(myconf.xml) to build the SWFs
>
> <project name="FlexAntTasks Build Script" default="compile flex
> project" basedir=".">
>         <taskdef resource="flexTasks.tasks" classpath="${basedir}/
> flexTasks.jar"/>
>
>         <!-- delete and create the DEPLOY dir again -->
>         <target name="init">
>                 <delete dir="${DEPLOY_DIR}" />
>                 <mkdir dir="${DEPLOY_DIR}" />
>         </target>
>
>         <!-- Build and output the Main.swf-->
>         <target name="compile flex project" depends="init">
>                 <mxmlc file="${SRC_DIR}/Main.mxml" 
> output="${DEPLOY_DIR}/Main.swf"
> keep-generated actionscript="true">
>                         <load-config 
> filename="${FLEX_HOME}/frameworks/myconf.xml"/>
>                         <source-path path-element="${FLEX_HOME}/frameworks"/>
>
>                         <compiler.library-path dir="C:\Program 
> Files\Adobe\Adobe Flash
> Builder 4\plugins\com.adobe.flexbuilder.dcrad_4.0.1.277662\fiberSwcs
> \3.5\libs" append="true">
>                               <include name="*" />
>                         </compiler.library-path>
>
>                         <compiler.library-path dir="C:\Program 
> Files\Adobe\Adobe Flash
> Builder 4\plugins\com.adobe.flexbuilder.dcrad_4.0.1.277662\fiberSwcs
> \3.5\locale\" append="true">
>                                <include name="*" />
>                         </compiler.library-path>
>
>                         <compiler.library-path dir="C:\Program 
> Files\Adobe\Adobe Flash
> Builder 4\plugins
> \com.adobe.flexbuilder.flexunit_4.0.1.277662\flexunitframework\libs
> \version3libs\Common\" append="true">
>                                <include name="*" />
>                         </compiler.library-path>
>
>                         <compiler.library-path dir="C:\Program 
> Files\Adobe\Adobe Flash
> Builder 4\plugins
> \com.adobe.flexbuilder.flexunit_4.0.1.277662\flexunitframework\libs
> \version3libs\FlexProject\" append="true">
>                                <include name="*" />
>                         </compiler.library-path>
>
>                         <compiler.library-path dir="C:\Program 
> Files\Adobe\Adobe Flash
> Builder 4\plugins
> \com.adobe.flexbuilder.flexunit_4.0.1.277662\flexunitframework\locale
> \version3locale\" append="true">
>                               <include name="*" />
>                         </compiler.library-path>
>                         <compiler.debug>false</compiler.debug>
>               </mxmlc>
>         </target>
> </project>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com.
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to