If you want to use FlexJS with Flash Builder 4.7 then no need to install Ant and maven.
just download latest version of FlexJs via SDK installer and add new FlexJS SDK under Flash Buildrler4.7 as you add regular flex SDK. After SDK setup . You need to import runtime command into Flash Builder so that u can compile Flex JS project. Apache Flex wiki have nice information on this. Please refer wiki. On 06-Jul-2017 5:17 AM, "allenyyang [via Apache Flex Development]" < ml+s2333347n62853...@n4.nabble.com> wrote: > 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] > <http:///user/SendEmail.jtp?type=node&node=62853&i=0>] > Sent: Wednesday, July 05, 2017 12:54 AM > To: [hidden email] <http:///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 start a new topic under Apache Flex Development, email > ml+s2333347n1...@n4.nabble.com > To unsubscribe from Apache Flex Development, click here > <http://apache-flex-development.2333347.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==> > . > 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> > -- 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-tp62698p62859.html Sent from the Apache Flex Development mailing list archive at Nabble.com.