This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

eclipse, open a file outside a project

 
william wu
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
One thing has been bugging me since I started using eclipse, that is I cannot find a way to a file outside project, could anyone tell me how?
Thanks,
William
 
John Dale
Ranch Hand
Posts: 399
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think there is a way open a file outside a project directory. However, each project can have a separate directory.
 
Junilu Lacar
Bartender
Pie
Posts: 6529
21
Java Linux Mac Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All resources have to be associated with a project. You can open an existing file by selecting File|Import... from the menu. Then select the File System import source.
 
william wu
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your replies, John and Junilu.
Sometimes it's convenient to open a file outside a project so that I don't have to fire up another editor.
I was looking for a plugin that allows me to browse file system, but didn't find any that works. You guys know any plugins like that? BTW, I am using eclipse 2.0.1(Build id: 200208291828).
Thanks a lot
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know about a plugin, but it's on the project plan for version 2.1.
 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have this same problem.
I want to browse a JAR in the JRE.
I am thinking of creating a project that starts at the root of my C:\ drive.
I can open or close this project at will.
What do you think?
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rufus BugleWeed:
I want to browse a JAR in the JRE.

Adding it to the Build Path of a Java project will give you the ability to browse it in the Package Explorer.

I am thinking of creating a project that starts at the root of my C:\ drive.
I can open or close this project at will.
What do you think?

Eclipse won't allow this unless it is the only project residing on C: - project directories are not allowed to contain directories of other projects.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic