Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » project file?
project file? [message #238780] Thu, 25 October 2007 10:50 Go to next message
Eclipse User
Originally posted by: xdzgor.hotmail.com

Hi

I have created a java project in Eclipse on my machine - compiled, run etc.
How do I transfer this project to my colleague so he can work on it on his
computer?

I can of easily copy all the source files, but there does not seem to be a
"project file" which defines the java package structure and what-have-you
for the project.

I can find a ".project" and ".classpath" file, but these do not seem to be
what I am looking for.

It seems it is necessary for my colleague to manually create a "project"
himself, and add all the source files, libraries etc.

Thanks,
Peter
Re: project file? [message #238785 is a reply to message #238780] Thu, 25 October 2007 12:59 Go to previous messageGo to next message
Krzysztof Daniel is currently offline Krzysztof Daniel
Messages: 42
Registered: July 2009
Member
Hi Peter

For this you can use export/import project wizard. Right click on the
project, then export, go through wizard and give your coworker zip file.
He has to import it.

Regards,
Chris
Re: project file? [message #238814 is a reply to message #238780] Thu, 25 October 2007 14:46 Go to previous messageGo to next message
Eclipse User
Originally posted by: wegener.cboenospam.com

The .project and .classpath files are what define the project to Eclipse.
You need to get these to your colleague. If you plan on working on the
project together, I would suggest some form of source code managment
software (CVS or SVN). Add all the source for the project including the
..project and .classpath files to the tool.


"Peter K" <xdzgor@hotmail.com> wrote in message
news:ffpscr$pja$1@build.eclipse.org...
> Hi
>
> I have created a java project in Eclipse on my machine - compiled, run
etc.
> How do I transfer this project to my colleague so he can work on it on his
> computer?
>
> I can of easily copy all the source files, but there does not seem to be a
> "project file" which defines the java package structure and what-have-you
> for the project.
>
> I can find a ".project" and ".classpath" file, but these do not seem to be
> what I am looking for.
>
> It seems it is necessary for my colleague to manually create a "project"
> himself, and add all the source files, libraries etc.
>
> Thanks,
> Peter
Re: project file? [message #238829 is a reply to message #238814] Thu, 25 October 2007 16:23 Go to previous message
Eclipse User
Originally posted by: xdzgor.hotmail.com

"Dave Wegener" <wegener@cboenospam.com> wrote in
news:ffqa8f$rtv$1@build.eclipse.org:

> "Peter K" <xdzgor@hotmail.com> wrote in message
> news:ffpscr$pja$1@build.eclipse.org...
>> Hi
>>
>> I have created a java project in Eclipse on my machine - compiled,
>> run
> etc.
>> How do I transfer this project to my colleague so he can work on it
>> on his computer?
>>
>> I can of easily copy all the source files, but there does not seem to
>> be a "project file" which defines the java package structure and
>> what-have-you for the project.
>>
>> I can find a ".project" and ".classpath" file, but these do not seem
>> to be what I am looking for.
>>
>> It seems it is necessary for my colleague to manually create a
>> "project" himself, and add all the source files, libraries etc.

> The .project and .classpath files are what define the project to
> Eclipse. You need to get these to your colleague. If you plan on
> working on the project together, I would suggest some form of source
> code managment software (CVS or SVN). Add all the source for the
> project including the .project and .classpath files to the tool.

Hi - actually we do use SVN, and all the source, libs, .classpath &
..project files are checked in.

However, I have made some extensive changes to the project, and when my
colleague "updates" from SVN, these changes are not reflected in the
project he sees in Eclipse.

That is, the source files are there in the file-system, but as I have for
example changed package names, Eclipse refuses to load the files into its
editor.

I can see now that the .project and .classpath files do indeed seem to
define the project, so I'll see if I can identify the problem...

Thanks,
Peter
Previous Topic:Exporting Product
Next Topic:Configuration error
Goto Forum:
  


Current Time: Fri Sep 19 01:58:10 GMT 2014

Powered by FUDForum. Page generated in 0.02175 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software