abignore not working

3 posts, 0 answers
  1. mchehab
    mchehab avatar
    6 posts
    Member since:
    Mar 2014

    Posted 16 Feb 2015 Link to this post

    Hi,

    I have added this file as per the documentation .abignore  http://docs.telerik.com/platform/appbuilder/testing-your-app/abignore

    #The following rule excludes the grunt files and tasks
    gruntfile.js
    *.json

    however when i build the app to the cloud i can still see the grunt file and the package.json inside my apk file.

    Am I missing anything ?

  2. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 19 Feb 2015 Link to this post

    Hello Mohammad,

    First, I want to remark that .abignore is fully respected in AppBuilder command-line interface and the AppBuilder package for Sublime Text and only using these tools will affect the output package.

    I want to discuss the code you are using:
    #The following rule excludes the grunt files and tasks
    gruntfile.js
    *.json

    The first line gruntfile.js will only ignore this file in the root folder and the second will ignore all json files again in the root. Be sure that the path to the files is right in order to exclude them from the package.
    If you still have troubles to ignore files please attach your project to your private ticket with ID 907847 so we can take a look at it.

    Regards,
    Zdravko
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  3. mchehab
    mchehab avatar
    6 posts
    Member since:
    Mar 2014

    Posted 19 Feb 2015 in reply to Zdravko Link to this post

    I'm using the visual studio extension thus now I know that the abignore won't work. I have not tried with the cli tool but will try it soon.

    As for the directory structure your right I only want to ignore the gruntfile.js and the package.json or all json files living at the root directory.

    Thanks!
Back to Top