This is a migrated thread and some comments may be shown as answers.

abignore not working

2 Answers 80 Views
AppBuilder extension for Visual Studio
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
mchehab
Top achievements
Rank 1
mchehab asked on 16 Feb 2015, 10:55 AM
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 Answers, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 19 Feb 2015, 10:29 AM
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.

 
0
mchehab
Top achievements
Rank 1
answered on 19 Feb 2015, 01:06 PM
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!
Tags
AppBuilder extension for Visual Studio
Asked by
mchehab
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
mchehab
Top achievements
Rank 1
Share this question
or