简体   繁体   English

Flex编译器将.aso文件放在哪里?

[英]Where does the Flex compiler put the .aso files?

I want to be able to hand delete the intermediate .aso files generated by the Flex mxmlc compiler. 我希望能够手动删除Flex mxmlc编译器生成的中间.aso文件。 Where are they stored? 它们存储在哪里?

(I know the Flash IDE has a "delete asos" button, but I'm using the FlashDevelop IDE, which doesn't. The reason I want this is so I can play around with the compiler's warning settings on a fairly large project, and the compiler won't try to recompile if the .aso files are up to date.) (我知道Flash IDE带有一个“删除asos”按钮,但我使用的是FlashDevelop IDE,但没有。我想要这样做的原因是,这样我就可以在相当大的项目中试用编译器的警告设置,如果.aso文件是最新的,则编译器将不会尝试重新编译。)

Thanks, Matt 谢谢,马特

Update: Thanks, indeed Filemon turned up no .aso files, or any other intermediate file I could see. 更新:谢谢,实际上Filemon没有打开.aso文件,或者我可以看到的任何其他中间文件。 Touching each file is what I wound up doing. 触摸每个文件是我最后要做的事情。 So my new question is: how heck does mxmlc store it's intermediate files? 所以,我的新问题是:到底怎么存储mxmlc的它的中间文件? It must have them because deleting the .swf doesn't trigger a full recompile. 它必须具有它们,因为删除.swf不会触发完全重新编译。

AFAIK the Flex 3 compilers do not use .aso files since these are only created for ActionScript 2 classes. AFAIK Flex 3编译器不使用.aso文件,因为它们仅是为ActionScript 2类创建的。 I don't know FlashDevelop enough but I would expect that it rebuilds the app if you change the compiler settings. 我对FlashDevelop的了解不够,但是如果您更改编译器设置,我希望它可以重新构建应用程序。 If it doesn't, perhaps making a small change to a source file (adding a space) so the IDE will recompile will do the trick. 如果不是这样,也许对源文件进行少量更改(添加一个空格),以便IDE重新编译就可以解决问题。

ASO are AS2-specific (and BTW FlashDevelop selectively cleans ASO files automatically). ASO特定于AS2(并且BTW FlashDevelop有选择地自动清除ASO文件)。

For AS3, FlashDevelop hosts the Flex Compiler SHell (FCSH) which is included in the Flex 3 SDK. 对于AS3,FlashDevelop托管Flex 3 SDK中包含的Flex Compiler SHell(FCSH)。 This nice tool keeps your code compiled in memory and it should recompile the classes which have changed. 这个不错的工具使您的代码在内存中保持编译状态,并且应该重新编译已更改的类。

In FlashDevelop, if the compiler plays dumb, you can just switch the active project - this will reset the shell. 在FlashDevelop中,如果编译器很笨拙,则只需切换活动项目-这将重置Shell。

Take a look at Filemon . 看看Filemon It is very useful for figuring out where files are coming from or going to (among other things). 这对于弄清文件的来源或去向(非常重要)非常有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM