SVN Integration With Eclipse and CRX (CQ 5.6) - eclipse

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/

Related

subclipse Issue after switching to using SVNParentPath

I've had Subclipse set up and working correctly. Recently I needed to create a 2nd repository in SVN for another project in a separate Eclipse workspace. Up to this point my dav_svn.conf file was setup to only provide access to the first repository. So I created the new repository. Then I enabled the SVNParentPath and SVNListParentPath directives, did not change the <Location URL>, and verified that it was working ok by just using my web browser on the client PC and everything was great.
But when I tested it in Eclipse, if I use the SVN Repository Exploring view, Subclipse insists that the repository can't be found - none of the Team functions work. Nor will it list the other repository that should be available at that URL if I just try to create a new repository.
Do I need to relocate the repository via SVN Repository Exploring View? (despite the dire warnings) Or is there actually something wrong with Subclipse?
I'm using Eclipse 3.7.2 on Ubuntu 12.04, along with:
org.tigris.subversion.clientadapter.feature (1.8.6) "Subversion Client Adapter"
org.tigris.subversion.clientadapter.javahl.feature (1.7.10) "Subversion JavaHL"
org.tigris.subversion.clientadapter.svnkit.feature (1.7.9.2) "SVNKit Client Adapter"
org.tigris.subversion.subclipse (1.8.22) "SVN Team Provider Core"
org.tigris.subversion.subclipse.graph.feature (1.1.1) "Subversion Revision Graph"
the subversion repository is hosted on a Ubuntu server (10.04 LTS) and being served via Apache using the dav_svn 'plugin'.
Most likely the URL for the repository has changed, so yes you would need to take the Relocate option so that you can update the URL. Note that you have to give Subclipse the URL to one of your repositories, not to the parent path. No SVN client will accept the URL to the parent. So, for example, the URL needs to be:
http://server.com/svn/repos
not -
http://server.com/svn
I do not believe the message when you do Relocate is "dire" it is just letting you know what it is going to do.

Importing a project

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/

How to Create/Use SVN without internet to done work in Same Project without getting Crashed in iPhone Project development

I am using MACOS for Developing the iPhone Application.
I have made the repository in to some Public Site that gives Functionality to build the Repository in their server and after that we can use the project to work simultaneously. But it uses internet connection that's why it becomes to slow to update and modification.
I have multiple Computers and I want to Use One PC as a Server and want to Create the Repository there and after from another multiple Computer, I want to use the Same Project to be done simultaneously.
How can i done that settings or that kind repository ?
Please help me regarding this.
I will suggest you to use mercurial rather than subversion. so any one can commit locally and once the server is up, just push the changes.
SVN is a centralised and
hg is a distributed control version system
The main difference b/w
Subversion uses one main directory to store the versionned version and can deploy (export) a specific revision at anytime.
whereas
Mercurial repository holds both the current public version and all the history. You do not have to deploy anything anywhere, just update your current repo with data from one of the revision.
and when you are using hg you do not really need to wait your server up, you can commit locally and push your changes once server up :)
To know more about look at HERE
If you are using osx, chances are svn is already installed on the computer you want to use as a host. You can configure svn to work with apache and use your local machine as the svn host. The following link has the details for setting it up:
http://mark-kirby.co.uk/2008/how-to-set-up-and-use-subversion-svn-on-os-x-leopard/

Working with several repositories at the same time with Subversive in Eclipse

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.

Importing files from Subversion into an existing project

I am trying to import files from a SVN repository into an existing Eclipse project using Subclipse. Unfortunately, I can only find a way to create a new project from a repository. I know about Tortoise SVN, but it is so much easier to remember to add files when version control is imported into the IDE. Is this possible?
Eclipse doesn't seem to offer this functionality, but you can use another svn client to achieve this effect and then subversion will recognise that these files are under version control.
You may also want to check out how to check out the contents rather than the folder itself.