History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-12131
Type: Usability Problem Usability Problem
Status: Open Open
Assignee: Maxim Shafirov
Reporter: Eric Wuehler
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Excluded folders in the project tree produce error when running a "clean" ant target which deletes the excluded folder

Created: 27 Mar 07 08:26   Updated: 28 Mar 07 13:47
Component/s: Ant Integration, Project View

File Attachments: None
Image Attachments:

1. clean-error.jpg
(125 kb)

2. extra-build-folder.jpg
(261 kb)
Environment: Windows XP SP2, Java 6, Ant 1.6.5

Build: 6,148


 Description  « Hide
I have a number of folders that I have set in the project as "exclude". Using Ant, I run a "clean" target, which deletes these excluded folders. As seen in the uploaded images, for some reason it tries to cache data that is under this excluded folder and when the clean occurs, the error occurs.

The error is "Cannot copy [file from folder that clean deleted] to [My .IntelliJIdea60 folder ]. System cannot find the specified path." Which would be fine with me, because I excluded that folder in the project settings.

You'll notice also in the images, when I run my ant build target, it occasionally generates multiple "build" folders in the project view tree. The "build" folder is the specific folder I want excluded.

Also, after my "build" target completes, Idea parses all the stuff (javascript files, jsp files, java files, etc) that are now in the newly recreated build folder. I really don't want those files parsed, nor searchable - as I specifically flagged that folder as "exclude" in the project settings.

Thanks,

Eric



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.