我在使用 Flash Builder 时遇到问题。它似乎仅在将路径属性设置output folder
和构建到基本上是对 JBoss 文件夹位置的引用的路径时才会发生。output folder url
- 一切都编译并运行良好,但是代码导航
CTRL+CLICK
显示Source could not be found for <path>.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>
主
.actionScriptProperties
应用程序文件:<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>
非常感谢对此的一些指示。
干杯