How do you work on Gradle script files in Eclipse that are not in a
Java project?
build.gradle and settings.gradle which are in the root directory are
not in any Eclipse project generated by the eclipse Gradle plugin. The
same is true for various scripts in a gradle folder directly under the
root directory. In order to have access to these files in Eclipse I
create a generic Eclipse project that holds all files in the entire
project. This is not great (because it means that most files now exist
twice in Eclipse, once in the root project and once in its specific
sub-project), but it is workable.
My problem is that the project I'm working on is constantly changing,
meaning that I need to run "gradle eclipse" often. After I do this,
what I would like to do is import whatever projects are missing in my
workspace. Normally, it is easy to find them; I just need to import
existing projects from the root directory and anything missing can be
imported. But because of the root project I created, Eclipse doesn't
recurse in all directories and look for project files; it only allows
importing the root project. So I find myself constantly renaming my
root project file so that Eclipse won't find it and stop looking for
additional project files.
I'm wondering if anyone has found a better solution to this as I'm
getting a little sick of constantly going through this.
Thanks,
David
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email