carlosrovira commented on issue #453: module is not working .not prompt a 
module window
URL: https://github.com/apache/royale-asjs/issues/453#issuecomment-524948076
 
 
   Hi, I think the problem is in building since Apps with modules implies build 
two projects (the app and the module). In Royale we use to prepare builds for 
Maven and ANT build systems. In this case I only created and tested the Maven 
one. I tried to create an ANT file too but I'm not sure its working. others 
with more ANT knowledge should try it. For IDEs the same. VSCode and Moonshine 
probably will enhance eventually the module workflow to make it more easy.
   
   The maven pom.xml file is the one that makes the magic and after compile the 
module copy it to the main app target folder to make it available.
   
   So to make this work in VSCode (or from command line) you must use Maven 
build. So please try this:
   
   (Note that you need to have maven installed and ready to work and use latest 
knightly SDK)
   
   1.- In VSCode preset CMD+SHIFT+B and select "Build with Maven"
   
   That's all. Then you get the app build  in this path 
`/royale-asjs/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/MainJewelApp/target/javascript/bin`.
 here you'll get js-release and js-debug folders.
   
   Let me know if that work for you.
   
   Thanks
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to