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.

Reply via email to