2 Replies Latest reply on Jun 23, 2009 1:48 PM by jaspe123

    Output Folder URL adds bin-debug to http://localhost:8080/ProjectName

    jaspe123

      We have created a simple Flex project and selected J2EE as a server type.  If we run it in Debug mode, Flash Builder 4 opens the browser and displays the URL http://localhost:8080/Proj1/Proj1.html?debug=true.  This seems fine.  Then, when we go to Project Properties->Flex Build Path and add a cairngom.swc library and then try to debug again, the browser displays the URL http://localhost:8080/Proj1bin-debug/Proj1.html?debug=true. This is incorrect. The "bin-debug" got appended to the context root.

       

      The .actionScriptProperties shows now: rootURL="http://localhost:8080/Proj1bin-debug" (whole file attached). Also, the Debug configuration reflects the incorrect URL as shown above.

       

       

      We're using:

      * Flash Builder 4 Beta

      * Eclipse 3.4.2

      * JDK 1.6

      * LCDS

      * GlassFish v3

       

      ============== .actionScriptProperties ==============

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <actionScriptProperties mainApplicationPath="Proj1.mxml" projectUUID="9af21d78-b8aa-4962-b792-5df06d8070b0" version="6">
        <compiler additionalCompilerArguments="-services &quot;C:/workspaceFB4/flex_main/Proj1/WebContent/WEB-INF/flex/services-config.xml&quot; -locale en_US" autoRSLOrdering="true" copyDependentFiles="true" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersionCheck="true" includeNetmonSwc="true" outputFolderPath="bin-debug" rootURL="http://localhost:8080/Proj1bin-debug" sourceFolderPath="flex_src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">
          <compilerSourcePath/>
          <libraryPath defaultLinkType="0">
            <libraryPathEntry kind="4" path=""/>
            <libraryPathEntry kind="1" linkType="1" path="flex_libs"/>
            <libraryPathEntry kind="3" linkType="1" path="C:/workspaceFB4/flex_main/Proj1/WebContent/WEB-INF/flex/libs/fds.swc" useDefaultLinkType="false"/>
            <libraryPathEntry kind="3" linkType="1" path="C:/workspaceFB4/flex_main/Proj1/WebContent/WEB-INF/flex/libs/player/playerfds.swc" useDefaultLinkType="false"/>
            <libraryPathEntry kind="1" linkType="1" path="C:/workspaceFB4/flex_main/Proj1/WebContent/WEB-INF/flex/locale/{locale}"/>
            <libraryPathEntry kind="3" linkType="1" path="X:/DevFlexTools/Cairngorm/Cairngorm.swc" useDefaultLinkType="false"/>
          </libraryPath>
          <sourceAttachmentPath/>
        </compiler>
        <applications>
          <application path="Proj1.mxml"/>
        </applications>
        <modules/>
        <buildCSSFiles/>

      </actionScriptProperties>
      =====================end =====================