[Solved] Library SpiderBasic : Relatif path

Just starting out? Need help? Post your questions and find answers here.
falsam
Posts: 286
Joined: Mon May 05, 2014 9:49 pm
Location: France
Contact:

[Solved] Library SpiderBasic : Relatif path

Post 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.
Last edited by falsam on Wed Jun 01, 2016 10:11 pm, edited 1 time in total.

➽ Windows 11 - jdk-11.0.2 - SB 3.00 - Android 15
https://falsam.com

Sorry for my poor english
Fred
Site Admin
Posts: 1821
Joined: Mon Feb 24, 2014 10:51 am

Re: Library SpiderBasic : Relatif path

Post by Fred »

It should not, unless you specify and absolute path when building ? How do you export the project ?
falsam
Posts: 286
Joined: Mon May 05, 2014 9:49 pm
Location: France
Contact:

Re: Library SpiderBasic : Relatif path

Post 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:

➽ Windows 11 - jdk-11.0.2 - SB 3.00 - Android 15
https://falsam.com

Sorry for my poor english
Post Reply