I was on the verge of an unneeded refactoring to accommodate Eclipse when I found way to show the root files files in an Eclipse project. I thought I'd share the method used.
The solution is to import the files as links into one of the sub-projects -- I created a sub-project specifically for them. Import from the file system and push on the "Advanced >>" button to be able to specify the "Create links in workspace" option. Creating the link location relative to PROJECT_LOC works in a portable way. -David On Thu, Nov 11, 2010 at 4:32 PM, Jason Hatton <[email protected]> wrote: > That is a long standing 'issue'. Some people I know use the Navigation View > to get around that. You can also go to IntelliJ :). > > On Thu, Nov 11, 2010 at 5:37 AM, David Resnick <[email protected]> wrote: >> >> Does anyone else use Eclipse and have unreachable root project files? >> >> I find this a very annoying usability problem, I'd love to hear other >> people's solutions! >> >> -David >> >> On Sun, Oct 31, 2010 at 5:13 PM, David Resnick <[email protected]> wrote: >> > 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 >> >> > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
