File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes eclipse, open a file outside a project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse, open a file outside a project" Watch "eclipse, open a file outside a project" New topic
Author

eclipse, open a file outside a project

william wu
Greenhorn

Joined: Sep 30, 2002
Posts: 2
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

Joined: Feb 22, 2001
Posts: 399
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

Joined: Feb 26, 2001
Posts: 4419
    
    5

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.


Junilu - [How to Ask Questions] [How to Answer Questions]
william wu
Greenhorn

Joined: Sep 30, 2002
Posts: 2
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

Joined: Jul 11, 2001
Posts: 14112
Don't know about a plugin, but it's on the project plan for version 2.1.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Rufus BugleWeed
Ranch Hand

Joined: Feb 22, 2002
Posts: 1551
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

Joined: Jul 11, 2001
Posts: 14112
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
 
subject: eclipse, open a file outside a project
 
Similar Threads
creating a jar for nokia sdk
eclipse
How to import a web project in eclipse?
Tomcat searching for files in a wrong path?
war file