| Advice wanted on sharing projects [message #237395] | 
Thu, 11 October 2007 17:11   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Up until now we have not been basing our projects on existing source.  
Recently we have started doing this so the .settings folder, .classpath,  
fbprefs, .project files, etc are checked into source control. We use  
perforce and not everyone has their client-spec set to root their source  
at the same place. 
 
So the problem is that when people try to create a project from existing  
sources, the paths in the .classpath, .projects, etc do not point to the  
same place. 
 
Is there some way to specify a root directory for things in your project  
so references to things like jar files is relative and not abolute? 
 
What best practices do people use when sharing code from source  
repositories?
 |  
 |  
  | 
 | 
 | 
 | 
 | 
 | 
| Re: Advice wanted on sharing projects [message #237596 is a reply to message #237549] | 
Sat, 13 October 2007 14:13   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Thanks, that seems to be confirmed by my colleages who are creating  
projects from existing sources (according to my new documentation) and  
delighted with how much better it is than the old way of keeping the  
classpath and .project files in the workspace. 
 
This forum needs some sort of system like Sun's dukes for awarding people  
who provide truely helpful answers. 
 
Thanks again. 
 
David Wegener wrote: 
 
> Class path and Link path variables are stored in the workspace.  The  
> ..project file only contains the variable name.  You have to define the  
> variable in the workspace for the link to be resolvable.
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.33817 seconds