It seams that teamCity doesn't take care of the Excluded Folders defined in a IDEA project's module.
When building a project on TeamCity (build properties based on the IDEA project's files) I always get some compilation's errors that appears during compiling classes that are located on package not included in my project. In fact, these package are excluded from some Modules' Project. It compile in IDEA like a charm.
Any idea ?