开发者

Flex Builder not building new source code

I have imported an existing project into flex but any changes I make to the source are not being built and displayed when I test run the application. The original files which are in the bin-debug folder dont seem to be changing at all.

I have tried cleaning the project, deleting the bin-debug folder even reinstalling fle开发者_如何学运维x builder, but nothing has solved the problem.

I've read this post which was about the same problem but none of the advice helped.

Any advice would be appreciated.


When you imported the project did you do a default import (copies everything into your workspace) or an "Existing Projects into Workspace" import?

If you did the default (listed as "FlexBuilder/Flex Project" under the import source) then you might be changing the wrong code. If you're looking in the original project's location for the SWFs to run then you're in the wrong place, as the SWFs you build will be in the new location.

One quick way to test to see if your code is actually being compiled would be to intentionally put a compile error in there. If the compiler chokes on it then your code is being compiled.


There's another thing you can try. I just ran into a weird issue where FB was caching a compile error, and even after fixing the file it still showed the error. Even after doing a clean, restarting FB, etc.

I found a place where FB caches information for the project, and for some reason it wasn't clearing things it should. It's possible your project's cache got messed up and it's messing up the compile somehow. You can try deleting it (might need to delete and re-import your project though).

The cache is at: workspace.metadata.plugins\org.eclipse.core.resources.projects\

I just made a blog post about this, in case you'd find it useful.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜