I'm afraid I know very little about ant builds myself, just had the help bookmarked since I've been making a few simple ones myself.
>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
That seems to mean that you haven't allocated enough memory to the java
process(?) used to run the ant task ????
At this point I could be talking pure rubbish, I really do know very little
about java in general.
looks like you deliberately allocated it with <jvmarg value="-Xmx128M" /> , is
that right?
For what it's worth, I had to set these -Xmx512M -Xms256M
in flexbuilder to avoid the OutOfMemoryError errors I was getting when building
debug versions,
so maybe 128 looks a bit small?
Looks like you might not have your library paths quite right as well, I'm not
quite sure what to suggest there since I rather blundered through it myself
before getting it correct.
Sorry I can't be of more help, best of luck with it.
-----Original Message-----
From: [email protected] on behalf of Sebastien ARBOGAST
Sent: Tue 19/08/2008 23:07
To: [email protected]
Subject: Re: [flexcoders] Headless compilation with AdvancedDataGrid
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
______________________________________________________________________
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.
______________________________________________________________________<<winmail.dat>>

