For the <taskdef resource="flexTasks.tasks"/> tag to work you needed to extract the flexTasks.jar to your ant lib directory.
--- In [email protected], "mapper2255" <[EMAIL PROTECTED]> wrote: > > Went through Eclipse help files for a second time...well written. > > Was able to go to Outline view and find targets, right click (one at > a time) and they ran fine. > > Have not found out yet why complete build does not run but targets > do individually. > > --- In [email protected], "mapper2255" <mapper2255@> > wrote: > > > > Afternoon, > > > > I have successfully comiled my build from a Windows XP command > line > > using Patrick M.'s setup: > > http://www.howtoforge.com/amfphp_adobe_flex2_sdk. Once I had it > > running on the command line (the main.swf is compiled) I imported > > the entire app into a "simple project" in Eclipse 3.12. > > > > I ran the build.xml as an ant build. It could not find the > flexTask > > with this: <taskdef resource="flexTasks.tasks"/> so I went over to > > http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks and copied the > > flexTasks.jar into project lib folder and swapped out the taskdef > to > > this: <taskdef resource="flexTasks.tasks" > > > > classpath="${basedir}/lib/flexTasks.jar" /> > > <property name="FLEX_HOME" location="${basedir}/flex_sdk" > > > > /> > > > > that took care of the error in Eclipse now it build successfully > but > > I do not get these to run: > > > > <target name="prepare"> > > <mkdir dir="${build.home}/${app.name}"/> > > <copy todir="${build.home}/${app.name}"> > > <fileset dir="${src.home}/php"/> > > <fileset dir="${web.home}"/> > > </copy> > > </target> > > <target name="compile" depends="prepare"> > > <mxmlc > > file="${src.home}/flex/Main.mxml" > > output="${build.home}/${app.name}/Main.swf" > > actionscript-file-encoding="UTF-8" > > context-root="${app.name}" > > services="${config.home}/flex/services-config.xml"> > > > > After all that a short question: If everything is working on the > > command line and I am not getting any errors on the console what > do > > I need to check in Eclipse to get my build to complete all tasks? > > > > Thanks cause I am really held up. > > >

