Search code examples
androidversion-controlignoreaccurev

AccuRev .acignore files being apparently, well, ignored


I'm trying to set up a basic .acignore file for Android projects. Unfortunately, it seems AccuRev appears to be ignoring the contents of that .acignore file.

I've placed the following:

.gitignore
.git/*    
/*/local.properties
/*/out
/*/*/build
/*/*/production
*.iws
*~
*.swp
workspace.xml
tasks.xml
.gradle/*

Into an .acignore file in PROJECT_FOLDER, as apparently .acignore files only apply to the folder in which they are located (i.e., not recursively.) Executing accurev stat -x results in a flood of files of the form:

./PROJECT_FOLDER/.gradle/stuff1
./PROJECT_FOLDER/.git/stuff2
./PROJECT_FOLDER/PROJECT_NAME/build/stuff3
./PROJECT_FOLDER/.idea/etc

In short, most of my rules are not working. What have I done wrong? FWIW, I'm running AccuRev 5.5.0d.


Solution

  • Add/change the following entries in your .acignore file.

    .git*

    .gradle

    PROJECT_NAME

    .idea

    This will resolve your files from appearing when running a stat -x.