Page 1 of 1

[Solved] Library SpiderBasic : Relatif path

Posted: Wed Jun 01, 2016 10:09 am
by falsam
When I export an application, the index.html file contains the absolute path of the library SpiderBasic instead of the relative path.

Example

Code: Select all

<script type="text/javascript" data-main="D:\SpiderBasic Project\FreeChat\sb/main.js" src="D:\SpiderBasic Project\FreeChat\sb/require.js"></script>
instead of

Code: Select all

<script type="text/javascript" data-main="sb/main.js" src="sb/require.js"
how to remedy?

Thanks for your help.

Re: Library SpiderBasic : Relatif path

Posted: Wed Jun 01, 2016 4:24 pm
by Fred
It should not, unless you specify and absolute path when building ? How do you export the project ?

Re: Library SpiderBasic : Relatif path

Posted: Wed Jun 01, 2016 10:11 pm
by falsam
Fred wrote:How do you export the project ?
Menu -> Compiler-> Export

I found my mistake! I set an absolute path instead of a relative path in the export parameters. :oops: