Home » Community » Newbie corner » Can I use Javascript frameworks with Skylark?
Re: Can I use Javascript frameworks with Skylark? [message #38447 is a reply to message #38446] |
Mon, 17 December 2012 18:02   |
|
Skylark is always looking for the witz files on SkylarkApp::Config().path which is initialized to the value of Ini::path (which can be set in configuration file for your application). If not set, the default is to use UPP_ASSEMBLY__ environment variable if set or the executable directory. The path variable can contain multiple directories, separated by ';' (on POSIX you can also use ':' as divider).
If you test your application by running it from TheIDE, it sets UPP_ASSEMBLY__ to the directories where your packages reside, so you can refer to file "foo.js" in application "MyApp" simply as "MyApp/foo.js". If you run your application in some other way, or if you are deploying the application, you have to set the path in configuration file, or set the environment variable.
You can read more about the configuration options here. Also, all of the information above are present in the Skylark tutorial, you should definitely (re)read it 
Honza
|
|
|
Goto Forum:
Current Time: Sun Aug 24 15:08:54 CEST 2025
Total time taken to generate the page: 0.04847 seconds
|