Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse in Source Control(Question inside)...
Eclipse in Source Control(Question inside)... [message #723077] Wed, 07 September 2011 15:01 Go to next message
nvrnight is currently offline nvrnightFriend
Messages: 2
Registered: September 2011
Junior Member
So I've started a project and have it in my Mercurial repository, also using Linux.

The question I have is, is there a list of files that are safe to ignore in source control?

I've got .metadata/.plugins/org.eclipse.core.resources/.history/* added to the ignore list right now with no problems. I basically want only the files necessary for eclipse to function properly across multiple computers in the repository.

Thanks

[Updated on: Wed, 07 September 2011 15:02]

Report message to a moderator

Re: Eclipse in Source Control... [message #723085 is a reply to message #723077] Wed, 07 September 2011 15:17 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 07-Sep-11 09:01, nvrnight wrote:
> So I've started a project and have it in my Mercurial repository, also
> using Linux.
>
> The question I have is, is there a list of files that are safe to ignore
> in source control?
>
> I've got .metadata/.plugins/org.eclipse.core.resources/.history/* added
> to the ignore list right now with no problems. I basically want only the
> files necessary for eclipse to function properly across multiple
> computers in the repository.
>
> Thanks

You don't want to version-control your workspace (and therefore
..metadata, etc.), but only your individual projects. (My opinion,
obviously.)

For the projects themselves, I can offer the musings on the page below
that I wrote for Git. What I say will apply for Mercurial too.

http://www.javahotchocolate.com/tutorials/git-eclipse.html
Re: Eclipse in Source Control... [message #723108 is a reply to message #723085] Wed, 07 September 2011 16:25 Go to previous messageGo to next message
nvrnight is currently offline nvrnightFriend
Messages: 2
Registered: September 2011
Junior Member
Thanks for the help. Yeah, my project is a PHP project, so my site's folder is my project. I didn't know how to make my workspace include the source of a folder somewhere else on the file system using import which is why I thought I was limited to having to put the workspace in source control. Now that I know this, I can just remove my workspace from the source control and be done with it. Smile

[Updated on: Wed, 07 September 2011 16:26]

Report message to a moderator

Re: Eclipse in Source Control... [message #723501 is a reply to message #723108] Thu, 08 September 2011 16:58 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
On 9/7/11 12:25 PM, nvrnight wrote:
> Thanks for the help. Yeah, my project is a PHP project, so my site
> folders in my project. I didn't know how to make my workspace include
> the source of a folder somewhere else on the file system using import
> which is why I thought I was limited to having to put the workspace in
> source control. Now that I know this, I can just remove my workspace
> from the source control and be done with it. :)

Doesn't Mercurial have a plugin for Eclipse? That would make it easy to
manage scm actions from within Eclipse.

Eric
Re: Eclipse in Source Control... [message #723506 is a reply to message #723108] Thu, 08 September 2011 16:58 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
On 9/7/11 12:25 PM, nvrnight wrote:
> Thanks for the help. Yeah, my project is a PHP project, so my site
> folders in my project. I didn't know how to make my workspace include
> the source of a folder somewhere else on the file system using import
> which is why I thought I was limited to having to put the workspace in
> source control. Now that I know this, I can just remove my workspace
> from the source control and be done with it. :)

Doesn't Mercurial have a plugin for Eclipse? That would make it easy to
manage scm actions from within Eclipse.

Eric
Previous Topic:(no subject)
Next Topic:MAC OS X setup
Goto Forum:
  


Current Time: Sun Aug 14 19:55:37 GMT 2022

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

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

Back to the top