Word big bird. I am using the same setup and all I get is Build Successful.
It doesn't delete or compile anything, I know something is up because I have used ANT to build without this task. What are we missing in FB2.0.1? Peace, Mike BTW I was using the simplest possible SWC example in a very simple project with one css file and one graphic file. On 1/28/07, dorkie dork from dorktown <[EMAIL PROTECTED]> wrote:
PS I am working with Flex Builder 2.0.1 winxp pc. On my work computer I have Eclipse with Flex Builder plugin. On 1/28/07, dorkie dork from dorktown <[EMAIL PROTECTED]> wrote: > > I have been trying to get this to work in my environment and I think I > need some more explination. I am still new to Ant. What I was expecting this > to do for me was install a list of tasks for each project in the Ant View > for me, one being Compile my current MXML file to SWC. In my one previous > Ant experience I took a build file and it installed all the tasks for me. > Since I'm trying to follow the instructions on labs could you explain > somethings for me or update the docs for newbies? > > Here is the first place I get lost: > > /**************************/ > > To use the custom Flex Ant tasks in your Ant projects, you must add the > flexTasks.jar file to your project's lib directory, and then point to > that JAR file in the taskdef task. In addition, for most projects you > set the value of the FLEX_HOME variable so that Ant can find your > flex-config.xml file. > > *To use the Flex tasks in Ant:* > 1. Add a new taskdef task to your project. > > /**************************/ > > 1. How do I add the flexTasks.jar to my projects lib directory? Project > > Properties > Build Path > Library > Add Project? > 2. How do I add a new taskdef to my project? > 3. Where is the path to the taskdef? > > etc. > > PS is it ok to write comments in labs wiki like, "(please provide step > by step here)" or should I continue to post my questions here? Thanks > > > > > On 1/25/07, dorkie dork from dorktown < [EMAIL PROTECTED]> > wrote: > > > > This was just posted on one of the adobe blogs. > > > > http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks > > > > On 1/24/07, dorkie dork from dorktown < > > [EMAIL PROTECTED]> wrote: > > > > > > cool. thank you > > > > > > On 1/24/07, Darron J. Schall < [EMAIL PROTECTED]> 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/ > > > > > > > > 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>"> > > > > > <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> > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
-- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.
