I ask myself if is there a way with Eclipse (I use PDT) to manage a local history for a non SVN project. I saw the local history work only on an svnsvn project.
Maybe there is an option or a plugin?
Thanks
Related
I am new to Subversion. I'm using TortoiseSVN as my client and VisualSVN as the server. I want to implement it with fellow programmers who are working with me. Some are using NetBeans as their IDE while others are using Eclipse. My PC is the server and they are the clients.
How do they import a project made by me and make changes to it? Using TortoiseSVN they were able to browse my project, but how they import it in their IDEs and make changes to it? Will I be able to view the changes instantaneously?
Using TortoiseSVN they were able to browse my project
That means they have the url of your SVN repo.
They can load that repo to any folder of their choice.
svn checkout http://url/to/your/repo/trunk/ trunk
Or (TortoiseSVN)
From there, they need to add subversive to their eclipse:
They can import an existing project from their SVN workspace.
Once imported, you can re-connect that Eclipse project to its SVN repo:
(right click on the project, Team > Share)
Enter the relevant SVN repo metadata:
Eclipse has a plugin called "Subclipse" and another called "Subversive". They can find and install those to work with their Subversion working copy directly in Eclipse. Netbeans likely has something similar.
Or, once they have a working copy checked out by TortoiseSVN, they can just import it without any special plugins into their IDE. They would use the IDE for development, and use TortoiseSVN to manage all the Subversion aspects outside of the IDE.
You won't see any changes "instantaneously". For you to see their changes, they will first need to "commit" their changes, and then you will need to "update" to see their changes.
Since you're asking a really basic question about using Subversion, I'd suggest reading or at least skimming through important sections in the SVN book: http://svnbook.red-bean.com/
I've managed to use FileVault with Eclipse Indigo to set up a local instance of my CRX. (Currently working with CQ 5.6) I would now like to set up an SVN server which maps my repository (currently a local folder, as I'm just testing how this works) to whatever I have checked out using the FileVault/Eclipse environment.
The goal is to have SVN to handle versioning etc on the local instance after which all final changes would be committed to CRX. Any idea on how to achieve this?
This and This help to some extent, but I'm still struggling with mapping SVN to whatever is checked out by FileVault.
Additionally, what would be the best SVN server to utilize in this case? Currently using VisualSVN Server Manager, but I did remember reading somewhere that repositories created this way would not be accessible through TortoiseSvn!
the thing to remember when adding a something checked out with filevault into svn is not to commit the .vlt files
Otherwise you can use any svn tool. i recommend http://tortoisesvn.net/ or if you want to do it from within eclipse check out subclipse http://subclipse.tigris.org/
I have VisualSVN, subclipse, eclipse indigo and tortoiseSVN setup on my laptop now. This is strictly for code on have on a local machine and SVN is setup as a localhost service instance so I have versioning for my personal development projects.
My question is, how should I be putting my projects into svn? I started doing imports through subclipse/eclipse into the repository, but do I still need tortoise now or does it even matter how I get the projects into svn? I did see that if the projects are already in eclipse it's not letting me do the import.
I'm able to submit my projects to a repository in SVN through eclipse without tortoise svn so it's not needed. To add a new project to the repository I right click on the project in eclipse and go to team and share project. Then to commit a project update to the repository I go to team and then commit. This has worked for me so far.
I would like to use two svn repositories. One is to synchronize with my production environment and the other is to synchronize with another developer. Is it possible using Subversive in Eclipse?
EDIT: Sorry! I meant SVN, not CVS
I think what you means is "For one given project, I would like to be able to synchronise on one side with the official repo and at the same time, use the synchronisation and merging facilities to stay i sync with another CVS repository".
Best of my knowledge, this is not possible from the same project. Neither with CVS nor with subversion nor with any other SCM. This is a little bit because all SCM plugins are actually plugged into the Team Management plugins of eclipse and has actually a lot to do with the fact that the relation between a dev environment and a repository is quite exclusive.
What you have to do if you want to synchronize on an exceptional basis is :
Disconnect from one repo (say CVS) (team disconnect). Do not delete the .cvs folders.
Reconnect to a second repo (say SVN - either subversive or subclipse <= my preferred one)
Synch with SVN
disconnect from SVN
reconnect with CVS (team => share).
This is too risky to be done on a regular basis.
Therefore there are other strategies
Use a "shadow project" in your workspace synchronised through a regular synchronisation tool. The master project being connected to the CVS repo and the shadow to VN.
Use git + SVN. git as your local repo backed by SVN. The other developer can use a similar approach.
All in all there are no simple "out of the box" solution. All these solutions require a significant amount of commitment to work flawlessly. But SCM has always been like this, I guess.
Subversive adds Subversion
integration for Eclipse (subversion
is a version control system similar
to CVS). It does not handle CVS
repositories!!!
To use CVS repositories with eclipse
you should use the appropriate CVS
Plugin for eclipse.
You may even use both eclipse plugins (subversive and the cvs plugin). They will work with Eclipse like a charm (but keep in mind that subversive only handles subversion repositories).
Yes its possible to use Subversive in Eclipse. I am using Subversion and CVS both through Eclipse and Tortoise. Subversion is much faster and seems to handle binary files better. The one thing to get your head around is that revision numbering is totally different between subversion and cvs. May be this can help you.
Hope this helps.
I am using svn tortoise to checkout a maven project from a repository, I then open eclispe, and use the m2eclipse plugin to import a maven project. The maven projeect comes in okay, and I can build it fine.
The problem is that eclipse using subversive, isn't marking files/ resources as being in source control (even though I seem to have all the relevant .svn directories.)
I get the same behaviour if I try and check the code in using
-> import -> check out Maven Projects from SCM. ie the project imports okay, but the files aren't linked in to teh svn repository in eclipse.
Are there any suggestions as to how I might proceed, as I find the tortoise svn checkin process pretty painful.
Did you set up your project for team sharing (right click on project->Team->Share project)? If I remember correctly that should detect the existing .svn folders an enables version control inside of eclipse.
You might wanna try using Subclipse. It's the Eclipse plug-in for Subversion and is really good. I've also found that interacting with a SVN repository with Tortoise while also having Eclipse open and accessing the same repository causes problems. You should avoid it if you can.
I would highly recommend making sure that you commit using tortoise svn as I've had particularly spotty consistency with subclipse. If you do you in/out with tortoise, and then just update with subclipse you should be fine.