OK thanks Jim.Now I'm trying to configure my mxmlc ant task like this:
<target name="main" depends="wrapper">
<mxmlc file="${src.dir}/index.mxml" output="${output.dir}"
keep-generated-actionscript="true">
<jvmarg value="-Xmx128M" />
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
<source-path path-element="${FLEX_HOME}/frameworks" />
<license product="flexbuilder3" serial-number=
"xxxx-xxxx-xxxx-xxxx-xxxx-xxxx"/>
<compiler.include-libraries dir="${lib.dir}" append="true">
<include name="*.swc" />
</compiler.include-libraries>
</mxmlc>
</target>
But if I put datavisualization.swc in ${lib.dir}, I get the following error:
[mxmlc] Error: Unable to resolve resource bundle "datamanagement" for
locale "en_US".
[mxmlc]
[mxmlc] Error: Unable to resolve resource bundle "olap" for locale
"en_US".
[mxmlc]
[mxmlc] Error: Unable to resolve resource bundle "olap" for locale
"en_US".
[mxmlc]
[mxmlc] Error: Unable to resolve resource bundle "charts" for locale
"en_US".
[mxmlc]
[mxmlc] Error: Unable to resolve resource bundle "olap" for locale
"en_US".
[mxmlc]
[mxmlc] Error: Unable to resolve resource bundle "olap" for locale
"en_US".
[mxmlc]
[mxmlc] Error: Unable to resolve resource bundle "charts" for locale
"en_US".
[mxmlc]
[mxmlc] Error: Unable to resolve resource bundle "olap" for locale
"en_US".
[mxmlc]
I've tried to copy all the swc's from
FLEX_BUILDER_HOME/sdks/3.0.0/frameworks/lib into ${lib.dir} but then I get
an OutOfMemoryError on Java heap space.
Can anyone help me geting this to work?
2008/8/17 Jim Hayes <[EMAIL PROTECTED]>
>
> http://livedocs.adobe.com/flex/3/html/help.html?content=anttasks_1.html
>
>
> -----Original Message-----
> From: [email protected] <flexcoders%40yahoogroups.com> on behalf
> of Sebastien ARBOGAST
> Sent: Sun 17/08/2008 16:42
> To: [email protected] <flexcoders%40yahoogroups.com>
> Subject: Re: [flexcoders] Headless compilation with AdvancedDataGrid
>
> Which docs? Would you have a link for me?
>
> 2008/8/17 Douglas Knudsen <[EMAIL PROTECTED]<douglasknudsen%40gmail.com>
> >
>
> > Use Ant. Some examples are in the docs.
> >
> > DK
> >
> >
> > On 8/17/08, Sebastien ARBOGAST <[EMAIL
> > PROTECTED]<sebastien.arbogast%40gmail.com>
> <sebastien.arbogast%40gmail.com>>
> > wrote:
> > > I have a Flex Builder Pro license and I'm using it to develop an
> > application
> > > using AdvancedDataGrid component. When I build my application in Flex
> > > Builder, everything works fine. But now I'm trying to setup a headless
> > build
> > > script for continuous integration using mxmlc.
> > > How can I build my application with mxmlc outside of Flex Builder while
> > > using AdvancedDataGrid?
> > >
> > > --
> > > Sébastien Arbogast
> > >
> > > http://sebastien-arbogast.com
> > >
> >
> > --
> > Sent from Gmail for mobile | mobile.google.com
> >
> > Douglas Knudsen
> > http://www.cubicleman.com
> > this is my signature, like it?
> >
> >
> >
>
> --
> Sébastien Arbogast
>
> http://sebastien-arbogast.com
>
> __________________________________________________________
> This communication is from Primal Pictures Ltd., a company registered in
> England and Wales with registration No. 02622298 and registered office: 4th
> Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK.
> VAT registration No. 648874577.
>
> This e-mail is confidential and may be privileged. It may be read, copied
> and used only by the intended recipient. If you have received it in error,
> please contact the sender immediately by return e-mail or by telephoning
> +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its
> contents to any person.
> This email has been scanned for Primal Pictures by the MessageLabs Email
> Security System.
> __________________________________________________________
>
>
>
--
Sébastien Arbogast
http://sebastien-arbogast.com