Hello.

I have XML spec config for compc to build my project (stored in project
subdirectory etc in file 'config.xml')
In the source code I use
[Embed(source="/theme/icons/14x14/mhanamhana.png")].
When I build via Flex Builder and specify source path to directory
containing theme. Compilation works fine.
But I did not find way how to specify same behaviour to config.xml for
compc tool.

I get error like this:
/opt/libraries/gui/com/atollon/gui/Finder.as(591): col: 10: Error:
unable to resolve '/theme/icons/14x14/mhanamhana.png' for transcoding

        [Embed(source="/theme/icons/14x14/mhanamhana.png")]


How it is possible to specify embed resources to compc in config xml file?


Here is sample of XML, which should generate service.swc file.

<?xml version="1.0" encoding="utf-8"?>
<flex-config>
    <compiler>
        <source-path>
            <path-element>../</path-element>
        </source-path>

        <external-library-path>
           <path-element>../../atollon/lib/flexlib.swc</path-element>
          
<path-element>${flexlib}/libs/player/playerglobal.swc</path-element>
        </external-library-path>

    </compiler>
    <output>../../storage/lib/service.swc</output>
    <include-classes>
        <class>cz.asinus.gui.Finder</class>
        <class>cz.aisnus.gui.ComplexForm</class>
    </include-classes>
</flex-config>

-- 
Asinus IT Group - http://www.asinus.org
FlexGarden      - http://www.flexgarden.net
Personal page   - http://juraj.michalek.asinus.org 



--
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/
 

Reply via email to