Mike,

Can you provide a simple example using the ant script from this page:
http://weblogs.macromedia.com/mesh/archives/2006/05/example_using_a.html

I tried to create a simple test example and I'm getting frustrated with the
errors I'm getting. When I fix or comment out one error another one comes
up.

    [echo] Building Test.swc
    [exec] Loading configuration file C:\Program Files\Adobe\Flex Builder
2\Flex SDK 2\frameworks\flex-config.xml
    [exec] Error: could not find source for class com.test:test in
namespace http://www.adobe.com/2006/foo.

    [exec] command line: Error: unable to open '../manifest.xml'
    [exec] Use 'compc -help' for information about using the command line.

etc...

On 1/26/07, Mike Chambers <[EMAIL PROTECTED]> wrote:

  Quick Example : Using COMPC to compile SWCs
http://weblogs.macromedia.com/mesh/archives/2006/05/quick_example_u.html

Example : Using ANT with COMPC to compile SWCs
http://weblogs.macromedia.com/mesh/archives/2006/05/example_using_a.html

mike chambers

[EMAIL PROTECTED] <mesh%40adobe.com>

dorkie dork from dorktown wrote:
>
>
> This was just posted on one of the adobe blogs.
>
> http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks
> <http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks>
>
> On 1/24/07, *dorkie dork from dorktown*
> <[EMAIL PROTECTED] <dorkiedorkfromdorktown%40gmail.com>
> <mailto:[EMAIL PROTECTED]<dorkiedorkfromdorktown%40gmail.com>>>
wrote:
>
> cool. thank you
>
>
> On 1/24/07, *Darron J. Schall* < [EMAIL PROTECTED]<darron%40darronschall.com>
> <mailto:[EMAIL PROTECTED] <darron%40darronschall.com>>> wrote:
>
> Have a look at one of the build scripts I wrote for the
> ActionScript 3.0
> Libraries on Google Code:
>
> http://as3syndicationlib.googlecode.com/svn/trunk/build/
> <http://as3syndicationlib.googlecode.com/svn/trunk/build/>
>
> The "lib" target is what you're looking for. If you need additional
> options, just run "compc -help" from the command line and follow
> the
> instructions for detailed help.
>
> -d
>
>
>
> dorkie dork from dorktown wrote:
> >
> > Is there an Ant build script that will export a component to
> an swc? I
> > have written what seems to be a very basic one that exports a
> mxml
> > component using a script file but it doesn't work with the
> flex-config
> > file.
> >
> > build.xml -
> >
> > <?xml version="1.0" ?>
> > <project default="main">
> > <target name="main" depends="compile" description="Main target">
> > <echo>
> > Building the component for you
> > </echo>
> > </target>
> >
> > <target name="compile" description="Compilation target">
> > <exec command="compc -load-config Countdown-config.xml"/>
> > </target>
> >
> > </project>
> >
> > Countdown-config.xml -
> >
> > <?xml version="1.0"?>
> > <flex-config xmlns=" http://www.adobe.com/2006/flex-config
> <http://www.adobe.com/2006/flex-config>
> > <http://www.adobe.com/2006/flex-config
> <http://www.adobe.com/2006/flex-config>>">
> > <compiler>
> > <source-path>
> > <path-element>.</path-element>
> > <path-element>C:\Documents and Settings\Judah\My
> > Documents\Flex Builder 2\Countdown</path-element>
> > </source-path>
> > <output>C:\Documents and Settings\Judah\My Documents\Flex
> > Builder 2\ComponentTester\swc\Countdown.swc</output>
> > </compiler>
> >
> > <include-classes>
> > <class>Countdown</class>
> > </include-classes>
> > </flex-config>
> >
> >
> >
>
>
>
>

Reply via email to