Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

fx2ant build.xml not working

2009-02-19
2013-04-29
  • Mark DeMichele
    Mark DeMichele
    2009-02-19

    I tried a simple HelloWorld program and it seems the fx2ant didn't build the correct files.  I'm missing a flex2ant-build.xml.

    The only two files create were these.

    flex2ant-build.properties

    flex.sdk.dir=
    main.application.path=HelloWorld
    src.dir=./src
    build.dir=bin-debug
    additional.compiler.arguments=-locale en_US
    context.root=

    #Variables
    DOCUMENTS=D:/NextGen/Workspaces/TestAnt

    and flex2ant-master.xml

    <?xml version="1.0" encoding="UTF-8" standalone="no"?><FlexMetadata><actionScriptProperties mainApplicationPath="HelloWorld.mxml" version="3">
      <compiler additionalCompilerArguments="-locale en_US" copyDependentFiles="true" enableModuleDebug="true" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersion="9.0.124" htmlPlayerVersionCheck="true" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" useApolloConfig="false" verifyDigests="true" warn="true">
        <compilerSourcePath/>
        <libraryPath defaultLinkType="1">
          <libraryPathEntry kind="4" path=""/>
          <libraryPathEntry kind="1" linkType="1" path="libs"/>
        </libraryPath>
        <sourceAttachmentPath/>
      </compiler>
      <applications>
        <application path="HelloWorld.mxml"/>
      </applications>
      <modules/>
      <buildCSSFiles/>
    </actionScriptProperties>
    <flexProperties flexServerType="0" toolCompile="true" useServerFlexSDK="false" version="1"/>
    </FlexMetadata> 
       
     
     
     

     
    • Both files seem to be OK. It looks like XSLT transform that works from master + projects settings did not work. In Eclipse, go to WIndow->Show View-> PDE Runtime -> Show Errors and see if there are any errors in the log. If you see any please paste it in this thread.
      Thank you
      Anatole Tartakovsky