The first one never happened to me before, but, if I had to work around that, I'd set it to compile with Ant and I would try to change the settings so that it wouldn't generate as files in the source folder. The error message may be somewhat ambiguous, but what it is trying to say is that it is trying to compile the generated file, but it finds it in the wrong location.
If the project doesn't have an explicit reference to a class, then it is considered a foreign file. More yet, it won't be compiled with the project, unless you are compiling with COMPC and you have that class mentioned in the configuration. Best. Oleg

