Clean Project in Titanium Studio is grayed out.....

You must Login before you can answer or comment on any questions.

....on 2 of my 4 apps, including kitchensink. I have deployed and redeployed many times to both simulator and device on all 4 apps.

I've searched the Q&A and can't find any similar issues that have happened to anyone previously. Is there some sort of configuration file I need to inspect?

I know I'm going to feel silly when someone reminds me what needs to be done, but I'm ready to feel silly because I've been trying to figure this out for a while now.

My titanium build is 1.0.6.201110251616

Thanks in advance!

— asked 2 years ago by Darren Adams
1 Comment
  • also...2 of the 4 apps are not in the list after clicking Clean...

    And selecting Clean All Apps won't clean the same 2 apps. I have to go in and delete the build folders manually.

    — commented 2 years ago by Darren Adams

3 Answers

If the clean button is greyed out and you check the project properties and notice there are no builders then maybe adding the below to your .project file will resolve as it did for me

<buildSpec>
                <buildCommand>
                        <name>com.aptana.ide.core.unifiedBuilder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
                <buildCommand>
                        <name>com.appcelerator.titanium.core.builder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
        </buildSpec>

I deleted kitchensink and re-imported. That took care of it not showing up in the clean list. The other app that wasn't showing up is a homemade app I created. I deleted it and then re-created a new project with the same name. Prior to doing this, I preserved my app.js by moving it temporarily to another location. After creating the new project with the same name, I moved my original app.js that I copied to a another location, back in to my resources folder. If you don't do this moving of app.js, it gets overwritten. All other files are maintained even after the creation of the new project. It now shows up in the apps available for cleaning.

— answered 2 years ago by Darren Adams
answer permalink
1 Comment
  • THis is obviously a bug in titanium studio!! i have only 4 projects, and 1 is showing in my clean folder. Can you fix this, appcelerator guys?!

    — commented 1 year ago by Mendel Broekhuijsen

I've seen this behavior also. I have more than 30 projects in my workspace, but this only occurs with two or three of them. I have to manually clean build folder.

Note that on Clean list only open projects are visible, so ensure your projects are open.

— answered 2 years ago by Javier Rayon
answer permalink
1 Comment
  • Javier - I've made sure all 4 apps are "opened" and not just displayed. I wonder if I should try copying their respective workspaces somewhere else temporarily, deleting them, and then copy them back over. Or, exporting them, deleting them, and then importing them. This is interesting behavior. I'm trying to think of what might be common to the 2 apps to not show up in the Clean list if/when I want to "clean all".

    — commented 2 years ago by Darren Adams

Your Answer

Think you can help? Login to answer this question!