hi first of all i want to know what is the meaning of 'Repository' in project. Iam using eclipse and working on a javaj2ee project using struts, spring, hibernate, svn, and tomcat server in my office.
At home iam trying to setup the same envirnoment in my home laptop.
I have the copy of my project repository from office so that in my home laptop i want to find the new repository and replace it with my copied office's repository.
Where is the location of repository?
Thanks in advance.
Vinod Kumar Nair
"Any fool can write code that a computer can understan. Good programmers write code that humans can understand."
In short whenever you make changes to project data that changes are automatically reflected in common shared project which is used at team level and shared by all team members so other can know what changes done to main project data.
A "repository" is the source code control system's (SCCSs) location. We have no way of knowing where *your* repository is--but even if you have one, it's *not* the same one you have at work (unless you're using a distributed source control system, which is a different issue).
If you want to have a *local* repository, and accept that it's not the same one as your work repository, then set up and configure Subversion.
A repository in general is a central place where your artifacts (such as code) are stored. In your case this may be your source control system (CVS, SVN etc.) . If you are just trying to setup your project locally (not connected to any SVN repository) and have the complete code including the .project files, you can do this from Eclipse. Use the File-->Import-->General-->Existing Projects into Workspace option. This option looks for .project files. Good luck.
I have the copy of my project repository from office
Exactly what is it that you have? For a source control repository, this would often consist of database files (or for subversion, a directory tree and its files). And usually those things are on a server that you can't get at. To make use of that at home you would have to install the source control software and figure out how to get it to use the files you have instead of the files it will create during installation.
Or do you mean a Maven repository? If so, the default location for the Maven repository is at .m2/repository in your home directory. If you meant a maven repository you can copy the files you have there.
No, it's not a source repository--it's a Maven repository. When you try to build the project locally, Maven will "download the internet" to you have all the required dependencies locally, and that's it. In general you never need to, or want to, worry about it.