B4J Question [BANano] Is there a way to refer to the HTML_NAME file, in another directory tree?

B4JExplorer

Active Member
Licensed User
Longtime User
Hi,

Can the HTML_NAME be set in another path, other than off the ..\Objects\<AppShortName> folder?

I tried specifying a direct path, as well as a relative path, but it just gets appended to the <ProjectFolder>\Objects\<AppShortName> folder, and therefore doesn't exist.
 

alwaysbusy

Expert
Licensed User
Longtime User
the HTML_NAME is just the name of the html file, by default it is "index.html", but you can change it to e.g. "myproj.html".

To change the place where it is build, you have to change the param in BAnano.Build() to another path.

Note that this is just where it builds the whole project. You can copy it wherever you want afterwards (e.g. to your webserver).
 
Upvote 0

B4JExplorer

Active Member
Licensed User
Longtime User
the HTML_NAME is just the name of the html file, by default it is "index.html", but you can change it to e.g. "myproj.html".

To change the place where it is build, you have to change the param in BAnano.Build() to another path.

Note that this is just where it builds the whole project. You can copy it wherever you want afterwards (e.g. to your webserver).

Yep, that worked, thanks.

Regards,
 
Upvote 0
Top