1 Reply Latest reply on Jul 13, 2011 9:06 AM by ozDiGennaro

    file not being copied to bin-debug

    5Systems Level 1

      I have a flash project in flash builder 4, within that project i have a Data directory with an xml file in it within my src directory. When I attempt to Debug my app, I am getting an IO errror telling me the Directory/data.xml file is not within the bin-degug directory. It seems as though FB is not updating the bin-degug directory and copying the Data/data.xml file from the src to the bin-debug.   Anyone know why this is not happening.....

       

      Thanks,

        • 1. Re: file not being copied to bin-debug
          ozDiGennaro Level 1

          There are several things to try.  You can completely delete the bin-debug directory tree.  Then Project / enable "Build Automatically".  Then Project / Clean - being sure to select the correct project(s).  I have found it useful for build debugging to delete all of the debug and release directories before building.  (You may want to  backup your project FIRST.)

          Then you can see exactly what the build created.

           

          Also verify the project configuration.  Close all other projects.  Open the project in question.  In the Package Navigator view, select your project too. File / Properties.  You'll get a rather extensive and complex set of project properties.  Verify that it's the project that you are interested in.

          Look for the "Flex Build Path" and verify that it points to the "Output folder" that you want.

           

          Let me know.

          Oz

          4dtext.com