Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache flex Flash builder代码导航失败_Apache Flex_Flex4_Flash Builder - Fatal编程技术网

Apache flex Flash builder代码导航失败

Apache flex Flash builder代码导航失败,apache-flex,flex4,flash-builder,Apache Flex,Flex4,Flash Builder,我在使用Flash Builder时遇到问题。 仅当将output folder和output folder url生成路径属性设置为基本上是对JBoss文件夹位置的引用的路径时,才会出现这种情况 一切编译和运行都很好,但是代码导航 CTRL+CLICK显示找不到的源。swc错误: 项目布局:主应用程序+1库项目 主应用程序的生成路径: 库项目的生成路径: 库项目包含的类: 主应用程序mxml的内容: <s:Application xmlns:fx="h

我在使用Flash Builder时遇到问题。 仅当将
output folder
output folder url
生成路径属性设置为基本上是对JBoss文件夹位置的引用的路径时,才会出现这种情况

  • 一切编译和运行都很好,但是代码导航
    CTRL+CLICK
    显示找不到的
    源。swc
    错误:

  • 项目布局:主应用程序+1库项目

  • 主应用程序的生成路径:

  • 库项目的生成路径:

  • 库项目包含的类:

  • 主应用程序mxml的内容:

      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
               xmlns:s="library://ns.adobe.com/flex/spark" 
               xmlns:mx="library://ns.adobe.com/flex/mx" 
               minWidth="955" 
               minHeight="600" 
               xmlns:local="*" 
               xmlns:test="be.some.test.*">
         <fx:Declarations>
            <test:SomeLibraryComponent/> <!--ctrl + click failing-->
         </fx:Declarations>
      </s:Application>
    
我真的很想在这方面给点建议

干杯

尝试以下方法:

  • 在Flash Builder中关闭所有项目
  • 在记事本++中打开.actionScriptProperties文件,查看库路径和源路径。如果在库路径中发现任何额外条目,可以将其删除,保存文件并再次打开Flash Builder

  • 另一个问题可能是,在库项目的“类”选项卡中检查您是否已选择了需要包含在项目中的所有类。

    因为两个项目位于同一工作区中;而不是将SWC添加到库路径;试着加入这个项目。我以为我就是这么做的@请参阅第节:主应用程序的构建路径您是对的;我的错误是没有仔细查看屏幕截图。我不知道为什么会发生这种情况。当添加它们时,如果没有输出文件夹url和输出文件夹,效果会很好,因此您的评论在这种情况下是有效的。您可能只想就此向Adobe提交一份错误报告。FB总是有一些怪癖,但v4.7确实充满了bug:我刚刚帮助了一位同事,将要包含在swc中的资产直接添加到.flexLibProperties文件中,因为从UI中这样做已经变得不可能了。我现在是一个彻头彻尾的智者;)你能解释一下“额外进入”是什么意思吗?目前只有一个,我觉得还可以。更新了我的问题以包含.actionscript属性。我的库源设置为“inlude all”
    <actionScriptProperties analytics="false" mainApplicationPath="TestCodeNavi.mxml" projectUUID="d4c352fe-5d3a-454e-bb58-db0d96bd9edd" version="10">
       <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="true" fteInMXComponents="false" generateAccessible="true" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="MIRAGE_JBOSS_SERVER/deploy/mirage-server.war/TestCodeNavi" outputFolderPath="bin-debug" removeUnusedRSL="true" rootURL="http://localhost:8080/mirage-server/TestCodeNavi" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">
    <compilerSourcePath/>
    <libraryPath defaultLinkType="0">
      <libraryPathEntry kind="4" path="">
        <excludedEntries>
          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
          <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
        </excludedEntries>
      </libraryPathEntry>
      <libraryPathEntry kind="3" linkType="1" path="/TestCodeNaviLibrary/bin-debug/TestCodeNaviLibrary.swc" sourcepath="/TestCodeNaviLibrary" useDefaultLinkType="false"/>
    </libraryPath>
    <sourceAttachmentPath>
      <sourceAttachmentPathEntry kind="3" linkType="1" path="/TestCodeNaviLibrary/bin-debug/TestCodeNaviLibrary.swc" sourcepath="/TestCodeNaviLibrary" useDefaultLinkType="false"/>
    </sourceAttachmentPath>
      </compiler>
      <applications>
        <application path="TestCodeNavi.mxml"/>
       </applications>
       <modules/>
       <buildCSSFiles/>
      <flashCatalyst validateFlashCatalystCompatibility="false"/>
     </actionScriptProperties>