Create Web App: Path-Question

Just starting out? Need help? Post your questions and find answers here.
User avatar
Peter
Posts: 1197
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Create Web App: Path-Question

Post by Peter »

Hello,

i don't know if i understood it correctly

for the first time i want to create a Web App in an Apache htdocs folder and have this configuration

Image

After creating the Web App (and calling localhost/ahh4/index.html) i get this:

Image

Am I doing something wrong?

Thanks in advance & Greetings ... Peter
JohnJohnsonSHERMAN
Posts: 14
Joined: Mon Oct 31, 2016 1:50 pm
Location: Somewhere in this world...
Contact:

Re: Create Web App: Path-Question

Post by JohnJohnsonSHERMAN »

Try to use relative "internet" paths in the Javascript and Spiderbasic librairies fields.

In your example, you should have something like this :

Javascript filename : aah4.js
Spiderbasic librairies path : SpiderBasic

If you want to precise another path, use "/" instead of "\". I dont know if hard paths like "D:/Programs/someting/else/..." works, even with "/"...

I had the same problem as you, and it works fine now (in htdocs, using Xampp).
"It's only by continuously trying that you can finally succeed."-The Shadoks

Note : This Sherman is 100% made in France, so his default language is French... Please ̶p̶a̶r̶d̶o̶n̶a̶t̶e̶ forgive him his English ̶m̶i̶s̶t̶a̶ï̶q̶u̶e̶s̶ mistakes
User avatar
Peter
Posts: 1197
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: Create Web App: Path-Question

Post by Peter »

Hello JohnJohnsonSHERMAN,

thanks for your fast reply! Now everything works like expected. :-)

Image

Greetings ... Peter
JohnJohnsonSHERMAN
Posts: 14
Joined: Mon Oct 31, 2016 1:50 pm
Location: Somewhere in this world...
Contact:

Re: Create Web App: Path-Question

Post by JohnJohnsonSHERMAN »

You're welcome ! :)
"It's only by continuously trying that you can finally succeed."-The Shadoks

Note : This Sherman is 100% made in France, so his default language is French... Please ̶p̶a̶r̶d̶o̶n̶a̶t̶e̶ forgive him his English ̶m̶i̶s̶t̶a̶ï̶q̶u̶e̶s̶ mistakes
User avatar
Peter
Posts: 1197
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: Create Web App: Path-Question

Post by Peter »

Me again ;-)

What about the resource-Directory?
SB-Help wrote:Resource directory
The path of the resource directory where all the app assets belongs to. It can be only one resource directory specified.
The whole directory will be automatically copied to the app root directory.
i have a resource-Folder containing a file but it's not copied to the app root directory:

Image

Tanks in advance & Greetings ... Peter
JohnJohnsonSHERMAN
Posts: 14
Joined: Mon Oct 31, 2016 1:50 pm
Location: Somewhere in this world...
Contact:

Re: Create Web App: Path-Question

Post by JohnJohnsonSHERMAN »

I dont have the Beta version, so it would be hard for me to help you in this case... :(
Could you try with "parent folder" path ("../")?
Example : if you've a 'wwwroot' folder containing a 'ressources' folder and your app's folder, the path should be "../ressources/"

I hope this will work, but I'm not able to test it myself.
PS : Try with "/" and "\" to see if it works with both slashs...

PS 2 : The parent folder alias "../" works in the Javascipt and the Spiderbasic Libs fields. Should be the same on the Ressources field. :)
"It's only by continuously trying that you can finally succeed."-The Shadoks

Note : This Sherman is 100% made in France, so his default language is French... Please ̶p̶a̶r̶d̶o̶n̶a̶t̶e̶ forgive him his English ̶m̶i̶s̶t̶a̶ï̶q̶u̶e̶s̶ mistakes
User avatar
Peter
Posts: 1197
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: Create Web App: Path-Question

Post by Peter »

Hello JohnJohnsonSHERMAN,

thanks for your reply!

unfortunately it doesn't work with or without front- or backslashes: The resources-folder and its content is not copied.

Sounds like a bug for me...

Greetings ... Peter
Fred
Site Admin
Posts: 1821
Joined: Mon Feb 24, 2014 10:51 am

Re: Create Web App: Path-Question

Post by Fred »

Copy resource dir should be fixed in 2.00 beta 7
Post Reply