*
The moose likes IDEs, Version Control and other tools and the fly likes How to use files from different folder under same project in eclipse 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 "How to use files from different folder under same project in eclipse" Watch "How to use files from different folder under same project in eclipse" New topic
Author

How to use files from different folder under same project in eclipse

nirjari patel
Ranch Hand

Joined: Apr 23, 2009
Posts: 364
I have created different projects in eclipse. I have java classes which are (i) in different folders under same project - How can I import files in a source java class from class files in another folder ?
and (ii) in different folders under different project - How can I import files in a source java class from class files in another project ?

Can I set classpath in eclipse ? I tried looking under java build path, but did not find anything explicit about classpath. I checked help section also, but that was of not much help.

Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 3594
    
  14

You can rightclick on the project, go to Build path, and Configure build path. Then go to the projects tab and you can simply add the required project to the build path.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use files from different folder under same project in eclipse
 
Similar Threads
Eclipse not seeing updated JAR in tomcat\lib library at runtime
Eclipse: Way to merge multiple .classpath files?
Eclipse does not like it if a package exists in parallel directory structure..
eclipse import souce jar
stand alone class and the class path