Skip Xtext when no main sources are present
The XtextGenerate task ran even if the only inputs were .java files (which don't produce any outputs, but are just there for linking). This has been fixed, so for instance users can now use Xtend for tests only and the main generate task will be skipped instead of failing to find the Xtend compiler.