How can app file be treated as a file in Package Explorer for Mac OS X? Can I customize Package Explorer to treat a folder as a file?

Actually, I want to keep a .app file in my project as a file. But when I keep it in Eclipse, it is treated as folder.

Can I change this behavior of Eclipse for Project Explorer? Actually my .app is a file for Mac OS, so it should be treated as file only, which is unfortunately not.

Can I change it programmatically?

This is also posted on Stack Overflow. https://stackoverflow.com/questions/11035519/eclipse-how-can-app-file-be-treated-as-a-file-in-package-explorer-for-mac-os

Can anyone add an eclipse tag also here? I can't as I have less than 300 reputation.
You can't talk Eclipse into treating app bundles as files.

Mac apps are actually "bundles", which are special folders, not files. The Finder treats them as files, but anything that uses lower-level file system APIs will see a .app file as the folder it actually is. 

If you look at the appify script on Github, you can see that just making a few plain folders in a specific structure will cause the Finder to treat them as a file.