Hi Allen,
I just look into your project and change it in order to give you starting
point. [1]
1) You was not able to properly build cause you didn't have some classes:
- SearchClass - You did add it but it was not enough
- ISearchable - It was missing I've added it as a mock up
2) I was not able to run build through VSCode: It constantly reported:
"Unknown compiler option: targets"
"targets": [
"JSFlex"
]
So in that case I've changed tasks.json in order to launch maven build
through VSCode - take a look into that file and still use VSCode.
3) I've changed pom.xml - cause you are working on project SampleSearchBox I
had to change:
<artifactId>SampleSearchBox</artifactId>
Point main class: <mainClass>SampleSearchBox.mxml</mainClass>
4) If you hit CTRL + SHIFT + B - You will run maven build (run:
target\javascript\bin\js-debug\index.html")
5) If you hit F5 - you will run Maven build + run application in debugging
mode in Chrome (launch.json allows you to do that)
6) If you would like to use some other module from FlexJS for example
express - go to pom.xml and add dependency :)
Let me know whether it is working for you.
[1] https://1drv.ms/u/s!ApVpLyjpHDC20RLgviwW9Uvdzva3
Thanks, Piotr
-----
Apache Flex PMC
[email protected]
--
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-tp62698p63054.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.