Hi Piotr,
I followed your instructions and it worked.
Thank you very much!
Best,
Allen

-----Original Message-----
From: piotrz [mailto:piotrzarzyck...@gmail.com]
Sent: Sunday, July 02, 2017 5:46 PM
To: dev@flex.apache.org
Subject: RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

Hi Allen,

I've prepared HelloWorld [1] app for you which is building by Maven. You need 
to make following things before you build it (Windows user):

1) Install Maven [2]
2) In my example you have file "settings.xml" - This file is simply telling 
where maven should look for artifacts (swc) in order to build your project.
- Copy this file to: "c:\Users\{your user}\.m2\"
3) Open folder with project in VSCode and hit Ctrl + Shift + B or Go to folder 
where pom.xml file is and type in console "mvn clean install" - Thanks to 
VSCode you can debug your app (Try to hit F5 - Maven build app and launch it in 
debugger mode)

That's all and you have totally IDE agnostic build. Take a look into the 
pom.xml - As you can see I did comment Express and MaterialDesignLite - If you 
use some of the components from those modules you have to un-comment it.
This build produce only JS version of application - Line:

<targets>JSFlex</targets>

It would be good idea also change <groupId>org.apache</groupId> to maybe some 
related to you company for example.

[1] https://1drv.ms/u/s!ApVpLyjpHDC20GzswOaytmRVWHMo
[2] https://maven.apache.org/install.html#

Good Luck with farther FlexJS exploring :)

Piotr




-----
Apache Flex PMC
piotrzarzyck...@gmail.com
--
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-tp62698p62762.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.

Reply via email to