Hi Allen, It looks like you’ve got VS Code and Maven working, so please don’t waste time on this unless you want to work on Flash Builder instead. VS Code and Maven are actually preferred by some developers over FB and Ant.
PKumar is correct that you shouldn’t really need Ant if you’re using FB, I was suggesting to use Ant as a workaround, but it looks like you have some environment variables missing. I suggest you export your FB project as an fxp (in FB got to file->Export Flash Builder Project…) and share the fxp with us. That way we can try to analyze why FB’s default build is failing for you, in an effort to make it smoother for future developers. Thanks, Yishay From: allenyyang [via Apache Flex Development]<mailto:ml+s2333347n62853...@n4.nabble.com> Sent: Thursday, July 6, 2017 2:47 AM To: yishayw<mailto:yishayj...@hotmail.com> Subject: RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS Hi Yishay, After trying for quite a while, I found that we might be talking about two different things. I informed Piotr that was able to use Maven and VS Code to build and run Piotr's "Hello World" example successfully. But I was unable to successfully run demo_for_presentation using Flash Builder 4.7. You might be thinking that I was talking about being able to use VS Code and Maven to build and run demo_for_presentation successfully; which is not the case for me yet. So I went back to your email on 07/01 and I installed Ant and added it to PATH; I also set ANT_HOME to where I installed Ant: C:\apache-ant-1.10.1; and already have JAVA_HOME to its installation folder: C:\Program Files\Java\jdk1.8.0_131 At the folder demo_for_presentation where build.xml file resides, I typed 'ant' in the cmd window. I got the following error: ------------------------------------------------------------------------------ Buildfile: C:\Projects\demo_for_presentation\build.xml clean: build_example.compilejs: [echo] Compiling demo_for_presentation.js [echo] FLEX_HOME: ${env.FLEXJS_HOME} [echo] FALCONJX_HOME: ${FALCONJX_HOME} [echo] env GOOG_HOME: ${env.GOOG_HOME} [echo] GOOG_HOME: ${GOOG_HOME} [java] Error: Could not find or load main class ${mxmlc.jvm.args} [java] Java Result: 1 BUILD FAILED C:\Projects\demo_for_presentation\build_example.xml:124: code: 1 Total time: 0 seconds Can you help me to see what's wrong? Thanks and Regards, Allen ----------------------------------------------------------------------------- -----Original Message----- From: yishayw [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=62853&i=0>] Sent: Wednesday, July 05, 2017 12:54 AM To: [hidden email]</user/SendEmail.jtp?type=node&node=62853&i=1> Subject: RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS yishayw wrote > Now assuming you have pom.xml and build.xml in your project you should > be able to run Maven like this: Should read: Now assuming you have pom.xml and build.xml in your project you should be able to run Maven *or ant* like this: -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62835.html Sent from the Apache Flex Development mailing list archive at Nabble.com. ________________________________ Ce message, ainsi que tous les fichiers joints à ce message, peuvent contenir des informations sensibles et/ ou confidentielles ne devant pas être divulguées. Si vous n'êtes pas le destinataire de ce message (ou que vous recevez ce message par erreur), nous vous remercions de le notifier immédiatement à son expéditeur, et de détruire ce message. Toute copie, divulgation, modification, utilisation ou diffusion, non autorisée, directe ou indirecte, de tout ou partie de ce message, est strictement interdite. This e-mail, and any document attached hereby, may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized, direct or indirect, copying, disclosure, distribution or other use of the material or parts thereof is strictly forbidden. If you reply to this email, your message will be added to the discussion below: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62853.html To unsubscribe from [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS, click here<http://apache-flex-development.2333347.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=62698&code=eWlzaGF5am9ic0Bob3RtYWlsLmNvbXw2MjY5OHw4NjEzMzQyNTg=>. NAML<http://apache-flex-development.2333347.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> 0F3223357DB045F1A7DCC8B49B6C5F56.png (214 bytes) <http://apache-flex-development.2333347.n4.nabble.com/attachment/62861/0/0F3223357DB045F1A7DCC8B49B6C5F56.png> -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62861.html Sent from the Apache Flex Development mailing list archive at Nabble.com.