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 Import Project question 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 Import Project question" Watch "Eclipse Import Project question" New topic
Author

Eclipse Import Project question

V Bose
Ranch Hand

Joined: Jul 10, 2003
Posts: 113
Suppose one already has a complicated project directory structure, How do you use the same set of source files inside Eclipse. Without having to copy source files to a new Workbench location ?
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
you can reference an external directory outside the workbench as a source or output directory.
That's what I always do, separating data from programs (they're always on different drives, sometimes different computers).


42
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Actually you don't even need to do this - the project doesn't need to reside in the workspace. You should be able to simply "import" the existing folder structure.


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
V Bose
Ranch Hand

Joined: Jul 10, 2003
Posts: 113
Doesn't that make a copy of the contents (preserving the directory structure) into the workbench directory rather than just using the imported files?
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by V Bose:
Doesn't that make a copy of the contents (preserving the directory structure) into the workbench directory rather than just using the imported files?

Yes - sorry, confused it with "import existing project into workspace"...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse Import Project question