you might try adding the entire lib directory...
<property name="flex.lib" value="${flexsdk.home}/frameworks/libs"/>
...
<arg line="-library-path+='${flex.lib}'"/>
I'm thinking you might need the rpc lib but I also think you'd get a
compile error if that was the case. I've experienced some weird things
with the locale bundles. You might try including that...
<property name="locale.lib"
value="${flexsdk.home}/frameworks/locale/{locale}"/>
...
<arg line="-library-path+='${locale.lib}'"/>
My config files are pretty simple.. Something like..
<?xml version="1.0"?>
<flex-config xmlns="http://www.adobe.com/2006/flex-config">
<compiler>
<optimize>true</optimize>
<locale>en_US</locale>
</compiler>
<metadata>
<title>...</title>
<description>...</description>
<publisher>...</publisher>
<creator>...</creator>
<language>..</language>
</metadata>
<default-background-color>0xffffff</default-background-color>
</flex-config>
With the meta data filled out. What's the stack trace look like?
Douglas Knudsen wrote:
> Works fine and dandy when compiled via FB. The app uses RemoteObject,
> I'm assuming that's where the 'ColdFusion' in the error is coming
> from. RemoteObject is using CFCs on CF7.02. Works fine when compiled
> by FB, just not with the target below. Anyway you can post a sample
> custom config file? I saw a thread here where you were successful in
> this endeavour with Ant.
>
> DK
>
> On 10/10/06, *Paul Spitzer* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> wrote:
>
> I could be wrong but it doesn't seem like it's a problem w/ your ANT
> target. Are you trying to load something external to your app with
> ColdFusion in the path? Are you using data services?... does it
> work if
> you let Flex Builder manage the compilation?
>
>
> Douglas Knudsen wrote:
> > 'unknown destination ColdFusion'.
> >
> > DK
> >
> > On 10/10/06, *Paul Spitzer* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> <mailto: [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>>>
> > wrote:
> >
> > What's the run time exception?
> >
> > Douglas Knudsen wrote:
> > > I'm using the below to compile a Flex app. Compiles with no
> > errors or
> > > warnings. But the resulting swf throws a error when access
> > >
> > >
> > >
> > > <target name="compile" description="compiles all source"
> > depends="" >
> > > <java jar="${mxmlcjar}"
> > > fork="true"
> > > failonerror="true"
> > > maxmemory="128m"
> > > dir="${flexsdk}\frameworks">
> > > <arg
> > > value="-load-config=${flexsdk}\frameworks\flex- config.xml"/>
> > > <!-- <arg
> > >
> >
> value="-load-config+=${flexsrc}\build\candidateApplication-config.xml"/>
> > > -->
> > > <arg
> value="-include-libraries=${lib}\cairngorm.swc" />
> > > <arg
> > > value="-include-libraries+=${lib}\FlexUtilities.swc" />
> > >
> > > <arg value="-output=${bin}\index.swf" />
> > > <arg value="-file-specs=${src}\index.mxml"/>
> > > </java>
> > > </target>
> > >
> >
> >
> >
>
>
> --
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/