1
我遇到Flash Builder的问题。 只有在将output folder
和output folder url
设置为基本上是对JBoss文件夹位置的引用的路径时,才会出现这种情况。Flash生成器代码导航失败
- 一切编译和运行正常,但是与
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>
真的会很欣赏这个指针。
干杯
由于两个项目都在同一个工作区中,而不是将SWC添加到库路径;尝试添加项目。 – JeffryHouser 2013-03-07 15:24:40
我以为我正在那样做?@see部分:主应用程序的构建路径 – 2013-03-07 15:27:38
您是对的;我的错误是没有仔细检查屏幕截图。我不确定为什么会发生这种情况。 – JeffryHouser 2013-03-07 15:47:24