Re Converting my project from Spark browser project to Royale JS only.

I have done some initial testing of my modules by making them into
individual Views, but can't get very far with this as I need to pass data
from one to the next. However they are built correctly and will run to some
extent.

I have now changed them to modules so that the original structure is
restored in order to make it all work together - 

 For each module in Main.mxml
js:UIModuleLoader moduleName="myModule" modulePath="??"

 And in the module
js:UIModule etc 

Relative to Main.mxml my modules are located at
com.mySiteName.myProjectName.folder1 and folder2.

I have tried various modulePaths, but the browser always reports -

Loading failed for the <script> with source
“entire_url_including_the_modulePath_I've_specified.|/|\MyModule__deps.js”.

The browser is correct, there are no files something__deps.js in the build.

I have tried every combination with dot notation, /, \, with and without
com.mySiteName in the path, but there is never any file in the build called
something__deps.js and none of the modules themselves are built to JS
either, although their mxml files are in the folder myProjectName in the
build.

What am I missing here?

Doug

Doug



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

Reply via email to