| Newbie question re:/.classpath files [message #85539] | 
Mon, 30 June 2003 11:51   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: murtikins.hotmail.com 
 
Hi, 
 
I have a number of projects which I would like to start working on with 
Eclipse. 
 
I could go and create .project and .classpath for each one, but several 
projects are built with the same classpath. 
 
Is there any way of sharing a .classpath file between a number of projects? 
It would mean that I wouldn't have to worry about individually updating the 
classpath for each project when a new jar was required. 
 
Thanks for any assistance, 
 
Larry.
 |  
 |  
  | 
 | 
| Re: Newbie question re:/.classpath files [message #85904 is a reply to message #85539] | 
Mon, 30 June 2003 17:12   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: wegener.cboenospam.com 
 
Larry wrote: 
 
> Hi, 
 
> I have a number of projects which I would like to start working on with 
> Eclipse. 
 
> I could go and create .project and .classpath for each one, but several 
> projects are built with the same classpath. 
 
> Is there any way of sharing a .classpath file between a number of projects? 
> It would mean that I wouldn't have to worry about individually updating the 
> classpath for each project when a new jar was required. 
 
> Thanks for any assistance, 
 
> Larry. 
 
 
 
If you have a number of common libraries shared across all projects, you 
can create a separate project containing just these jar files.  Go to the 
Java Build Path->Export tab and select the jar files.  Now go and select 
this jar file project as a dependency on your other development projects. 
 
In the future, you just need to add new jar files to the jar project and 
make sure that they are exported
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.26065 seconds