Search the web
Sign In
New User? Sign Up
flexcoders · RIA Development with Adobe Flex
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Flex Ant with external assets   Message List  
Reply | Forward Message #103050 of 150893 |
Re: Flex Ant with external assets

Thank you for your time, Gaurav.

I hope adobe will fix it soon. :-)


--- In flexcoders@yahoogroups.com, "Gaurav Jain" <gauravj@...> wrote:
>
> This looks like a bug. Can you please file a bug at
> http://bugs.adobe.com/flex
>
> Thanks,
> Gaurav
>
> --- In flexcoders@yahoogroups.com, "kp_gem" <jamesyoon72@> wrote:
> >
> > Thanks Gaurav,
> >
> > Here is my directory structure for multiple projects.
> >
> > --- include - assets - img
> > |
> > |- test
> > |
> > |- test1
> > |
> > |- test2
> >
> >
> > test, test1, and test2 are flex projects and sharing assets in
> > the 'include' folder.
> >
> > And, the ant task is
> >
> > <?xml version="1.0" encoding="utf-8"?>
> > <project name="Builder" basedir=".">
> > <taskdef resource="flexTasks.tasks"
> > classpath="flexTasks.jar" />
> > <property name="FLEX_HOME" value="C:/Program Files/Adobe/Flex
> > Builder 3 Plug-in/sdks/3.0.0"/>
> > <property name="APP_ROOT" value="C:/Projects/test/src"/>
> > <property name="ASSETS" value="C:/Projects/include"/>
> > <property name="DEPLOY_DIR" value="C:/Projects/WebContent"/>
> > <target name="main">
> > <mxmlc
> > file="${APP_ROOT}/test.mxml"
> > output="${DEPLOY_DIR}/test.swf"
> > actionscript-file-encoding="UTF-8"
> > incremental="true"
> > >
> > <load-config filename="${FLEX_HOME}/frameworks/flex-
> > config.xml"/>
> > <source-path path-element="${FLEX_HOME}/frameworks"/>
> > <compiler.library-path dir="${FLEX_HOME}/frameworks"
> > append="true">
> > <include name="libs" />
> > <include
name="../bundles/locale}" />
> > </compiler.library-path>
> > <source-path path-element="${ASSETS}" />
> > </mxmlc>
> > </target>
> > </project>
> >
> >
> >
> > --- In flexcoders@yahoogroups.com, "Gaurav Jain" <gauravj@> wrote:
> > >
> > > Can you show the complete ant task target?
> > >
> > > I suspect that the parent folder of assets is not specified in
the
> > > source path.
> > >
> > > Thanks,
> > > Gaurav
> > >
> > > --- In flexcoders@yahoogroups.com, "kp_gem" <jamesyoon72@>
wrote:
> > > >
> > > > Hi,
> > > >
> > > > Is there any way to include external assets to Flex Ant Tasks
> > (mxmlc)?
> > > > I am working on multiple flex projects and want to share 1
single
> > > > central assets. However, I couldn't find a way in Flex Ant
and I
> > got an
> > > > following error.
> > > >
> > > > [mxmlc] C:\Projects\test\Test.mxml(26): Error: unable to
> > > > resolve '/assets/img/1.gif' for transcoding
> > > > [mxmlc]
> > > > [mxmlc] [Embed(source="/assets/img/1.gif")]
> > > >
> > > > But, when I compiled in Flex Builder, it worked ok. Or,
please
> > let me
> > > > know if there is work around to share assets.
> > > >
> > > > Thanks
> > > >
> > >
> >
>





Tue Feb 19, 2008 6:28 pm

kp_gem
Offline Offline
Send Email Send Email

Forward
Message #103050 of 150893 |
Expand Messages Author Sort by Date

Hi, Is there any way to include external assets to Flex Ant Tasks (mxmlc)? I am working on multiple flex projects and want to share 1 single central assets....
kp_gem
Offline Send Email
Feb 19, 2008
4:47 pm

Can you show the complete ant task target? I suspect that the parent folder of assets is not specified in the source path. Thanks, Gaurav...
Gaurav Jain
gjain_work
Offline Send Email
Feb 19, 2008
4:56 pm

Thanks Gaurav, Here is my directory structure for multiple projects. ... test, test1, and test2 are flex projects and sharing assets in the 'include' folder. ...
kp_gem
Offline Send Email
Feb 19, 2008
5:12 pm

This looks like a bug. Can you please file a bug at http://bugs.adobe.com/flex Thanks, Gaurav...
Gaurav Jain
gjain_work
Offline Send Email
Feb 19, 2008
6:20 pm

Thank you for your time, Gaurav. I hope adobe will fix it soon. :-) ... name="../bundles/locale}" /> ... the ... single ... and I ... please...
kp_gem
Offline Send Email
Feb 19, 2008
6:47 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help