facebook

Generated HTML Paths

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #333302 Reply

    TNADEV
    Member

    Dear all,

    How can i get the correct paths generated from Mobione?

    Im adding custom Javascript resources “res/Code/…” and i want it to create paths in the html as below

    
        <script type="text/javascript" src="Login.js"></script>
        <script type="text/javascript" src="Login_custom.js"></script>
        <script type="text/javascript" src="res/jquery-1.8.2.min.js"></script>
        <script type="text/javascript" src="res/iscroll.js"></script>
        <script type="text/javascript" src="res/phoneui.js"></script>
        <script type="text/javascript" src="res/spinningwheel.js"></script>
        <script type="text/javascript" src="res/Code/Button_Funcs.js"></script>
        <script type="text/javascript" src="res/Code/Data_Loader.js"></script>
        <script type="text/javascript" src="res/Code/Local_Storage.js"></script>
    
    

    yet when i create the program it copies the three files into the root of the program and creates a new Html file like so, which means i have to hand edit it everytime….

    
        <script type="text/javascript" src="Login.js"></script>
        <script type="text/javascript" src="Login_custom.js"></script>
        <script type="text/javascript" src="res/jquery-1.8.2.min.js"></script>
        <script type="text/javascript" src="res/iscroll.js"></script>
        <script type="text/javascript" src="res/phoneui.js"></script>
        <script type="text/javascript" src="res/spinningwheel.js"></script>
        <script type="text/javascript" src="Button_Funcs.js"></script>
        <script type="text/javascript" src="Data_Loader.js"></script>
        <script type="text/javascript" src="Local_Storage.js"></script>
    

    Any way to make it respect my paths?

    Thanks

    #333322 Reply

    support-michael
    Keymaster

    @TNADEV

    I confirmed the issue you raise. This is the behavior of the code generator to copy all included resources to the <project>_www/ folder, regardless of if these resources already reside in under the www folder. I have opened an enhancement to discontinue copying resources that reside under the www folder and to use a relative path to them.

    #333360 Reply

    TNADEV
    Member

    Excellent – i look forward to getting that update.

    thanks for your help

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Generated HTML Paths

You must be logged in to post in the forum log in