2 Replies Latest reply on Jul 31, 2017 3:17 AM by EmileSonneveld

    Flash Builder 4.7 command line error: A class needed by class class com.adobe.flexbuilder.exportimport.ant.ExportReleaseBuildTask cannot be found

    n4gash

      Hi

       

      We have an application with dozens of users. For each users, we generate a swf file every day dinamically using Flash Builder 4.7 command line. We've used it during the last 3 years without errores. However, from 1 week our process cannot generate the swf file for any user. If we build the project from Flash Builder IDE, it runs correctly, but when we try to use our ant task, it crash.

       

      Our build.xml:

       

      <?xml version="1.0"?>
      <project default="main">
        <target name="main">
          <fb.exportReleaseBuild project="MyProjectName" destdir="C:\output\swf"/>
        </target>
      </project>
      
      

       

      We launch FlashBuilderC.exe usind this .bat

       

      "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\FlashBuilderC.exe" --launcher.suppressErrors -noSplash -application org.eclipse.ant.core.antRunner -data "C:\MyProjectName\Flash Builder" -file "C:\MyProjectName\build\build.xml" Asisa_Informes_Mediadores
      
      

       

      When we run that command, we see this:

       

       

       

      main:

       

       

      BUILD FAILED

      C:\MyProjectName\build\build.xml:4: Type fb.exportReleaseBuild: A class needed by class class com.adobe.flexbuilder.exportimport.ant.ExportReleaseBuildTask cannot be found: org/eclipse/core/resources/IResource

      Total time: 0 seconds

      F l a s h B u i l d e r C :  A n   e r r o r   h a s   o c c u r r e d .   S e e   t h e   l o g   f i l e  C : \ M y P r o j e c t N a m e \ F l a s h   B u i l d e r \ . m e t a d a t a \ . l o g .

       

      We've reinstalled Flash Builder 4.7 and regenerate the workspace, but without success. Please, any help?

       

      Cheers