{"id":90,"date":"2009-05-06T18:14:29","date_gmt":"2009-05-06T16:14:29","guid":{"rendered":"http:\/\/blog.ansuz.nl\/?p=90"},"modified":"2009-05-06T18:14:29","modified_gmt":"2009-05-06T16:14:29","slug":"flex-builder-issue","status":"publish","type":"post","link":"http:\/\/blog.ansuz.nl\/index.php\/2009\/05\/06\/flex-builder-issue\/","title":{"rendered":"Flex Builder issue"},"content":{"rendered":"<p>I keep on getting the following error:<\/p>\n<blockquote><p>Buildfile: C:\\Projects\\*****\\flex\\ant\\build.xml<br \/>\ncompile_main_debug:<br \/>\n[exec] Loading configuration file C:\\flex3sdk\\frameworks\\flex-config.xml<br \/>\n[exec] Error: C:\\Projects\\*****\\flex\\bin-debug\\main.swf (The process cannot access the file because it is being used by another process)<br \/>\n[exec] java.io.FileNotFoundException: C:\\Projects\\******\\flex\\bin-debug\\main.swf (The process cannot access the file because it is being used by another process)<br \/>\n[exec] \u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 at java.io.FileOutputStream.open(Native Method)<br \/>\n[exec] \u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 at java.io.FileOutputStream.&lt;init&gt;(Unknown Source)<br \/>\n[exec] \u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 at java.io.FileOutputStream.&lt;init&gt;(Unknown Source)<br \/>\n[exec] \u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 at flex2.tools.Compiler.mxmlc(Compiler.java:283)<br \/>\n[exec] \u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 at flex2.tools.Compiler.main(Compiler.java:53)<\/p>\n<p>BUILD FAILED<br \/>\nC:\\Projects\\******\\flex\\ant\\build.xml:44: exec returned: 1<\/p>\n<p>Total time: 4 seconds<\/p><\/blockquote>\n<p>This occurs whenever Flex Builder fails to launch the application and you try to compile after that.<\/p>\n<p>The only way to solve it at the moment is to close Flex Builder. When it&#8217;s closed the application gets actually launched in the stand alone Flash Player. Close the SA Flash Player. Start Flex again and compile.<\/p>\n<p>Or just open up Windows Task Manager and kill FlashPlayer.exe.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>I keep on getting the following error: Buildfile: C:\\Projects\\*****\\flex\\ant\\build.xml compile_main_debug: [exec] Loading configuration file C:\\flex3sdk\\frameworks\\flex-config.xml [exec] Error: C:\\Projects\\*****\\flex\\bin-debug\\main.swf (The process cannot access the file because it is being used by another process) [exec] java.io.FileNotFoundException: C:\\Projects\\******\\flex\\bin-debug\\main.swf (The process cannot access the &hellip; <a href=\"http:\/\/blog.ansuz.nl\/index.php\/2009\/05\/06\/flex-builder-issue\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[143,76],"class_list":["post-90","post","type-post","status-publish","format-standard","hentry","category-actionscript-30","tag-flex","tag-flex-builder"],"_links":{"self":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts\/90","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/comments?post=90"}],"version-history":[{"count":3,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts\/90\/revisions"}],"predecessor-version":[{"id":102,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts\/90\/revisions\/102"}],"wp:attachment":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/media?parent=90"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/categories?post=90"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/tags?post=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}